Open mahdidham opened 3 years ago
Hi Muhammad,
After I try to implement the code, the app seems works, but the meeting SDK (i am using Jitsi SDK btw) runs slowly and laggy.
You plugged several process together. I suggest that you investigate your architecture to realize which is the link responsible of your lag.
It could be Flutter Sound, but it could be also your natsService
, or even the encoding/decoding JSON data.
Your application seems very tough and interesting. Please share with us if you have some more informations.
Good luck Muhammad !
Another question is, does flutter_sound run on background? Or, how can is use this library in a background so the record process will not interfere the meeting itself?
Yes, Flutter Sound can run background. Several Flutter Sound users do that.
One of the possible problem is the amount of data that must be passed from the OS to Dart, and then re-encoding JSON, and then post this data.
Actually Flutter Sound can do Streaming only on raw PCM data. This is not very efficient. I would like to be able to encode the data on the flight, in the OS layer, before passing them to Flutter. Unfortunately I do not have much time to work on that, and actually there is not many developers working on Flutter Sound.
Hi Muhammad,
After I try to implement the code, the app seems works, but the meeting SDK (i am using Jitsi SDK btw) runs slowly and laggy.
You plugged several process together. I suggest that you investigate your architecture to realize which is the link responsible of your lag. It could be Flutter Sound, but it could be also your
natsService
, or even the encoding/decoding JSON data.Your application seems very tough and interesting. Please share with us if you have some more informations.
Good luck Muhammad !
Oh thanks!
Fyi, I send the data to API using NATS service, with this dart-nats library instead of REST.
I also assume that it may be one of that processes. I will try to isolate the JSON data, then I will inform you the progress.
Yes, Flutter Sound can run background. Several Flutter Sound users do that.
Is there any documentation on how to run flutter sound in background in this issue thread or repository? I still clueless how to implement it to run in background 😅
Ref [#547]
Registered in the Flutter Sound Project
Ref [#600]
This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.
need Help for :
Using the API together with jitsi SDK meeting
So I am using this library to record audio and streaming it to speech-to-text engine. After I try to implement the code, the app seems works, but the meeting SDK (i am using Jitsi SDK btw) runs slowly and laggy.
Here's a scratch to join a Jitsi meeting and start record the audio
Here's the class for recording, I am using mobx state
Another question is, does flutter_sound run on background? Or, how can is use this library in a background so the record process will not interfere the meeting itself?