Closed jgbayser closed 3 months ago
A small precision about the context : the stream is split in multiple period to prepare for ad replacement. So we have about 10-30s periods grouped in 5min frames
We are trying to make the user experience as smooth as possible when playing a multi-period stream for ads replacement. While periods in manifests are expected to be adjacents one another and timeline to be continuous, gaps or overlap may happen in some real life cases. A major use case for multiperiod is for substitutions, such as ads replacements. One can understand it is up to the provisioning platform to avoid those. However, resilience of client side players to imperfect cases is what has enabled intermet streaming in the first place and opened new use cases. On large deployments, the ability to act on all components of the system may be limited, too.
Proposal #1 - Skip on gaps inside or between periods We have experienced player pauses when a manifest would have large gaps in it (between 3 and 6s). Cf following examples : We seek the following option to be available in Shaka Player: skip through time in case of gap between periods.
Proposal #2 - Automatic merge on multi period In our deployment use cases, we have found several cases with gaps and overlaps between periods coming from some equipments., while technically segments across periods follow each others. We seek the following option to be available in Shaka Player, disabled by default: merge adjacent periods when representation are identical (codec, origin, framerate...etc).
The behavior is unchanged with v4.9.2
Can you test if the problem still occurs with version 4.10.6? Thanks! We have added support to https://github.com/shaka-project/shaka-player/pull/6896 recently
Closing due to inactivity. If this is still an issue for you or if you have further questions, the OP can ask shaka-bot to reopen it by including @shaka-bot reopen
in a comment.
We have run some test with 4.10.7 and the issue is still reproduced
Have you read the FAQ and checked for duplicate open issues? YES
If the problem is related to FairPlay, have you read the tutorial? Not related to fairplay
What version of Shaka Player are you using? 4.7.11
Can you reproduce the issue with our latest release version? YES
Can you reproduce the issue with the latest code from
main
? Did not test thatAre you using the demo app or your own custom app? We are using our own custom application
If custom app, can you reproduce the issue using our demo app? Did not test that
What browser and OS are you using? Chromium 123.0.6312
For embedded devices (smart TVs, etc.), what model and firmware version are you using? Reproduced on all Tizen TV 2020, 2021, 2022
What are the manifest and license server URIs? URI sent MP
What configuration are you using? What is the output of
player.getConfiguration()
?What did you do? We are analysing endurance (12h) playback tests for Dash live multi-period streams on Tizen TVs
What did you expect to happen? We expect the performance to be equivalent to mono-period production streams
What actually happened? Stats and logs are showing multiple buffering and seeks after approximatively 4h of playback.
During our analysis we have found two specificities in the multi-period stream related to the slicing :
Please find attached and example of our MPD
151223_0047_1.mpd.zip