Skip to content

HLS Live Streaming Issues with Wowza and Chrome #657

@theodortruffer

Description

@theodortruffer

Describe the bug

We are experiencing some strange behavior when playing a live stream from a Wowza server with the standalone paella player in Chrome: most of the time, the player doesn't load, meaning that the page is stuck with the loading icon. It does work on some tries though (maybe 10% of the tries, it really seems random).

What I found out so far:

  • the HLS JS seems to work: there are constantly outgoing requests to fetch the latest .m3u8 and .ts files, even though the player doesn't load
  • other live streams (I tried test streams from here: https://ottverse.com/free-hls-m3u8-test-urls/) are working fine, so it seems to be an issue with how the wowza server is delivering the stream
  • the problematic live stream works perfectly fine on the hls-js demo site (https://hls-js.netlify.app/demo/), so it shouldn't be an issue with the stream/hls-js
  • the problem doesn't occur with the opencast-paella-player
  • the problem doesn't occur on other browsers, like firefox
  • the browser console shows two (probably unrelated) warnings:
    • "failed to load SourceMap" - which should have no impact on functionality
    • "[Violation] Added non-passive event listener to a scroll-blocking event." - this also appears on successfull tries. I also managed to fix these violations in the code, but the problem remains
  • on successful tries, the next console log is 'HLS: quality level changed to 0'. on unsuccessful tries, there are no console logs at all
  • i used the standard config.json included in the standalone version (i only disabled timeMarksPlaybackCanvasPlugin to avoid an error)

To Reproduce

Unfortunately, I can't provide you with a working stream to test it, since the customer has to manually start the stream in a classroom. But here are some files that might help:
index.html (streaming url is changed):
index.txt

config.json
config_live.txt

playlist.m3u8 (as returned in the initial request to the wowza server)
playlist.txt

chunklist.m3u8 (example, as return in the successive requests to the wowza server)
chunklist.txt

Workaround (if any)

Environment Information

  • Browser: Chrome
  • Browser Version: 88.0.4324.96 (Official Build) (64-bit)
  • Paella version: 6.4.5

Additional context

Stuck in this state:
Selection_438

Browser console on failed try:
Selection_437

Browser console on successful try:
Selection_436

PS

I know this is not much to reproduce the problem, but I'm hoping that you maybe see the source of the problem from this information, or at least have some idea where to start looking. If you need more information, like some wowza configuration, please let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions