tencent cloud

Video on Demand

TXPlayerDrmBuilder

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-03-24 14:25:26

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.
Set the media playback URL.

API Detail

TXPlayerDrmBuilder

Constructor.
public TXPlayerDrmBuilder(String licenseUrl, String playUrl)
Parameter Description
Parameter Name
Type
Description
licenseUrl
String
Play media URL.
playUrl
String
Decryption Key URL.

setProvisionUrl

Set the certificate provider URL.
public TXPlayerDrmBuilder setProvisionUrl(String provisionUrl)
Parameter Description
Parameter Name
Type
Description
provisionUrl
String
Certificate provider URL. If it is Widevine, this field can be left blank and will follow the default process.

setKeyLicenseUrl

Set the decryption Key URL.
public TXPlayerDrmBuilder setKeyLicenseUrl(String keyLicenseUrl)

setPlayUrl

Set the media playback URL.
public TXPlayerDrmBuilder setPlayUrl(String playUrl)


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백