shaka-project / shaka-player

JavaScript player library / DASH & HLS client / MSE-EME player
Apache License 2.0
6.93k stars 1.31k forks source link

Live content switching to VOD #6918

Open zubcoco opened 6 days ago

zubcoco commented 6 days ago

Hello,

We are a TV provider and we have LIVE content that can be transformed into VOD content.

In this case, the isLive method continues to return true even if the asset is transformed into VOD.

And in this case too, we don't receive the end event. We only receive a buffering event.

I've done the tests on the last shaka player version (4.9.10).

Have you an idea how to fix the bug and if it will be fixed in a future release ?

Thanks, Corentin

avelad commented 6 days ago

Please fill out the bug template so we can help you! https://github.com/shaka-project/shaka-player/issues/new/choose

The conversion of Live to Vod works, but not all providers do it in the same way, so we have to look at the specific case.

Thanks!

zubcoco commented 6 days ago

Have you read the FAQ and checked for duplicate open issues? Yes

If the problem is related to FairPlay, have you read the tutorial?

No

What version of Shaka Player are you using?

Latest, v4.9.10

Can you reproduce the issue with our latest release version? Yes

Can you reproduce the issue with the latest code from main? Yes

Are you using the demo app or your own custom app? Custom app

If custom app, can you reproduce the issue using our demo app? Yes I just try to play the asset on the demo app (https://shaka-player-demo.appspot.com/). And we the live stream is closed, the seekbar is always a live seekbar (without duration) and after a while I can see the loading indicator.

What browser and OS are you using? MacOS - Chrome

What are the manifest and license server URIs?

I'll send you 5 assets in the near futur.

What did you do?

Just playing and waiting the stream to close. At the end I don't receive the ended event, just a buffering event.

What did you expect to happen? Receive the ended event.

What actually happened?

I receive the buffering event.

Are you planning send a PR to fix it? No