Any known limitation to play video longer than 600 sec?
Created by: fgoeusse
After repetitively facing issues to play a 12mn video (H264 720p), it appears that the buffering stategy makes a difference to FAIL or SUCCEED in the attempt (tested on recent IE 11 or both Chrome revisions).
After a quick search, the code seems to indicate that for video longer than LONG_FORM_CONTENT_DURATION_THRESHOLD (600 sec), segments buffering can go up to +/-BUFFER_TIME_AT_TOP_QUALITY_LONG_FORM (300 sec).
However, in case not that many segments can be appended (QUOTA_EXCEEDED_ERROR_CODE returned to last append action), the criticalBufferLevel is revised to set a new/real constraint on the buffering time.
Using chrome on windows8 or linux, with the default "dash.xxx.js" and the behavior described above, the 12mn video is buffered up to +/- 200sec but segments buffering never restarts (the player stops after the same duration due to empty buffer).
Increasing LONG_FORM_CONTENT_DURATION_THRESHOLD (from default 600sec to a value longer than my video duration) so that BUFFER_TIME_AT_TOP_QUALITY applies (30sec rather than 300sec), the video can be played without any issue on both IE 11 and chrome.
Hence the following 2 questions:
- Would there be a known limitation dealing with the video duration that can be used today with "dash.js"?
- If not, to enable further investigations, would there be a "dash.js" reference test stream for video longer than LONG_FORM_CONTENT_DURATION_THRESHOLD (600 sec)?
Thanks!