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
live streaming from nginx does not work with latest version #1449
Comments
Is availabilityStartTime the same each time the manifest is refreshed? |
It is not the same every time From: David Evans [mailto:notifications@github.com] Is availabilityStartTime the same each time the manifest is refreshed? — This electronic message may contain proprietary and confidential |
I wonder if you are seeing the same as #1202. |
Also the following two lines in your manifest are incompatible with one another timeShiftBufferDepth="PT0H0M0.00S" You are telling the player that it can only request segments right at the live edge, and at the same time saying it should play back 10s from live. This is impossible. A timeShiftBufferDepth of 0 is never a good idea. I suggest relaxing this to something reasonable like 30s. Cheers Will From: gbarzilay notifications@github.com live streaming from the following mpd doesn't work with dash reference client version 2.1.1 the same mpd works with client version 2.0.0 type="dynamic" id="2" console log from reference player (no errors) Debug.js:108[9] [dash.js 2.2.0] MediaPlayer has been initialized Debug.js:108[9014] SegmentTimeline detected using calculated Live Edge Time — |
I think it is a different problem because with my mpd there are no requests for segments at all. And in the linked cases it is looping on the first seconds. From: David Evans [mailto:notifications@github.com] I wonder if you are seeing the same as #1202#1202. — This electronic message may contain proprietary and confidential |
Perhaps, but there's common illegal (according to the MPEG-DASH specification) behaviour between your issue and that. The player will not work properly while availabilityStartTime is changing. You should also follow @wilaw's advice, at least until you can get the stream working, at which point you may be able to tweak those values closer to what you intended. |
Thanks for the quick responses! From: David Evans [mailto:notifications@github.com] I think it is a different problem because with my mpd there are no requests for segments at all. And in the linked cases it is looping on the first seconds. Perhaps, but there's common illegal (according to the MPEG-DASH specification) behaviour between your issue and that. The player will not work properly while availabilityStartTime is changing. You should also follow @wilawhttps://github.com/wilaw's advice, at least until you can get the stream working, at which point you may be able to tweak those values closer to what you intended. — This electronic message may contain proprietary and confidential |
Hi, |
Your manifest has been mangled when it was pasted into the comment. Please can you either attach it as a test file or use triple backquotes ``` around it when you paste the text. |
|
I've managed to reproduce this issue with 2.1.1 and nightly. Whilst I do get some playback with 2.0.0, I would not that my test stream is playing one segment or so then looping. nginx.conf:
ffmpeg:
Where the source file was transcoded as
These aren't particularly optimal encodes for what I'm trying to do but I'd be interested in knowing exactly what you are running. |
sergey-dryabzhinsky/nginx-rtmp-module#138 It looks like the fork we recommend started varying its AST. I'll retry with this branch. |
So, works for me on Ubuntu with:
I also added the dash_playlist_length 10m; as I think the default is a little short. Closing as this is not a dash.js bug. |
live streaming from the following mpd doesn't work with dash reference client version 2.1.1
there is no request for segments, just repeated requests for the mpd
the same mpd works with client version 2.0.0
console log from reference player (no errors)
Debug.js:108[9] [dash.js 2.2.0] MediaPlayer has been initialized
Debug.js:108[24] EME detected on this user agent! (ProtectionModel_21Jan2015)
Debug.js:108[8983] Playback Initialized
Debug.js:108[9009] Parsing complete: ( xml2json: 2.08ms, objectiron: 1.40ms, total: 0.00348s)
Debug.js:108[9010] Manifest has been refreshed at Mon Jun 13 2016 16:33:21 GMT+0300 (Jerusalem Daylight Time)[1465824801.984]
Debug.js:108[9014] SegmentTimeline detected using calculated Live Edge Time
Debug.js:108[9018] MediaSource attached to element. Waiting on open...
Debug.js:108[9025] MediaSource is open!
Debug.js:108[9025] Duration successfully set to: 1.7976931348623157e+308
Debug.js:108[9026] Added 0 inline events
Debug.js:108[9026] No video data.
Debug.js:108[9027] audio codec: audio/mp4;codecs="mp4a.40.2"
Debug.js:108[9038] Schedule controller stopping for audio
Debug.js:108[9046] No text data.
Debug.js:108[9046] No fragmentedText data.
Debug.js:108[9046] No embeddedText data.
Debug.js:108[9046] No muxed data.
Debug.js:108[9048] Start Event Controller
Debug.js:108[9049] Native video element event: play
Debug.js:108[9050] Refresh manifest in 4.999 seconds.
The text was updated successfully, but these errors were encountered: