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

Still image, fragment files not being loaded. #31

Closed
a-konst opened this issue Oct 27, 2014 · 8 comments
Closed

Still image, fragment files not being loaded. #31

a-konst opened this issue Oct 27, 2014 · 8 comments

Comments

@a-konst
Copy link

a-konst commented Oct 27, 2014

The setup: ffmpeg (h264) -> rtmp -> nginx-rtmp -> (HLS | DASH). The video is playing fine in Chrome and IE11 using dash.js, but rarely plays in dashas player. Rarely = once in a while after unknown number of restarts/browser refreshes it will stream OK, but most of the time there is either a still image or it only plays the first fragment - almost like some kind of timing issue. My MPD - http://71.195.249.184:3106/dash/webcam.mpd (the stream is most of the time on, sometimes not - macbook goes to sleep - sorry, cheapo setup).

When the stream is playing OK in Chrome, I can see (in developer console, network requests) how it keeps refreshing manifest and periodically loads new fragments. With dashas - it keeps refreshing the manifest, but I don't see it load new fragments after the init/first one.

@tomasz-oponowicz
Copy link
Contributor

Thanks for your feedback. I'll try to reproduce it...

@tomasz-oponowicz
Copy link
Contributor

I can't access your MPD file. Is there a chance to publish it again?

@tomasz-oponowicz
Copy link
Contributor

Ahh.. let me know when your MacBook is awake ;)

@a-konst
Copy link
Author

a-konst commented Oct 30, 2014

It's on!

@tomasz-oponowicz
Copy link
Contributor

Looking into it.

@tomasz-oponowicz
Copy link
Contributor

I was able to reproduce issue. I fixed a root cause. Please let me know if fix works for you so that I can close the ticket.

@a-konst
Copy link
Author

a-konst commented Oct 31, 2014

Working much better! Thanks a lot! The only "inconvenience" issue left is - looks like it consistently does not retrieve the first fragment after MPD is updated first time and says it's there (or should be there). Then it's stuck in "buffering" and then retrieves the fragment when MPD is updated again and smooth sailing after. See the screenshot from firefox below. Everything still plays, just consistent start -> play(first fragment) -> buffer -> play(continuously, smooth sailing).

Let me know if want me to close this issue and above is a different issue.

screen shot 2014-10-31 at 11 21 48

@tomasz-oponowicz
Copy link
Contributor

Let's close this issue and create new one.

@a-konst a-konst closed this as completed Nov 3, 2014
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

No branches or pull requests

2 participants