TweaksConfiguration

@objcMembers
@objc(BMPTweaksConfiguration)
public final class TweaksConfiguration : Configuration

Undocumented

  • If enabled, HLS playlists would be parsed and corresponding events carrying segment-specific metadata, e.g. #EXT-X-SCTE35 tag if present in the manifest, are going to be sent. Default is false.

    Declaration

    Swift

    public var isNativeHlsParsingEnabled: Bool { get set }
  • If enabled, playlists will be downloaded by the Bitmovin Player SDK instead of AVFoundation. If set to false, enabling nativeHlsParsingEnabled won’t have any effect. Default is true.

    Declaration

    Swift

    public var isCustomHlsLoadingEnabled: Bool { get set }
  • The frequency in seconds PlayerListener#onTimeChanged is called with TimeChangedEvents. Default is 1. Minimum is 0.025.

    Declaration

    Swift

    public var timeChangedInterval: TimeInterval
  • When duration for subtitle tracks mismatch between the HLS manifest and the subtitle track, this can cause the player to get stalled or prevent it from rendering subtitles after seeking. This can be avoided by deselecting subtitles during seeking and reselecting them afterwards.

    If set to true, active subtitle track will be deselected before seeking and reselected when seeking finished. No subtitle change related events will be fired. If set to false, no changes are applied to subtitle selection on seeking.

    Default is false.

    Declaration

    Swift

    public var disableSubtitleTracksWhileSeeking: Bool
  • Specifies the player behaviour when Player.play is called. Default is PlaybackStartBehaviour.relaxed

    This setting requires that the PlayerConfiguration is passed to the constructor of the BitmovinPlayer already. Setting/changing this configuration via the PlayerAPI.setup call is not supported.

    Declaration

    Swift

    public var playbackStartBehaviour: PlaybackStartBehaviour
  • Specifies the player behaviour when stalling should be exited. Default is UnstallingBehaviour.relaxed

    This setting requires that the PlayerConfiguration is passed to the constructor of the BitmovinPlayer already. Setting/changing this configuration via the PlayerAPI.setup call is not supported.

    Declaration

    Swift

    public var unstallingBehaviour: UnstallingBehaviour
  • Undocumented

    Declaration

    Swift

    override public init()