jellyfin-client-ios icon indicating copy to clipboard operation
jellyfin-client-ios copied to clipboard

Video Playback Rate

Open LeiHao0 opened this issue 4 years ago • 0 comments

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?

LeiHao0 avatar Jun 29 '20 04:06 LeiHao0