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
Due to wrapping a Box<dyn MediaSource> instead of Box<dyn MediaSource + Send>, MediaSourceStream is not safe to send across thread boundaries. Is this intentional?
The text was updated successfully, but these errors were encountered:
Symphonia was initially just a project for me to learn Rust, so multi-threading was not something I was thinking about. The original design was actually pretty hostile to multi-threading, but it is better suited to it now.
I believe it would be advantageous if MediaSourceStream, FormatReaders, and Decoders can all be moved between threads, though I haven't considered all the implications.
Due to wrapping a
Box<dyn MediaSource>
instead ofBox<dyn MediaSource + Send>
, MediaSourceStream is not safe to send across thread boundaries. Is this intentional?The text was updated successfully, but these errors were encountered: