-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
We have been testing Shaka player with live streams of different, but rather large DVR windows. We notice a significantly increased CPU load with 1-4 hour window length. With 24 hours window length, Chrome becomes unresponsive in periods.
It looks like the CPU load increases proportionally with the DVR window length. Our testing is based on some private DASH streams, and unfortunately I can't share a manifest URL.
The 24 hours DVR window length will not be subject to real use cases. Still, we are concerned about the increased CPU load for live streams with 1 to 4 hours lengths, when attempted played on medium or low end hardware, and some special use cases with other concurrent CPU load. We also look into a workaround that might exacerbate the performance problem.
Some initial CPU profiling indicates that most CPU time is spent when updating the manifest. If I were going to guess, maybe the time codes for every segment in the timeline are re-computed every time the manifest is updated? If so, do you see a workaround or strategy that could be applied here?