BMPPlayReadyConfiguration
Objective-C
@interface BMPPlayReadyConfiguration : BMPDRMConfiguration
Swift
class PlayReadyConfiguration : DRMConfiguration
Represents a PlayReady DRM configuration.
-
A dictionary to specify custom HTTP headers for the license request.
Declaration
Objective-C
@property (nonatomic, copy, nonnull) NSDictionary<NSString *, NSString *> *licenseRequestHeaders;
Swift
var licenseRequestHeaders: [String : String] { get set }
-
Specifies how long in milliseconds should be waited before a license request should be retried. Default is 0.
Declaration
Objective-C
@property (nonatomic) NSUInteger licenseRequestRetryDelay;
Swift
var licenseRequestRetryDelay: UInt { get set }
-
Specifies how often a license request should be retried if was not successful (e.g. the license server was not reachable). Default is 1. Assigning 0 disables retries.
Declaration
Objective-C
@property (nonatomic) NSUInteger maxLicenseRequestRetries;
Swift
var maxLicenseRequestRetries: UInt { get set }
-
A JSON String which allows to specify configuration options of the DRM key system, such as distinctiveIdentifier or persistentState.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *mediaKeySystemConfig;
Swift
var mediaKeySystemConfig: String? { get set }
-
Creates a new BMPPlayReadyConfiguration based on the given license URL.
Declaration
Objective-C
- (nonnull instancetype)initWithLicenseUrl:(nullable NSURL *)licenseUrl;
Swift
init(license licenseUrl: URL?)
Parameters
licenseUrl
The URL to the license server.
Return Value
A new PlayReady configuration initialized with the given URL.