tencent cloud

Video on Demand

TXPlayerDrmBuilder

PDF
フォーカスモード
フォントサイズ
最終更新日: 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)


ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック