midori-browser / core

Midori Web Browser - a lightweight, fast and free web browser using WebKit and GTK+
https://www.midori-browser.org/
GNU Lesser General Public License v2.1
400 stars 67 forks source link

Audio stops playing after 5-30s #395

Open WhyNine opened 4 years ago

WhyNine commented 4 years ago

Midori v8.0 (on Raspbian Buster) does not play some radio stations correctly when using the audio tag. The following HTML snippet can be used to reproduce the problem:

<p>The Breeze</p> <audio controls src="https://stream.celador.co.uk/breeze-nglos-96.aac" preload="none"></audio>

<p>BBC Radio 4</p> <audio controls src="http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio4fm_mf_p#.mp3" preload="none"></audio>

`

Absolute 80s

` There are audio tags for 3 different UK radio stations. The Breeze plays for 5s then stops. BBC Radio 4 plays for 10-30s and then stops. Absolute radio plays longer but sometines eventually stops. These all work correctly in Chromium on the Pi and also on Firefox on a PC.
darkshram commented 4 years ago

I can confirm the same issue with Midori 9.0 on Linux Desktop. But it happens too with Epiphany, Surf and Ephemeral (all use Webkitgtk2 as backend). Streams work prefectly using gst123 or any other gstreamer frontend. So, it seems to be a Webkitgtk2 issue.