Why doesn't Chromecast take into account fractional values โ€‹โ€‹of Rate playback on video elements?

Using the debugger in the application for example, I am trying to set the fractional value of the playback:

document.getElementById("vid").playbackRate = 0.5; 

And the video will not change the speed. If I set the playbackRate to zero, the video will stop. And if I set it to 1.0, it will resume. Note that on the chrome desktop, the video element MUST comply with the fractional values โ€‹โ€‹of the Rate.

+6
source share
3 answers

This has been disabled on the device due to hardware limitations. For example, if you try to play an HD movie at 3x speed, the hardware will not be able to keep up so that it is turned off to avoid such problems. If there is a strong need to support bids <1, please open a feature request and our team will consider this.

+3
source

It seems that at the moment, Chromecast does not support any playbackRate, except 1 and 0, not just fractional ones. Everything else that I tried (fractions and integers from -1 to 3) led to normal speed playback, with 0 pause.

0
source

Controlling playback speed is very useful (almost necessary) for finer adaptive streaming control, where a slight slowdown or acceleration can help increase or decrease the delay.

< 1x great for this purpose. In fact, no more than 10-15% delta strong> can be used for this kind of optimization .

It is also a standard video element method. Not supporting it is not at all a serious defect. Supporting him with the restriction is quite fine.

Please think about it seriously. If there is a more formal place to post this request, please let me know.

0
source

Source: https://habr.com/ru/post/952900/


All Articles