diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-02 13:02:11 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-02 13:02:11 +0100 |
| commit | 853b63e543bbc72081c59d7e10d7c968178ce0ae (patch) | |
| tree | 384665cadca84d1fbb1e93f260078388dcfa27bb /src/mpris.rs | |
| parent | fix a bug where adding track using `now` when shuffle is on does not work as ... (diff) | |
| download | rsplayer-853b63e543bbc72081c59d7e10d7c968178ce0ae.tar.gz rsplayer-853b63e543bbc72081c59d7e10d7c968178ce0ae.zip | |
audio: http streaming, opus/mkv support and stream recovery
- read http(s) urls through a MediaSourceStream instead of failing
- register the libopus decoder and enable mkv/aac/isomp4 in symphonia
- resample to the device rate with linear interpolation
- rebuild the output stream when the backend dies instead of leaving
playback silent while the daemon still reports "Playing"
A dead pcm makes cpal call the error callback hundreds of thousands of
times per second, so errors are only counted there and reported once when
the stream is dropped. The first failure of a healthy stream is retried
immediately, consecutive failures back off, and a stream that played long
enough clears the failure budget.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
