Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

Video Playback Rate #8

Open
LeiHao0 opened this issue Jun 29, 2020 · 0 comments
Open

Video Playback Rate #8

LeiHao0 opened this issue Jun 29, 2020 · 0 comments

Comments

@LeiHao0
Copy link

LeiHao0 commented Jun 29, 2020

When Watching courses on the web, it usually can speed up at least to 2x

I read the Jellyfin-expo code found the video player was implemented by using <Webview>.
In the expo doc, it didn't provide a way to change the video rate in <Webview>, which means it might need to change in jellyfin repo to do so.

Luckily inside the native iOS app can do something like this.

// for audio pitch
var playerItem: AVPlayerItem {
    let item = AVPlayerItem(asset: asset)
    item.audioTimePitchAlgorithm = AVAudioTimePitchAlgorithm.timeDomain
    return item
}
// ... 
player?.playImmediately(atRate: rate)

Here is the  Developer UI, there is a button on the top right corner to the rate.

Screen Shot 2020-06-29 at 12 06 02 PM

So, is there any plan to support the playback rate on the roadmap?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant