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

Video Playback Rate #8

@LeiHao0

Description

@LeiHao0

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions