tencent cloud

Video on Demand

Agreements
Service Level Agreement
Política VOD
Política de privacidade
Contrato de segurança e processamento de dados
DocumentaçãoVideo on Demand

TXPlayerDrmBuilder

Modo Foco
Tamanho da Fonte
Última atualização: 2025-05-30 14:59:08

TXPlayerDrmBuilder Overview

Drm playback information, used in conjunction with -[TXVodPlayer startPlayDrm:].

API Overview

API
Description
Construct a Drm playback information object.
Set the certificate provider URL.
Set the decryption Key URL.
playUrl
Set the media playback URL.

API Detail

initWithDeviceCertificateUrl:licenseUrl:videoUrl:

Constructor.
- (instancetype)initWithDeviceCertificateUrl:(NSString *)certificateUrl licenseUrl:(NSString *)licenseUrl videoUrl:(NSString *)videoUrl;
Parameter Description
Parameter Name
Type
Description
certificateUrl
NSString
Certificate provider URL.
licenseUrl
NSString
Play media URL.
videoUrl
NSString
Set the decryption Key URL.

deviceCertificateUrl

Set the certificate provider URL.
@property(nonatomic, strong) NSString *deviceCertificateUrl;
Parameter Description
Parameter Name
Type
Description
deviceCertificateUrl
NSString
Certificate provider URL.

keyLicenseUrl

Set the decryption Key URL.
@property(nonatomic, strong) NSString *keyLicenseUrl;

playUrl

Set the media playback URL.
@property(nonatomic, strong) NSString *playUrl;


Ajuda e Suporte

Esta página foi útil?

comentários