Playback stalls when new metadata appear in ogg stream
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
People
(Reporter: retratserif, Unassigned)
References
Details
Comment 1•8 years ago
|
||
Comment 3•8 years ago
|
||
Updated•8 years ago
|
Comment 5•8 years ago
|
||
Updated•8 years ago
|
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
Updated•8 years ago
|
Updated•3 years ago
|
Comment 9•1 year ago
|
||
I have an Ogg Opus stream with metadata, and I observe with Firefox 127.0.1 (Linux), that the first song plays, then when it ends and metadata appears, Firefox keeps on reading the stream (HTML player shows pause symbol, not Play) but never resumes playing the next song. This happens when the stream link is directly opened from the address bar (player page appears), and when using the <audio> HMTL element.
I tried the same streams in Chromium, and they play fine. Same with VLC. mpv and other ffmpeg-based players expose ffmpeg’s "accumulating metadata" bug, but apart from that also play a continuous stream.
Here are two Ogg Opus streams for testing, both using Icecast as stream server:
- https://radio.niteradio.net/listen/niteradio/radio.opus (minimal metadata: artist, title, album)
- http://zeremy.serv00.net:8200/opus (more metadata fields)
You have to wait for a song ending before the issue occurs.
We can’t use a continuous stream because we need the metadata in players and for the MediaSession metadata. Opus has become an important codec due to its superior quality and low bandwidth. We shouldn’t neglect it, I’m sure its market share will increase.
Thanks in advance for checking and hopefully fixing!
Comment 10•1 year ago
|
||
I did some more testing, and
- Chrome
- Chromium
- Opera
- MS Edge
all played the "chained" Ogg Opus streams just fine, without interruptions or stalling after the first metadata change.
Comment 11•1 year ago
|
||
Sorry, had to replace the https://radio.niteradio.net/listen/niteradio/radio.opus stream with something that works, using a different encoder (ffmpeg).
Let me know if you still need a test stream.
Description
•