You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I'm working on a Flutter project where I need to pass a MediaStream between different isolates. Since MediaStream and MediaStreamTrack are not primitive types and cannot be passed directly between isolates, I'm trying to find a way to pass an identifier (like a stream ID) and then retrieve the MediaStream using this ID in the main isolate.
Questions:
How can I properly fetch a MediaStream using its ID?
Are there any best practices or alternative methods for passing MediaStream between isolates or through method channels?
The text was updated successfully, but these errors were encountered:
Since there is no dart method of retrieving the MediaStream by ID, you may need to save the media stream id in your app and pass that saved variable into the different isolates.
It looks like it may also be possible to write a PR in the WebRTC plugin to get the userMedia by id as the plugin seems to cache the streams c++objective-cjava
Description:
I'm working on a Flutter project where I need to pass a MediaStream between different isolates. Since MediaStream and MediaStreamTrack are not primitive types and cannot be passed directly between isolates, I'm trying to find a way to pass an identifier (like a stream ID) and then retrieve the MediaStream using this ID in the main isolate.
Questions:
How can I properly fetch a MediaStream using its ID?
Are there any best practices or alternative methods for passing MediaStream between isolates or through method channels?
The text was updated successfully, but these errors were encountered: