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

2.6.0: Video does not load if specifying start time near a segment boundary #2192

Closed
matthew-mahony opened this issue Sep 27, 2017 · 7 comments · Fixed by #2194
Closed

2.6.0: Video does not load if specifying start time near a segment boundary #2192

matthew-mahony opened this issue Sep 27, 2017 · 7 comments · Fixed by #2194
Assignees
Labels

Comments

@matthew-mahony
Copy link

Environment
Steps to reproduce
  1. In Dash player 2.6.0, load the mpd http://dash.edgesuite.net/dash264/TestCases/1a/sony/SNE_DASH_SD_CASE1A_REVISED.mpd#s=6. Note the "#s=6" parameter, to start the video at 6 seconds.
Observed behaviour

The player doesn't load correctly. In Dash 2.5.0, the video will load at 6 seconds and start playing. I believe 6 seconds is near a segment boundary. (On a local video, I have this problem at 2 seconds with a video fragmented every 2 seconds).

Console output

Debug.js:127 [18] No supported version of EME detected on this user agent! - Attempts to play encrypted content will fail!
Debug.js:127 [28] [dash.js 2.6.0] MediaPlayer has been initialized
Debug.js:127 [5752] Playback Initialized
Debug.js:127 [5773] Parsing complete: ( xml2json: 6.06ms, objectiron: 0.925ms, total: 0.00698s)
Debug.js:127 [5781] MediaSource attached to element. Waiting on open...
Debug.js:127 [5782] Manifest has been refreshed at Wed Sep 27 2017 11:29:55 GMT-0400 (Eastern Daylight Time)[1506526195.351]
Debug.js:127 [5789] MediaSource is open!
Debug.js:127 [5790] Duration successfully set to: 597
Debug.js:127 [5792] Added 0 inline events
Debug.js:127 [5793] video codec: video/mp4;codecs="avc1.4D401E"
Debug.js:127 [5801] Schedule controller stopping for video
Debug.js:127 [5803] Last saved bitrate for video was 510437
Debug.js:127 [5804] Start searching for initialization.
Debug.js:127 [5805] Perform init search: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track4.m4v
Debug.js:127 [5806] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track4.m4v
Debug.js:127 [5806] Start searching for initialization.
Debug.js:127 [5806] Perform init search: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track3.m4v
Debug.js:127 [5807] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track3.m4v
Debug.js:127 [5808] Start searching for initialization.
Debug.js:127 [5808] Perform init search: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track2.m4v
Debug.js:127 [5809] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track2.m4v
Debug.js:127 [5809] Start searching for initialization.
Debug.js:127 [5810] Perform init search: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track1.m4v
Debug.js:127 [5811] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track1.m4v
Debug.js:127 [5811] audio codec: audio/mp4;codecs="mp4a.40.5"
Debug.js:127 [5814] Schedule controller stopping for audio
Debug.js:127 [5816] Start searching for initialization.
Debug.js:127 [5817] Perform init search: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [5818] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [5819] No text data.
Debug.js:127 [5819] No fragmentedText data.
Debug.js:127 [5820] No embeddedText data.
Debug.js:127 [5820] No muxed data.
Debug.js:127 [5822] Start Event Controller
Debug.js:127 [5822] Native video element event: play
Debug.js:127 [5831] Searching for initialization.
Debug.js:127 [5832] Found the initialization. Range: 0-758
Debug.js:127 [5835] Initiate multiple SIDX load.
Debug.js:127 [5836] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track4.m4v
Debug.js:127 [5837] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track4.m4v
Debug.js:127 [5838] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track4.m4v
Debug.js:127 [5839] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track4.m4v
Debug.js:127 [5839] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track4.m4v
Debug.js:127 [5841] Searching for initialization.
Debug.js:127 [5842] Found the initialization. Range: 0-758
Debug.js:127 [5843] Initiate multiple SIDX load.
Debug.js:127 [5843] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track3.m4v
Debug.js:127 [5844] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track3.m4v
Debug.js:127 [5845] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track3.m4v
Debug.js:127 [5845] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track3.m4v
Debug.js:127 [5847] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track3.m4v
Debug.js:127 [5849] Searching for initialization.
Debug.js:127 [5849] Found the initialization. Range: 0-758
Debug.js:127 [5851] Searching for initialization.
Debug.js:127 [5851] Found the initialization. Range: 0-758
Debug.js:127 [5852] Initiate multiple SIDX load.
Debug.js:127 [5853] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track2.m4v
Debug.js:127 [5854] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track2.m4v
Debug.js:127 [5855] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track2.m4v
Debug.js:127 [5856] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track2.m4v
Debug.js:127 [5857] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track2.m4v
Debug.js:127 [5859] Initiate multiple SIDX load.
Debug.js:127 [5860] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track1.m4v
Debug.js:127 [5860] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track1.m4v
Debug.js:127 [5861] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track1.m4v
Debug.js:127 [5863] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track1.m4v
Debug.js:127 [5865] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track1.m4v
Debug.js:127 [5874] Parsing segments from SIDX.
Debug.js:127 [5879] Parsing segments from SIDX.
Debug.js:127 [5883] Parsing segments from SIDX.
Debug.js:127 [5885] Parsing segments from SIDX.
Debug.js:127 [5887] Parsing segments from SIDX.
Debug.js:127 [5890] Parsing segments from SIDX.
Debug.js:127 [5891] Parsing segments from SIDX.
Debug.js:127 [5892] Parsing segments from SIDX.
Debug.js:127 [5893] Parsing segments from SIDX.
Debug.js:127 [5895] Parsing segments from SIDX.
Debug.js:127 [5896] Parsing segments from SIDX.
Debug.js:127 [5897] Parsing segments from SIDX.
Debug.js:127 [5899] Parsing segments from SIDX.
Debug.js:127 [5900] Parsing segments from SIDX.
Debug.js:127 [5901] Parsing segments from SIDX.
Debug.js:127 [5902] Parsing segments from SIDX.
Debug.js:127 [5904] Parsing segments from SIDX.
Debug.js:127 [5905] Parsing segments from SIDX.
Debug.js:127 [5907] Parsing segments from SIDX.
Debug.js:127 [5908] Parsing segments from SIDX.
Debug.js:127 [5909] AbrController (video) switch from 0 to 3/3 (buffer: 0)
undefined
Debug.js:127 [5941] Searching for initialization.
Debug.js:127 [5941] Found the initialization. Range: 0-625
Debug.js:127 [5942] Initiate multiple SIDX load.
Debug.js:127 [5942] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [5943] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [5944] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [5945] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [5945] Perform SIDX load: http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [5948] Parsing segments from SIDX.
Debug.js:127 [5950] Parsing segments from SIDX.
Debug.js:127 [5951] Parsing segments from SIDX.
Debug.js:127 [5952] Parsing segments from SIDX.
Debug.js:127 [5953] Parsing segments from SIDX.
Debug.js:127 [5958] Schedule controller starting for video
Debug.js:127 [5958] Schedule controller starting for audio
Debug.js:127 [5960] Top qualityvideo index has changed from undefined to 3
Debug.js:127 [5962] AbrController (video) stay on 3/3 (buffer: 0)
Debug.js:127 [5963] ScheduleController - getNextFragment
Debug.js:127 [5963] ScheduleController - quality has changed, get init request
Debug.js:127 [5966] Top qualityaudio index has changed from undefined to 0
Debug.js:127 [5967] AbrController (audio) stay on 0/0 (buffer: 0)
Debug.js:127 [5967] ScheduleController - getNextFragment
Debug.js:127 [5968] ScheduleController - quality has changed, get init request
Debug.js:127 [5971] Init fragment finished loading saving to video's init cache
Debug.js:127 [5973] Init fragment finished loading saving to audio's init cache
Debug.js:127 [5976] Native video element event: loadedmetadata
Debug.js:127 [5977] AbrController (video) stay on 3/3 (buffer: 0)
Debug.js:127 [5977] ScheduleController - getNextFragment
Debug.js:127 [5978] Getting the request for video time : 6
Debug.js:127 [5978] BaseURL: 0.04170833333333333 / 597
Debug.js:127 [5979] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track1.m4v
Debug.js:127 [5980] AbrController (audio) stay on 0/0 (buffer: 0)
Debug.js:127 [5981] ScheduleController - getNextFragment
Debug.js:127 [5981] Getting the request for audio time : 6
Debug.js:127 [5981] Index for audio time 6 is 1
Debug.js:127 [5982] BaseURL: 3.029333333333333 / 597
Debug.js:127 [5982] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [5992] Buffered Range for type: audio : 3.029333 - 6.058666
Debug.js:127 [5994] AbrController (audio) stay on 0/0 (buffer: 0.059)
Debug.js:127 [5996] ScheduleController - getNextFragment
Debug.js:127 [5997] Getting the request for audio time : 6.058666666666666
Debug.js:127 [5998] Index for audio time 6.058666666666666 is 1
Debug.js:127 [5998] BaseURL: 3.029333333333333 / 597
Debug.js:127 [5999] Getting the next request at index: 2
Debug.js:127 [5999] BaseURL: 6.058666666666666 / 597
Debug.js:127 [5999] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [6009] Buffered Range for type: audio : 3.029333 - 9.087999
Debug.js:127 [6010] Got enough buffer to start.
Debug.js:127 [6012] Buffered Range for type: video : 0 - 4.963291
Debug.js:127 [6015] AbrController (video) stay on 3/3 (buffer: 0)
Debug.js:127 [6016] ScheduleController - getNextFragment
Debug.js:127 [6016] Getting the request for video time : 5.005
Debug.js:127 [6017] BaseURL: 0.04170833333333333 / 597
Debug.js:127 [6017] Getting the next request at index: 1
Debug.js:127 [6018] BaseURL: 5.005 / 597
Debug.js:127 [6018] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track1.m4v
Debug.js:127 [6036] Buffered Range for type: video : 0 - 9.926583
Debug.js:127 [6037] Got enough buffer to start.
Debug.js:127 [6039] ThroughputRule requesting switch to index: 3 type: video Average throughput 613294 kbps
Debug.js:127 [6039] AbrController (video) stay on 3/3 (buffer: 3.927)
Debug.js:127 [6040] ScheduleController - getNextFragment
Debug.js:127 [6040] Getting the request for video time : 9.968291666666666
Debug.js:127 [6040] Index for video time 9.968291666666666 is 1
Debug.js:127 [6040] BaseURL: 5.005 / 597
Debug.js:127 [6041] Getting the next request at index: 2
Debug.js:127 [6041] BaseURL: 9.968291666666667 / 597
Debug.js:127 [6041] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track1.m4v
Debug.js:127 [6060] Buffered Range for type: video : 0 - 14.889874
Debug.js:127 [6063] ThroughputRule requesting switch to index: 3 type: video Average throughput 645287 kbps
Debug.js:127 [6064] AbrController (video) stay on 3/3 (buffer: 8.89)
Debug.js:127 [6064] ScheduleController - getNextFragment
Debug.js:127 [6064] Getting the request for video time : 14.931583333333334
Debug.js:127 [6064] Index for video time 14.931583333333334 is 2
Debug.js:127 [6065] BaseURL: 9.968291666666667 / 597
Debug.js:127 [6065] Getting the next request at index: 3
Debug.js:127 [6065] BaseURL: 14.931583333333334 / 597
Debug.js:127 [6066] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track1.m4v
Debug.js:127 [6078] Buffered Range for type: video : 0 - 19.853166
Debug.js:127 [6080] ThroughputRule requesting switch to index: 3 type: video Average throughput 742928 kbps
Debug.js:127 [6080] AbrController (video) stay on 3/3 (buffer: 13.853)
Debug.js:127 [6080] ScheduleController - getNextFragment
Debug.js:127 [6081] Getting the request for video time : 19.894875
Debug.js:127 [6081] Index for video time 19.894875 is 3
Debug.js:127 [6081] BaseURL: 14.931583333333334 / 597
Debug.js:127 [6081] Getting the next request at index: 4
Debug.js:127 [6082] BaseURL: 19.894875 / 597
Debug.js:127 [6082] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track1.m4v
Debug.js:127 [6093] Buffered Range for type: video : 0 - 24.816458
Debug.js:127 [6096] ThroughputRule requesting switch to index: 3 type: video Average throughput 930806 kbps
Debug.js:127 [6097] AbrController (video) stay on 3/3 (buffer: 18.816)
Debug.js:127 [6097] ScheduleController - getNextFragment
Debug.js:127 [6097] Getting the request for video time : 24.858166666666666
Debug.js:127 [6097] Index for video time 24.858166666666666 is 4
Debug.js:127 [6098] BaseURL: 19.894875 / 597
Debug.js:127 [6098] Getting the next request at index: 5
Debug.js:127 [6098] BaseURL: 24.858166666666666 / 597
Debug.js:127 [6099] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track1.m4v
Debug.js:127 [6112] Buffered Range for type: video : 0 - 29.779749
Debug.js:127 [6113] AbrController (video) switching from throughput to buffer occupancy ABR rule (buffer: 23.780).
Debug.js:127 [6116] AbrController (video) stay on 3/3 (buffer: 23.78)
Debug.js:127 [6116] ScheduleController - getNextFragment
Debug.js:127 [6117] Getting the request for video time : 29.821458333333332
Debug.js:127 [6117] Index for video time 29.821458333333332 is 5
Debug.js:127 [6117] BaseURL: 24.858166666666666 / 597
Debug.js:127 [6117] Getting the next request at index: 6
Debug.js:127 [6118] BaseURL: 29.821458333333332 / 597
Debug.js:127 [6118] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track1.m4v
Debug.js:127 [6151] Buffered Range for type: video : 0 - 34.743041
Debug.js:127 [6153] AbrController (video) stay on 3/3 (buffer: 28.743)
Debug.js:127 [6153] ScheduleController - getNextFragment
Debug.js:127 [6153] Getting the request for video time : 34.78475
Debug.js:127 [6153] Index for video time 34.78475 is 6
Debug.js:127 [6154] BaseURL: 29.821458333333332 / 597
Debug.js:127 [6154] Getting the next request at index: 7
Debug.js:127 [6154] BaseURL: 34.78475 / 597
Debug.js:127 [6155] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodvideo_Track1.m4v
Debug.js:127 [6182] Buffered Range for type: video : 0 - 39.706333
Debug.js:127 [6512] ThroughputRule requesting switch to index: 0 type: audio Average throughput 22022 kbps
Debug.js:127 [6513] AbrController (audio) stay on 0/0 (buffer: 3.088)
Debug.js:127 [6513] ScheduleController - getNextFragment
Debug.js:127 [6514] Getting the request for audio time : 9.088
Debug.js:127 [6514] Index for audio time 9.088 is 2
Debug.js:127 [6514] BaseURL: 6.058666666666666 / 597
Debug.js:127 [6515] Getting the next request at index: 3
Debug.js:127 [6515] BaseURL: 9.088 / 597
Debug.js:127 [6516] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [6522] Buffered Range for type: audio : 3.029333 - 12.117332
Debug.js:127 [6524] ThroughputRule requesting switch to index: 0 type: audio Average throughput 22022 kbps
Debug.js:127 [6524] AbrController (audio) stay on 0/0 (buffer: 6.117)
Debug.js:127 [6525] ScheduleController - getNextFragment
Debug.js:127 [6525] Getting the request for audio time : 12.117333333333333
Debug.js:127 [6525] Index for audio time 12.117333333333333 is 3
Debug.js:127 [6525] BaseURL: 9.088 / 597
Debug.js:127 [6526] Getting the next request at index: 4
Debug.js:127 [6526] BaseURL: 12.117333333333333 / 597
Debug.js:127 [6526] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [6532] Buffered Range for type: audio : 3.029333 - 15.146666
Debug.js:127 [6534] ThroughputRule requesting switch to index: 0 type: audio Average throughput 22022 kbps
Debug.js:127 [6535] AbrController (audio) stay on 0/0 (buffer: 9.147)
Debug.js:127 [6535] ScheduleController - getNextFragment
Debug.js:127 [6535] Getting the request for audio time : 15.146666666666667
Debug.js:127 [6535] Index for audio time 15.146666666666667 is 4
Debug.js:127 [6536] BaseURL: 12.117333333333333 / 597
Debug.js:127 [6536] Getting the next request at index: 5
Debug.js:127 [6536] BaseURL: 15.146666666666667 / 597
Debug.js:127 [6537] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [6544] Buffered Range for type: audio : 3.029333 - 18.175999
Debug.js:127 [6546] ThroughputRule requesting switch to index: 0 type: audio Average throughput 24347 kbps
Debug.js:127 [6547] AbrController (audio) stay on 0/0 (buffer: 12.176)
Debug.js:127 [6547] ScheduleController - getNextFragment
Debug.js:127 [6547] Getting the request for audio time : 18.176
Debug.js:127 [6547] Index for audio time 18.176 is 5
Debug.js:127 [6547] BaseURL: 15.146666666666667 / 597
Debug.js:127 [6548] Getting the next request at index: 6
Debug.js:127 [6548] BaseURL: 18.176 / 597
Debug.js:127 [6549] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [6554] Buffered Range for type: audio : 3.029333 - 21.205332
Debug.js:127 [6556] ThroughputRule requesting switch to index: 0 type: audio Average throughput 24347 kbps
Debug.js:127 [6556] AbrController (audio) stay on 0/0 (buffer: 15.205)
Debug.js:127 [6557] ScheduleController - getNextFragment
Debug.js:127 [6557] Getting the request for audio time : 21.205333333333332
Debug.js:127 [6557] Index for audio time 21.205333333333332 is 6
Debug.js:127 [6557] BaseURL: 18.176 / 597
Debug.js:127 [6558] Getting the next request at index: 7
Debug.js:127 [6558] BaseURL: 21.205333333333332 / 597
Debug.js:127 [6558] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [6565] Buffered Range for type: audio : 3.029333 - 24.234666
Debug.js:127 [6567] ThroughputRule requesting switch to index: 0 type: audio Average throughput 26904 kbps
Debug.js:127 [6567] AbrController (audio) stay on 0/0 (buffer: 18.235)
Debug.js:127 [6567] ScheduleController - getNextFragment
Debug.js:127 [6568] Getting the request for audio time : 24.234666666666666
Debug.js:127 [6568] Index for audio time 24.234666666666666 is 7
Debug.js:127 [6568] BaseURL: 21.205333333333332 / 597
Debug.js:127 [6568] Getting the next request at index: 8
Debug.js:127 [6568] BaseURL: 24.234666666666666 / 597
Debug.js:127 [6569] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [6573] Buffered Range for type: audio : 3.029333 - 27.263999
Debug.js:127 [6573] AbrController (audio) switching from throughput to buffer occupancy ABR rule (buffer: 21.264).
Debug.js:127 [6576] BOLA ABR rule invoked for media type 'audio' with only one bitrate.
Debug.js:127 [6576] AbrController (audio) stay on 0/0 (buffer: 21.264)
Debug.js:127 [6576] ScheduleController - getNextFragment
Debug.js:127 [6577] Getting the request for audio time : 27.264
Debug.js:127 [6577] Index for audio time 27.264 is 8
Debug.js:127 [6577] BaseURL: 24.234666666666666 / 597
Debug.js:127 [6577] Getting the next request at index: 9
Debug.js:127 [6577] BaseURL: 27.264 / 597
Debug.js:127 [6578] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [6583] Buffered Range for type: audio : 3.029333 - 30.293332
Debug.js:127 [6585] BOLA ABR rule invoked for media type 'audio' with only one bitrate.
Debug.js:127 [6585] AbrController (audio) stay on 0/0 (buffer: 24.293)
Debug.js:127 [6585] ScheduleController - getNextFragment
Debug.js:127 [6586] Getting the request for audio time : 30.293333333333333
Debug.js:127 [6586] Index for audio time 30.293333333333333 is 9
Debug.js:127 [6586] BaseURL: 27.264 / 597
Debug.js:127 [6586] Getting the next request at index: 10
Debug.js:127 [6586] BaseURL: 30.293333333333333 / 597
Debug.js:127 [6587] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [6592] Buffered Range for type: audio : 3.029333 - 33.322666
Debug.js:127 [6594] BOLA ABR rule invoked for media type 'audio' with only one bitrate.
Debug.js:127 [6594] AbrController (audio) stay on 0/0 (buffer: 27.323)
Debug.js:127 [6594] ScheduleController - getNextFragment
Debug.js:127 [6595] Getting the request for audio time : 33.32266666666666
Debug.js:127 [6595] Index for audio time 33.32266666666666 is 10
Debug.js:127 [6595] BaseURL: 30.293333333333333 / 597
Debug.js:127 [6595] Getting the next request at index: 11
Debug.js:127 [6596] BaseURL: 33.32266666666667 / 597
Debug.js:127 [6596] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [6601] Buffered Range for type: audio : 3.029333 - 36.351999
Debug.js:127 [6603] BOLA ABR rule invoked for media type 'audio' with only one bitrate.
Debug.js:127 [6603] AbrController (audio) stay on 0/0 (buffer: 30.352)
Debug.js:127 [6603] ScheduleController - getNextFragment
Debug.js:127 [6604] Getting the request for audio time : 36.352000000000004
Debug.js:127 [6604] Index for audio time 36.352000000000004 is 11
Debug.js:127 [6604] BaseURL: 33.32266666666667 / 597
Debug.js:127 [6605] Getting the next request at index: 12
Debug.js:127 [6605] BaseURL: 36.352 / 597
Debug.js:127 [6605] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [6611] Buffered Range for type: audio : 3.029333 - 39.381332
Debug.js:127 [6613] BOLA ABR rule invoked for media type 'audio' with only one bitrate.
Debug.js:127 [6615] AbrController (audio) stay on 0/0 (buffer: 33.381)
Debug.js:127 [6615] ScheduleController - getNextFragment
Debug.js:127 [6616] Getting the request for audio time : 39.38133333333333
Debug.js:127 [6616] Index for audio time 39.38133333333333 is 12
Debug.js:127 [6616] BaseURL: 36.352 / 597
Debug.js:127 [6617] Getting the next request at index: 13
Debug.js:127 [6617] BaseURL: 39.38133333333333 / 597
Debug.js:127 [6617] ScheduleController - getNextFragment - request is http://dash.edgesuite.net/dash264/TestCases/1a/sony/DASH_vodaudio_Track5.m4a
Debug.js:127 [6622] Buffered Range for type: audio : 3.029333 - 42.410666

@nicosang nicosang added the Bug label Sep 27, 2017
@nicosang
Copy link
Contributor

Hi @matthew-mahony ,

you're right, I can reproduce the issue...in the function onBytesAppended of PlaybackController more precisely. A new PR will be created to fix it.

Nico

@matthew-mahony
Copy link
Author

I tried your change locally. The video now loads, but not at the specified time. It seems it loads at the beginning of whatever segment the specified time falls into. If I specify 2s, the video loads at 0s. If I specify 4s, it loads around 2s. (My video has 2s segments).

@nicosang nicosang reopened this Sep 28, 2017
@epiclabsDASH
Copy link
Contributor

epiclabsDASH commented Sep 28, 2017

Reopening. It is a different issue but seems to come from the same set of previous changes.

@nicosang
Copy link
Contributor

Hi @matthew-mahony,

could you, please, test the new PR #2194 ?

Thanks,
Nico

@epiclabsDASH
Copy link
Contributor

epiclabsDASH commented Sep 28, 2017

Seems to be fine. I tested the change with smoke test files, played a lot with them and everything worked fine.

@matthew-mahony, please, feel free to close this issue once you confirm it is working fine for you.

Thanks

@matthew-mahony
Copy link
Author

This works how I expect now, thanks!

@dpieri
Copy link
Contributor

dpieri commented Dec 8, 2017

I think this bug still exists for videos without an audio track. See my comment here for more detail:

#2194 (review)

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

Successfully merging a pull request may close this issue.

4 participants