Closed difosfor closed 5 years ago
Hi @difosfor. Thanks for the fix! Unless there is any inconvenient, I always prefer creator of the fix to send the PR (you get the credits of the work you really did). Sending the Feedback Agreement shouldn't take too much time so, if you have that time I invite you to follow that process.
Anyway, if there is any inconvenient or you think following the contribution process will delay the release of this fix, let me know and I will send the PR myself (no problem at all, I can do it quickly).
Alright, I've sent the agreement over: https://groups.google.com/forum/#!topic/dashjs/2uKAFnV38b4
And created a pull request: https://github.com/Dash-Industry-Forum/dash.js/pull/2899
Looking forward to working together!
Many thanks!
It looks like this issue is back in v3.0.0:
I think this line: https://github.com/Dash-Industry-Forum/dash.js/blob/1cc9d8074bab824f3b3846ad2a543eb42908057f/src/streaming/controllers/PlaybackController.js#L597
Should be:
settings.get().streaming.liveCatchUpPlaybackRate > 0
How should I proceed? Create a new issue and PR?
Environment
Steps to reproduce
const player = MediaPlayer().create()
player.setLowLatencyEnabled(true)
player.setCatchUpPlaybackRate(0)
player.initialize(media, sourceUrl, true)
player.setPlaybackRate(1.1)
Observed behaviour
The playback rate is changed back to 1 even though catchup was disabled.
Console output
Fix
I've forked dash.js and fixed it here: https://github.com/exmg/dash.js/commit/3397076c10b0669ec5bfad48c791a7a82f260723
If you like I can create a pull request, but I'll have to check if I can sign the Feedback Agreement etc. Please feel free to just copy my fix if that's easier.