BMPRemoteControlConfiguration


@interface BMPRemoteControlConfiguration : BMPConfiguration

Contains configuration 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

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSURL *receiverStylesheetUrl;

    Swift

    @NSCopying var receiverStylesheetUrl: NSURL? { get set }
  • Arbitrary configuration values that are sent to the remote control receiver.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        NSMutableDictionary<NSString *, NSString *>
            *_Nonnull customReceiverConfiguration;

    Swift

    var customReceiverConfiguration: NSMutableDictionary { get set }
  • This block can be used to prepare a different BMPSourceConfiguration 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

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) BMPSourceItem *_Nullable (^)
        (BMPRemoteControlType, BMPSourceItem *_Nonnull) prepareSource;

    Swift

    var prepareSource: ((BMPRemoteControlType, SourceItem) -> SourceItem?)? { get set }