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
Is there a way for frame readers or demuxers to accept data using a call like .decode(data) which returns the next packet? Or even better do a probe and instantiate the correct decoder from there. Spawning a new thread is not an option due to wasm environment.
The text was updated successfully, but these errors were encountered:
rhgndf
changed the title
Push interface for demuxers
Push interface for frame readers
Jun 16, 2023
The FormatReaders all assume blocking IO currently so it's not possible to push data into them. Likewise, probing also assumes blocking IO. So without a way to implement Read on your data source, those parts of Symphonia will likely not be possible for you to use.
You can, however, use the decoders independently of all this since they consume Packets. So, if there are other libraries which can do the demuxing for you, then Symphonia can do the decoding.
Is there a way for frame readers or demuxers to accept data using a call like
.decode(data)
which returns the next packet? Or even better do a probe and instantiate the correct decoder from there. Spawning a new thread is not an option due to wasm environment.The text was updated successfully, but these errors were encountered: