Playing a network track panicked in rodio 0.22's symphonia backend: "Seek errors should not occur during initialization". During init symphonia probes the container length; on a source with no known byte length it seeks from the end, and StreamDownload handles that in a way rodio turns into an `unreachable!`. This surfaced after the dependency bump from rodio 0.17 (with the old custom SymphoniaDecoder) to 0.22. Pass the stream's content length to the decoder via with_byte_len (the local-file path already did this), which lets symphonia skip the end-relative seek entirely. Verified against a real Tidal AAC/mp4 stream: the streamed decode now succeeds instead of panicking. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| examples | ||
| src | ||
| Cargo.toml | ||