DRM playback information, used with TXVodPlayer::startPlayDrm.
◆ com::tencent::rtmp::TXPlayerDrmBuilder
class com::tencent::rtmp::TXPlayerDrmBuilder |
◆ TXPlayerDrmBuilder() [1/2]
◆ TXPlayerDrmBuilder() [2/2]
construct TXPlayerDrmBuilder object
- Parameters
-
licenseUrl | The URL of the decryption key |
playUrl | The playback URL |
◆ getDeviceCertificateUrl()
String getDeviceCertificateUrl |
( |
| ) |
|
|
inline |
This API is used to get the URL of a certificate provider.
- Returns
◆ getKeyLicenseUrl()
String getKeyLicenseUrl |
( |
| ) |
|
|
inline |
This API is used to get the URL of a decryption key.
- Returns
◆ getPlayUrl()
This API is used to get the URL of the media file to be played back.
- Returns
◆ setDeviceCertificateUrl()
This API is used to set the URL of a certificate provider.
- Parameters
-
deviceCertificateUrl | is the certificate provider URL. If the provider is Widevine, you can leave this parameter empty to use the default settings. |
- Returns
- TXPlayerDrmBuilder
◆ setKeyLicenseUrl()
This API is used to set the URL of a decryption key.
- Parameters
-
keyLicenseUrl | The URL of the decryption key |
- Returns
- TXPlayerDrmBuilder
◆ setPlayUrl()
This API is used to set the URL of the media file to be played back.
- Parameters
-
- Returns
- TXPlayerDrmBuilder
◆ toString()