OTVDRMInfo

public class 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

    Swift

    @objc
    public internal(set) var name: String? { get }
  • The contentType used for the detection: “MIMEType;codecs=hvc1” && “MIMEType;codecs=avc1” are the only two supported in this call

    Declaration

    Swift

    @objc
    public internal(set) var contentType: String? { get }
  • The security level detected from Drm

    Declaration

    Swift

    @objc
    public internal(set) var securityLevel: OTVDRMSecurityLevel { get }
  • Declaration

    Swift

    @objc
    public var securityLevelName: String { get }
  • OTVDrmSecurityLevel represents the rated security for the different codecs

    See more

    Declaration

    Swift

    @objc
    public enum OTVDRMSecurityLevel : Int