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

Dash live streaming stops playing after a few seconds #256

Closed
amtins opened this issue Oct 11, 2018 · 20 comments · May be fixed by #1092
Closed

Dash live streaming stops playing after a few seconds #256

amtins opened this issue Oct 11, 2018 · 20 comments · May be fixed by #1092

Comments

@amtins
Copy link
Contributor

amtins commented Oct 11, 2018

Description

Dash live streaming stops playing after a few seconds

Sources

Livestreams url updated
https://srg2-accountdigitalinnovation-euwe.streaming.media.azure.net/3f17705e-954c-449f-b2f9-21786485668b/269fa71b-c34c-467a-ab3e-908cd37c640b.ism/manifest(format=mpd-time-csf)

https://wowzaec2demo.streamlock.net/live/bigbuckbunny/manifest_mpm4sav_mvtime.mpd

Steps to reproduce

Explain in detail the exact steps necessary to reproduce the issue.

  1. Open https://amtins.github.io/videojs-dash-live-streaming/
  2. Click play
  3. Wait until it stops

Results

Expected

Should works as videojs-contrib-dash

Livestreams url updated
Url to test : https://srg2-accountdigitalinnovation-euwe.streaming.media.azure.net/3f17705e-954c-449f-b2f9-21786485668b/269fa71b-c34c-467a-ab3e-908cd37c640b.ism/manifest(format=mpd-time-csf)

https://wowzaec2demo.streamlock.net/live/bigbuckbunny/manifest_mpm4sav_mvtime.mpd

Additional Information

The given stream is a live stream with DVR. The issue stays the same with or without DVR.

videojs-http-streaming version

videojs-http-streaming 1.2.6/1.5.0

videojs version

video.js 7.2.4/7.4.0

Browsers

All

Platforms

All

@welcome
Copy link

welcome bot commented Oct 11, 2018

👋 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.

@albertoronu
Copy link

albertoronu commented Nov 20, 2018

We're having the same issue. Our platform has been using video.js since version 6 to load Facebook DASH preview video and we can't make it work. Upgrading to latest version available v7.3.0. doesn't help neither.

Video plays for few seconds and then stops triggering the "waiting" event. Putting the same live video on other players that support DASH works though. Please provide some guidance ASAP.

We get same experience when using the demo: https://videojs.github.io/http-streaming/ with same DASH live stream coming from Facebook Live.

Source (probably won't be streaming by the time you check this): https://video-mad.xx.fbcdn.net/hvideo-prn1/v/r3COjF2eu3Nqx86Jkh7On/live-dash/dash-md/2286041034997006.mpd?lvp=1&_nc_rl=AfDzWSqYPAFV-620&oh=f5befcdbaef370154179ee54bea9f5f6&oe=5BF61574

Here's the log we're seeing when initialising and then having playing stalled after few seconds playing.

localhost-1542729701052.txt

@albertoronu
Copy link

albertoronu commented Nov 23, 2018

@gkatsev @heff could you provide some guidance here?

This is being urgent for our platform. We have been using videojs for the last year without issues but then DASH started having issues without doing any change, and updating to latest version of videojs 6.12.1 + dashjs 2.9.2 or upgrading to v 7.3.0 is not working at all.

Stream starts playing but then stops after few seconds and can't resume.

@bansalvks
Copy link

I am also facing some issues like
#260

@amtins
Copy link
Contributor Author

amtins commented Dec 5, 2018

I updated the ticket to the latest version of video.js. I also fixed the livestreams URL as the previous one is no longer available.

@Nachompiras
Copy link

Nachompiras commented Jan 30, 2019

Some fix for this bug?... I am also facing the same issue. :( videojs 7.4.1

@ldayananda
Copy link
Contributor

I also observed with reference streams:

Observed with latest version on 1.9.0 with Video.js 7.4.0 on https://videojs.github.io/http-streaming/.

I did not quite get enough time to pin down the cause of this, but it looks like the minimumUpdatePeriod re-requests the MPD and updates that reference but does not trigger any media playlist changes. The SegmentLoader then seems to either be looking at older data or trying to only request the last segment and bailing out. That said, I'm not 100% clear on why this is happening.

@Kogoruhn
Copy link

Same problem with dynamic .mpd file (videojs 7.4.1)
Manifest (1).txt

@SanatSharma
Copy link

Facing similar problems with videojs 7.6.6

@gkatsev
Copy link
Member

gkatsev commented Jan 8, 2020

We've updated our README with this as a known issue (https://github.com/videojs/http-streaming#dash-assets-with-time-interpolation-and-segmenttimelines-with-no-t), unfortunately, it will take a while before we are able to address this issue.

@michaelmassee
Copy link

Confirmed, waiting to be Fixed.

@skyVerr
Copy link

skyVerr commented Jun 18, 2020

Also having similar problem. Waiting for the fix.

@michaelmassee
Copy link

michaelmassee commented Jun 18, 2020

i switched to Clappr - > Shaka Player. Works Perfect

https://github.com/clappr/dash-shaka-playback

@mrvini
Copy link

mrvini commented Feb 8, 2021

are there any updates on this issue?

@gkatsev
Copy link
Member

gkatsev commented Feb 15, 2021

Not really. We still don't support stream with $Time$. We did have an issue we found with other live DASH that we're fixing here #1065.

@BucherTomas
Copy link

@gkatsev Does this issue concern truly live streams only? The comment https://github.com/videojs/http-streaming#dash-assets-with-time-interpolation-and-segmenttimelines-with-no-t does not say.

I've tried with a couple of VoD assets with latest video.js and they appear to be working just fine even though they fall into the same category by using SegmentTimeline, $Time$ template and d atttribute.

We're contemplating updating to video.js 7 with http streaming and we'd like to know if it's affecting VoD assets as well from your point of view. If not, it might be beneficial to update the comment in known issues.

@gkatsev
Copy link
Member

gkatsev commented Jul 1, 2021

We've generally seen VOD work fine, though, I haven't seen VOD using $Time$. Live DASH is definitely where most of our issues lie.

@gkatsev
Copy link
Member

gkatsev commented Dec 17, 2021

I believe #1231 fixes a lot of issues with Live DASH. Specifically, I can confirm that https://wowzaec2demo.streamlock.net/live/bigbuckbunny/manifest_mpm4sav_mvtime.mpd works now.
We'll have a new release of VHS and Video.js with it soon.

Also, I see that $Time$ is actually working now with #1231, but I think that's more incidental. It still logs lots of warnings in the console in when $Time$ is used.

@gkatsev
Copy link
Member

gkatsev commented Dec 20, 2021

I believe this is now fixed in the latest Video.js/VHS release of 7.18.0 for Video.js and 2.13.1 for VHS.

@amtins
Copy link
Contributor Author

amtins commented Jan 4, 2022

@gkatsev I think so too, I did a quick test and it seems to work like a charm, thank you that's awesome 🚀 👍
Release note v2.13.0

@amtins amtins closed this as completed Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.