What does “queue segment (1796152) as segment dura

2019-09-03 14:49发布

问题:

Recently I started getting user complaints while playing m3u8 videos. On everyone of those cases the symptoms are that the Chromecast sits there attempting to load the video and it never loads. On the Chromecast console I see this error for every single one of the videos the users have sent to me:

media_player.js:23 [ 11.182s] [cast.player.core.SegmentManager] 0: queue segment (1796152) as segment duration will go beyond buffer limit

What does that error mean? Also why is it happening all of the sudden? the users claim those same exact videos used to work just fine.

Thanks.

回答1:

The observed message, in general, may not necessarily point to an issue but in some cases it does, such as yours. Certain changes were made into MPL to help managing the memory on the cast device; that was mostly done to avoid running into memory issues for streams with very large segments, large enough that they could potentially cause issues if they were to be added to the buffer. In your particular case, your segments are sometimes larger than 20 seconds long and that had triggered the new logic. We are improving our logic to manage larger segments in a less aggressive manner and the fix for that will be in the next MPL release. Meanwhile, if you can, we suggest you shorten the length of your segments, which, in general, is recommended to be not more than 10 or at most 15 seconds.