OTVDRMInfo


@interface OTVDRMInfo : NSObject

OTVDrmInfo class represents the capability and security level for a DRM key system and content type Currently the only two supported Codecs for this class are AVC1 and HVC1 HVC1 codec is only supported on devices newer then iOS 11 and depending on the devices the DRM security level will differ between otvDRMSLHWDecode & otvDRMSLSW. If a device is older than iOS 11 this api will return a nil OTVDRMInfo object inside of the array for HVC1 codecs.

  • Name of the Drm, the only support DRM on iOS FPS is com.apple.fps

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nullable name;
  • The contentType used for the detection: “MIMEType;codecs=hvc1” && “MIMEType;codecs=avc1” are the only two supported in this call

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nullable contentType;
  • The security level detected from Drm

    Declaration

    Objective-C

    @property (nonatomic, readonly) enum OTVDRMSecurityLevel securityLevel;
  • Declaration

    Objective-C

    @property (nonatomic, readonly, copy) NSString * _Nonnull securityLevelName
  • Declaration

    Objective-C

    - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;