Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio stream stalls after first segment in latest http-streaming but not legacy video-contrib-hls #1034

Closed
cazzerson opened this issue Dec 12, 2020 · 4 comments · Fixed by #1149

Comments

@cazzerson
Copy link

cazzerson commented Dec 12, 2020

Description

I'm working on an CloudFront-backed HLS A/V streaming player using video.js and are finding that while our video resources stream just fine, the audio resources stop playing (and is stuck on an infinite loading spinner) after the first (~7s) segment.

Interestingly, while I'm able to reproduce this on the newer RC demo, it works fine on the older video-contrib-hls demo.

It also works fine in video.js 7.9.7.

Sources

An example playlist URL is https://d171yf8pzr8938.cloudfront.net/12002_C0016_0001-playlist.m3u8.

Steps to reproduce

  1. Visit newer RC demo with example playlist loaded
  2. Press play
  3. Wait ~7 seconds and it should stop playing
  4. Visit older video-contrib-hls demo
  5. Load example playlist https://d171yf8pzr8938.cloudfront.net/12002_C0016_0001-playlist.m3u8
  6. Press play and it should continue to stream the content beyond the first ~7 seconds

Results

Expected

The player should stream the entire resource.

Error output

In our player, I'm seeing VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) No compatible source was found for this media. in the Chrome dev console, but I see the same behavior in the RC player without that error message in the console.

Additional Information

videojs-http-streaming version

videojs-http-streaming >=2.2.4

videojs version

video.js >=7.10.0

Browsers

  • Chrome 87
  • Firefox 83

Platforms

  • Reproduced on recent versions of macOS and Windows in multiple browsers

Other Plugins

  • n/a

Other JavaScript

  • n/a
@welcome
Copy link

welcome bot commented Dec 12, 2020

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.

@cazzerson
Copy link
Author

Just an update after working on this some more. The audio stream works in video.js 7.9.7, but not in >=7.10.0 (i.e. http-streaming >=2.2.3).

@brandonocasey
Copy link
Contributor

Just submitted a fix for this issue, would you mind if we hosted your content on our end for testing in the future?

@cazzerson
Copy link
Author

Thank you! Also just wanted to note that we talked about the test content on Slack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants