The callback for video download information.
◆ com::tencent::rtmp::downloader::ITXVodDownloadListener
interface com::tencent::rtmp::downloader::ITXVodDownloadListener |
◆ hlsKeyVerify()
Send the decryption key to the player for verification if the HLS file to be downloaded is encrypted.
- Parameters
-
mediaInfo | The download object |
url | The URL @prarm receive The server response |
- Returns
- 0 - The decryption key is correct, and file download continues; otherwise, a download error (failed to get the decryption key) will be reported.
◆ onDownloadError()
An error occurred during download.
- Parameters
-
mediaInfo | The download object |
error | For more information on error codes, see TXVodDownloadManager . |
reason | The error cause |
◆ onDownloadFinish()
Download ended.
- Parameters
-
mediaInfo | The download object |
◆ onDownloadProgress()
The download progress is updated.
- Parameters
-
mediaInfo | The download object |
◆ onDownloadStart()
Download started.
- Parameters
-
mediaInfo | The download object |
◆ onDownloadStop()
Download stopped. This callback will be received if the TXVodDownloadManager.stopDownload
method is called.
- Parameters
-
mediaInfo | The download object |