{"action":"created","issue":{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/661","labels_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/661/labels{/name}","comments_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/661/comments","events_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/661/events","html_url":"https://github.com/Dash-Industry-Forum/dash.js/issues/661","id":97018332,"number":661,"title":"dash.js doesn't work in case @timeShiftBufferDepth absent","user":{"login":"alexpokotilo","id":13482211,"avatar_url":"https://avatars.githubusercontent.com/u/13482211?v=3","gravatar_id":"","url":"https://api.github.com/users/alexpokotilo","html_url":"https://github.com/alexpokotilo","followers_url":"https://api.github.com/users/alexpokotilo/followers","following_url":"https://api.github.com/users/alexpokotilo/following{/other_user}","gists_url":"https://api.github.com/users/alexpokotilo/gists{/gist_id}","starred_url":"https://api.github.com/users/alexpokotilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexpokotilo/subscriptions","organizations_url":"https://api.github.com/users/alexpokotilo/orgs","repos_url":"https://api.github.com/users/alexpokotilo/repos","events_url":"https://api.github.com/users/alexpokotilo/events{/privacy}","received_events_url":"https://api.github.com/users/alexpokotilo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-07-24T10:04:45Z","updated_at":"2015-07-28T11:17:01Z","closed_at":null,"body":"According to the standard @timeShiftBufferDepth is optional.\r\nin console I see(last line looks most important)\r\n\r\nDebug.js:115 Playback initiated! \r\nDebug.js:115 Parsing complete: ( xml2json: 48ms, objectiron: 4ms, total: 0.052s) \r\nDebug.js:115 Manifest has been refreshed. \r\nDebug.js:115 Manifest has loaded. \r\nDebug.js:115 Local time:      Fri Jul 24 2015 20:03:58 GMT+1000 (VLAT) \r\nDebug.js:115 Server time:     Fri Jul 24 2015 20:03:58 GMT+1000 (VLAT) \r\nDebug.js:115 Difference (ms): -598 \r\nDebug.js:115 MediaSource is open! \r\nDebug.js:115 [object Event] \r\nDebug.js:115 Duration successfully set to: 1.7976931348623157e+308 \r\nDebug.js:115 Added 0 inline events \r\nDebug.js:115 video codec: video/mp4;codecs=\"avc1.42c01e\" \r\nDebug.js:115 [video] stop \r\nDebug.js:115 No audio data. \r\nDebug.js:115 No text data. \r\nDebug.js:115 No fragmentedText data. \r\nDebug.js:115 [video] Getting the request for time: 84.167 \r\nDebug.js:115 [video] Index for time 84.167 is -1 \r\nScheduleController.js:357 Uncaught TypeError: Cannot read property 'startTime' of null\r\n\r\nmanifest example\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<MPD xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n     xmlns=\"urn:mpeg:dash:schema:mpd:2011\"\r\n     xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n     xsi:schemaLocation=\"urn:mpeg:DASH:schema:MPD:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd\"\r\n     profiles=\"urn:mpeg:dash:profile:isoff-live:2011\"\r\n     type=\"dynamic\"\r\n     minimumUpdatePeriod=\"PT10.793S\" \r\n     availabilityStartTime=\"2015-07-24T02:07:25Z\"\r\n     minBufferTime=\"PT6.0S\">\r\n\r\n<Location>http://127.0.0.1:8081/live/stream/manifest.mpd?nimblesessionid=22</Location><Period id=\"0\" start=\"PT0.0S\"><AdaptationSet id=\"0\" segmentAlignment=\"true\" startWithSAP=\"1\"><Representation id=\"a_1437704236\" mimeType=\"audio/mp4\" codecs=\"mp4a.40.2\" audioSamplingRate=\"48000\" bandwidth=\"100515\"><AudioChannelConfiguration schemeIdUri=\"urn:mpeg:dash:23003:3:audio_channel_configuration:2011\" value=\"2\"/><SegmentTemplate timescale=\"1000\" media=\"a_1437704236_$Time$.m4s?nimblesessionid=22\" initialization=\"i_1437704236.m4s?nimblesessionid=22\"><SegmentTimeline><S t=\"162005\" d=\"5995\"/><S d=\"6016\"/><S d=\"5995\"/><S d=\"5994\"/></SegmentTimeline></SegmentTemplate></Representation></AdaptationSet></Period></MPD>\r\n\r\nonce I add      timeShiftBufferDepth with any values it starts working\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/comments/125563234","html_url":"https://github.com/Dash-Industry-Forum/dash.js/issues/661#issuecomment-125563234","issue_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/661","id":125563234,"user":{"login":"bbcrddave","id":5390145,"avatar_url":"https://avatars.githubusercontent.com/u/5390145?v=3","gravatar_id":"","url":"https://api.github.com/users/bbcrddave","html_url":"https://github.com/bbcrddave","followers_url":"https://api.github.com/users/bbcrddave/followers","following_url":"https://api.github.com/users/bbcrddave/following{/other_user}","gists_url":"https://api.github.com/users/bbcrddave/gists{/gist_id}","starred_url":"https://api.github.com/users/bbcrddave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbcrddave/subscriptions","organizations_url":"https://api.github.com/users/bbcrddave/orgs","repos_url":"https://api.github.com/users/bbcrddave/repos","events_url":"https://api.github.com/users/bbcrddave/events{/privacy}","received_events_url":"https://api.github.com/users/bbcrddave/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T11:17:01Z","updated_at":"2015-07-28T11:17:01Z","body":"Sorry, no. I meant the second thing you said - that the player seems to assume that the segmentDuration of the first segment in the timeline is the duration of all segments. That appears to be a bug to me. Perhaps best to open a new issue with more specific details?\r\n\r\n> I really cannot get why player cannot check if delay is to big so starttime is negative and just set delay to lower value.\r\n\r\nAgreed. I have submitted a PR to ensure starttime is never negative but it is has not been merged yet (#652)\r\n\r\nLink to fixed issue: #627. UTCTiming isn't mandatory - your server may legitimately choose not to insert. The bug was that the player attempted to synchronise anyway, even when that was not appropriate.\r\n\r\nThere is a nightly dev player hosted at http://vm2.dashif.org/dash.js/samples/dash-if-reference-player/index.html"}}