BMPPlayerConfiguration


@interface BMPPlayerConfiguration : BMPConfiguration

Contains configuration values regarding the playback behaviour of the player.

  • The BMPSourceConfiguration of this BMPPlayerConfiguration.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull)
        BMPSourceConfiguration *sourceConfiguration;

    Swift

    var sourceConfiguration: SourceConfiguration { get set }
  • The BMPStyleConfiguration of this BMPPlayerConfiguration.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull)
        BMPStyleConfiguration *styleConfiguration;

    Swift

    var styleConfiguration: StyleConfiguration { get set }
  • The BMPPlaybackConfiguration of this BMPPlayerConfiguration.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull)
        BMPPlaybackConfiguration *playbackConfiguration;

    Swift

    var playbackConfiguration: PlaybackConfiguration { get set }
  • The BMPAdvertisingConfiguration of this BMPPlayerConfiguration.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull)
        BMPAdvertisingConfiguration *advertisingConfiguration;

    Swift

    var advertisingConfiguration: AdvertisingConfiguration { get set }
  • The BMPCastConfiguration of this BMPPlayerConfiguration.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull)
        BMPCastConfiguration *castConfiguration;

    Swift

    var castConfiguration: CastConfiguration { get set }
  • The BMPRemoteControlConfiguration of this BMPPlayerConfiguration.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull)
        BMPRemoteControlConfiguration *remoteControlConfiguration;

    Swift

    var remoteControlConfiguration: RemoteControlConfiguration { get set }
  • The BMPAdaptationConfiguration of this BMPPlayerConfiguration.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull)
        BMPAdaptationConfiguration *adaptationConfiguration;

    Swift

    var adaptationConfiguration: AdaptationConfiguration { get set }
  • The BMPNetworkConfiguration of this BMPPlayerConfiguration.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull)
        BMPNetworkConfiguration *networkConfiguration;

    Swift

    var networkConfiguration: NetworkConfiguration { get set }
  • The BMPTweaksConfiguration of this BMPPlayerConfiguration.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull)
        BMPTweaksConfiguration *tweaksConfiguration;

    Swift

    var tweaksConfiguration: TweaksConfiguration { get set }
  • Get/Set a source item for this PlayerConfiguration. When a source item is set, also a new new SourceConfiguration containing this single source item is created for this PlayerConfiguration.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable) BMPSourceItem *sourceItem;

    Swift

    var sourceItem: SourceItem? { get set }
  • Creates and returns a BMPPlayerConfiguration based on the given JSON String.

    Declaration

    Objective-C

    + (nullable instancetype)fromJsonString:(nonnull NSString *)jsonString
                                      error:(NSError *_Nullable *_Nullable)error;

    Swift

    class func fromJsonString(_ jsonString: String) throws -> Self

    Parameters

    jsonString

    The JSON string representing the BMPPlayerConfiguration.

  • Sets a new source item based on the provided url for this PlayerConfiguration.

    Declaration

    Objective-C

    - (BOOL)setSourceItemWithString:(nonnull NSString *)urlString
                              error:(NSError *_Nullable *_Nullable)error;

    Swift

    func setSourceItem(urlString: String) throws

    Parameters

    urlString

    The url to a DASH, HLS or Progressive MP4 source which is used to create a new SourceConfiguration and SourceItem for this PlayerConfiguration.

  • Sets a new source item based on the provided url for this PlayerConfiguration.

    Declaration

    Objective-C

    - (BOOL)setSourceItemWithUrl:(nonnull NSURL *)url
                           error:(NSError *_Nullable *_Nullable)error;

    Swift

    func setSourceItem(url: NSURL) throws

    Parameters

    url

    The url to a DASH, HLS or Progressive MP4 source which is used to create a new SourceConfiguration and SourceItem for this PlayerConfiguration.