Skip to content

Live HLS stream doesn't buffer and endlessly loads #779

Description

@FiadhMc

Using react-player for live streaming, but after an upgrade of the stream URLs, it is no longer working on our environments, though it is elsewhere. I'm importing FilePlayer directly and using a hls stream.

Current Behavior

Stream initially loads the first ~6 seconds but doesn't buffer. Once played time catches up with the initial 6 seconds that buffered, a spinner appears and the video never recovers.

Expected Behavior

Stream buffers and continues to play.

Steps to Reproduce

The stream URLs work everywhere except our environments. Content loads perfectly when testing URL through https://cookpete.com/react-player/ but when I pulled the react-player project and ran it locally, the above issue occurs there too.

Environment

  • Browser: Chrome - 79.0.3945.117, Firefox - 70.0.1, Safari - 13.0.4
  • Operating system: MacOS Mojave 10.14.6

Other Information

Console output of the errors I'm seeing:
Screen Shot 2020-01-16 at 8 32 00 AM

Since I see this issue when I run react-player locally but not on the online demo, do you know of any differences between your production build and local build that might account for my issues? Or have you come across any similar issues before?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions