shaka-project / shaka-player

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

trickPlay doesn't auto-cancel as specified #5944

Closed Wayne-Morgan closed 8 months ago

Wayne-Morgan commented 9 months 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?

N/A

What version of Shaka Player are you using? 4.4.2

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

Can you reproduce the issue with the latest code from main? Reproducible on demo

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

If custom app, can you reproduce the issue using our demo app? yes

What browser and OS are you using? Windows Chrome

For embedded devices (smart TVs, etc.), what model and firmware version are you using?

What are the manifest and license server URIs? Live DASH, e.g. https://storage.googleapis.com/shaka-live-assets/player-source.mpd https://livesim2.dashif.org/livesim2/utc_head/testpic_2s/Manifest.mpd

What configuration are you using? What is the output of player.getConfiguration()? Default on demo

What did you do? Play live dash pause or seek back a little from live edge set a trickPlay > 1 wait for playback to catch up to live

Seek back near the start of the seekable range set a trickPlay < 0 wait for playback to get to start of seekable range

What did you expect to happen? When trickplay gets to live edge, cancel the trickplay When trickplay gets to start of seekable range, cancel the trickplay as specified here

What actually happened? Upon getting close to the live edge, the player would buffer for a while then continue playing at the faster rate Upon getting close to the start of the seekable range, the player would seek forward, and then continue with the backward trickPlay Jumping forward 5.05700046767015 seconds to catch up with the seek range.

avelad commented 9 months ago

@Wayne-Morgan are you interested on send a PR to fix it? Thanks!

Wayne-Morgan commented 9 months ago

@Wayne-Morgan are you interested on send a PR to fix it? Thanks!

Hi @avelad. Sorry I don't think I have the time to investigate this right now.