BMPPlaybackConfiguration
@interface BMPPlaybackConfiguration : BMPConfiguration
Contains configuration values which can be used to alter the playback behaviour of the player.
-
Whether the player starts playing automatically after loading a source or not. Default value is NO.
Declaration
Objective-C
@property (getter=isAutoplayEnabled, assign, readwrite, nonatomic) BOOL autoplayEnabled;
Swift
var isAutoplayEnabled: Bool { get set }
-
Whether the sound is muted on startup or not. Default value is NO.
Declaration
Objective-C
@property (getter=isMuted, assign, readwrite, nonatomic) BOOL muted;
Swift
var isMuted: Bool { get set }
-
Whether time shift / DVR for live streams is enabled or not. Default is YES.
Declaration
Objective-C
@property (getter=isTimeShiftEnabled, assign, readwrite, nonatomic) BOOL timeShiftEnabled;
Swift
var isTimeShiftEnabled: Bool { get set }
-
Whether background playback is enabled or not. Default is NO. When set to YES, playback is not automatically paused anymore when the app moves to the background. When set to YES, also make sure to properly configure your app to allow background playback.
Declaration
Objective-C
@property (getter=isBackgroundPlaybackEnabled, assign, readwrite, nonatomic) BOOL backgroundPlaybackEnabled;
Swift
var isBackgroundPlaybackEnabled: Bool { get set }