PlayerConfig

@objc(BMPPlayerConfig)
@objcMembers
public final class PlayerConfig : NSObject

Configures a new Player instance. Must not be modified after it was used to create a Player instance.

  • key

    A Bitmovin license key that can be found in the Bitmovin portal. If a license key is set here, it will be used instead of the license key found in the Info.plist

    Declaration

    Swift

    public var key: String?
  • Configures visual presentation and behaviour of the Player UI. A default StyleConfig is set initially

    Declaration

    Swift

    public var styleConfig: StyleConfig
  • Configures playback behaviour. A default PlaybackConfig is set initially

    Declaration

    Swift

    public var playbackConfig: PlaybackConfig
  • Configures advertising functionality. A default AdvertisingConfig is set initially

    Declaration

    Swift

    public var advertisingConfig: AdvertisingConfig
  • Configures remote playback functionality. A default RemoteControlConfig is set initially

    Declaration

    Swift

    @available(tvOS, unavailable)
    @available(visionOS, unavailable)
    public var remoteControlConfig: RemoteControlConfig { get set }
  • Configures adaptation logic. A default AdaptationConfig is set initially

    Declaration

    Swift

    public var adaptationConfig: AdaptationConfig
  • Configures network request manipulation functionality. A default NetworkConfig is set initially

    Declaration

    Swift

    public var networkConfig: NetworkConfig
  • Configures experimental features. A default TweaksConfig is set initially

    Declaration

    Swift

    public var tweaksConfig: TweaksConfig
  • Configures buffer settings. A default BufferConfig is set initially

    Declaration

    Swift

    public var bufferConfig: BufferConfig
  • Configures behaviour when playing live content. A default LiveConfig is set initially

    Declaration

    Swift

    @available(*, deprecated, message: "Configuration for live streams has moved to the source-based `SourceLiveConfig`. Use `SourceConfig.liveConfig` instead.\"")
    public var liveConfig: LiveConfig
  • Declaration

    Swift

    override public init()