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

AbandonRequestsRule causes an infinite loop to request a same m4s file. #1744

Closed
4 of 5 tasks
woshidhp opened this issue Jan 15, 2017 · 2 comments
Closed
4 of 5 tasks
Labels
More Information Required stale To be used by automatic issue staling and closing to indicate that this issue is about to be closed

Comments

@woshidhp
Copy link

woshidhp commented Jan 15, 2017

Environment
  • Link to playable MPD file:

  • Dash.js version: 2.4.0

  • Browser name/version: Chrome 54.0.2840

  • OS name/version: Win7

Steps to reproduce
  1. Please provide clear steps to reproduce your problem
    The testbed is an emulated LTE celluar network. The availiable badwidth between player and server is set to 1.244Mbits and suffers subtle stutters.
    The player is the dash-if-reference-player in the sample folder.
    Just load the MPD file and the bug will occur when AbandonRequestsRule fires.
  2. If the bug is intermittent, give a rough frequency if possible
    Every time.
Observed behaviour

Describe what the player is doing that is unexpected or undesired behaviour.
After the AbandonRequestsRule fires and asks to switch to quality to a lower version, the player keeps requesting a same m4s file and causes stalling.

Console output
Paste the contents of the browser console here.
You may need to enable debug logging in dash.js by calling player.getDebug().setLogToBrowserConsole(true) if you are using your own page.

[349930] Getting the request for video time : 378 
[349932] Index for video time 378 is 188 
[349933] SegmentTemplate: 376 / 596.362 
[349935] Getting the next request at index: 189 
[349935] SegmentTemplate: 378 / 596.362
[352295] Buffered Range for type: video : 296.48  -  346.68

[352309] Getting the request for video time : 380 
[352310] Index for video time 380 is 189 
[352311] SegmentTemplate: 378 / 596.362 
[352313] Getting the next request at index: 190 
[352316] SegmentTemplate: 380 / 596.362 
[352914] AbandonRequestsRule (  video frag id 190 ) is asking to abandon and switch to quality to  0  measured bandwidth was 476 
[352922] Init fragment finished loading saving to video's init cache 
[352924] Buffered Range for type: video : 296.48  -  346.68 

[352927] Getting the request for video time : 381 
[352927] Index for video time 381 is 190 
[354137] Buffered Range for type: video : 296.48  -  348.68 

[354152] Getting the request for video time : 348.682 
[354154] Index for video time 348.682 is 173 
[354156] SegmentTemplate: 346 / 596.362 
[354158] Getting the next request at index: 174 
[354159] SegmentTemplate: 348 / 596.362 
[354709] Buffered Range for type: video : 296.48  -  348.68

[354711] Executing ThroughputRules. http://192.168.168.200/dashbig/237k_175.m4s 
[354712] lastRequestThroughput is  1203673  lastRequestBytes is  73725  downloadTimeInMilliseconds is  490

[354723] Getting the request for video time : 348.68100000000004 
[354727] Index for video time 348.68100000000004 is 173 
[354728] SegmentTemplate: 346 / 596.362 
[354730] Getting the next request at index: 174 
[354731] SegmentTemplate: 348 / 596.362 
[354761] Buffered Range for type: video : 296.48  -  348.68

[354811] Executing ThroughputRules. http://192.168.168.200/dashbig/237k_175.m4s 
[354812] lastRequestThroughput is  196600000  lastRequestBytes is  73725  downloadTimeInMilliseconds is  3

[354818] Getting the request for video time : 348.727975 
[354828] Index for video time 348.727975 is 173 
[354830] SegmentTemplate: 346 / 596.362 
[354832] Getting the next request at index: 174 
[354833] SegmentTemplate: 348 / 596.362 
[354985] Buffered Range for type: video : 296.48  -  348.68 

[354987] Executing ThroughputRules. http://192.168.168.200/dashbig/237k_175.m4s 
[354988] lastRequestThroughput is  8547826  lastRequestBytes is  73725  

[354999] Getting the request for video time : 348.68100000000004 
[355000] Index for video time 348.68100000000004 is 173 
[355001] SegmentTemplate: 346 / 596.362 
[355004] Getting the next request at index: 174 
[355005] SegmentTemplate: 348 / 596.362 
[355029] Buffered Range for type: video : 296.48  -  348.68

[355032] Executing ThroughputRules. http://192.168.168.200/dashbig/237k_175.m4s 
[355033] lastRequestThroughput is  58980000  lastRequestBytes is  73725  downloadTimeInMilliseconds is  10

@stale
Copy link

stale bot commented Feb 26, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale To be used by automatic issue staling and closing to indicate that this issue is about to be closed label Feb 26, 2021
@stale
Copy link

stale bot commented Mar 5, 2021

This issue has been automatically closed because no further activity occurred. If you think this issue is still relevant please reopen it. Thank you for your contributions.

@stale stale bot closed this as completed Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
More Information Required stale To be used by automatic issue staling and closing to indicate that this issue is about to be closed
Projects
None yet
Development

No branches or pull requests

2 participants