SessionFilterSpeed

open class SessionFilterSpeed : SessionFilter

Applying the filter to a whole video:

session.video!.speedMultiplier = 2 // 2x speed

Applying the filter to the first segment of a video:

session.video!.videoSegments.first!.speedMultiplier = 2 // 2x speed

For more information about filters visit the super class SessionFilter.

  • The speed multipliers that are displayed in the user interface.

    Warning

    Repeating multipliers of the same value may result in undocumented behavior.

    Default: [0.5, 0.8, 1, 1.2, 2]

    Declaration

    Swift

    public var speedMultipliers: [Double]