RemoteControlConfig

@objcMembers
@objc(BMPRemoteControlConfig)
public class RemoteControlConfig : Config

Contains config values which can be used to alter the behaviour of the player when it comes to remote playback.

  • A URL to a CSS file the Chromecast receiver app loads. Can be used to style the receiver app.

    Declaration

    Swift

    public var receiverStylesheetUrl: URL?
  • Arbitrary config values that are sent to the remote control receiver.

    Declaration

    Swift

    public var customReceiverConfig: [String : String]
  • This block can be used to prepare a different BMPSourceConfig to be used for remote playback that for local playback. This can be useful when the remote playback device supports different streaming formats, DRM systems, etc. than the local device.

    Declaration

    Swift

    public var prepareSource: ((_ type: RemoteControlType, _ sourceConfig: SourceConfig) -> SourceConfig?)?
  • Undocumented

    Declaration

    Swift

    public var usesExternalPlaybackWhileExternalScreenIsActive: Bool
  • Indicates whether cookies and credentials will be sent along manifest requests on the Cast receiver

    Default value is false. NOTE: This is only supported with CAF (v3) receivers.

    Declaration

    Swift

    public var sendManifestRequestsWithCredentials: Bool
  • Indicates whether cookies and credentials will be sent along segment requests on the Cast receiver

    Default value is false. NOTE: This is only supported with CAF (v3) receivers.

    Declaration

    Swift

    public var sendSegmentRequestsWithCredentials: Bool
  • Indicates whether cookies and credentials will be sent along DRM licence requests on the Cast receiver

    Default value is false. NOTE: This is only supported with CAF (v3) receivers.

    Declaration

    Swift

    public var sendDrmLicenseRequestsWithCredentials: Bool
  • Whether the AirPlay option is enabled or not.

    Default value is true. NOTE: Calling showAirPlayTargetPicker when the value is false will not have any effect.

    Declaration

    Swift

    public var isAirPlayEnabled: Bool