WIP: Playback Rate #167
NicholasBly
started this conversation in
General
Replies: 1 comment
|
I'm not sure if it's a good idea to spend time on this with the current app architecture. Speed adjustments work if the app is running as a Cobalt app (reference: webosbrew#6 (comment)). The base repository is currently working on a Cobalt version (see https://github.com/webosbrew/youtube-webos/milestone/14). If you plan to convert your app to a Cobalt app too, then this should "just work". |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
A highly requested feature is to fix/add support for playback rate (0.25x up to 2x).
I originally attempted this about a year ago, found that it would work on any webOS emulator/simulator, but never on real hardware.
Progress so far:
Attempted:
The YTAF webview advertises VIDEO_SPEED, VIDEO_SPEED_NORMAL and PLAYBACK_RATE ("${rate}×"), and use_lava_variable_playback_rate set to true in the page config, and the settings menu is fully built and the feature flag is on.
webOS emulators/simulators decode video on a software decoder while real TV hardware decodes video on a hardware decoder, which is exactly why playback rate works on emu and not on TVs.
From some debugging, I came back with this data:
"works" false means that all attempts failed to change the playback rate. "seek-nudge" returned null, meaning that it wasn't tested in this pass, and might be possible. Playback rate would have to be set while the video is paused, so it wouldn't work while playing a video. I will test this strategy further.
All reactions