-
|
Hi. I’m writing a streaming player with support for adaptive HLS playback. Is there a correct way in symphonia to recreate the decoder on the fly, or is the only correct way to handle an HLS variant switch (variants within a master playlist can be encoded with different codecs) to probe again and get a new format reader? (I’m working with the 0.6-dev branch) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
If you know them ahead of time, you can manually instantiate format readers and decoders for specific formats and codecs. The readers and decoders are re-exported to |
Beta Was this translation helpful? Give feedback.
If you know them ahead of time, you can manually instantiate format readers and decoders for specific formats and codecs. The readers and decoders are re-exported to
symphonia::default::formatsandsymphonia::default::codecsrespectively. Probing is for convenience and/or if you don't know what the format the stream is.