tencent cloud

最終更新日:2025-05-30 14:55:04
TXVodDownloadDataSource
最終更新日: 2025-05-30 14:55:04

TXVodDownloadDataSource Overview

Download a video-on-demand resource object.

Clarity TXVodQuality

Parameter Name
Type
Value
Description
TXVodQualityOD
NSInteger
0
Original video quality.
TXVodQualityFLU
NSInteger
1
Smooth.
TXVodQualitySD
NSInteger
2
Standard definition.
TXVodQualityHD
NSInteger
3
High-definition.
TXVodQualityFHD
NSInteger
4
Full HD.
TXVodQuality2K
NSInteger
5
2K.
TXVodQuality4K
NSInteger
6
4K.
TXVodQuality240P
NSInteger
240
Smooth 240P.
TXVodQuality360P
NSInteger
360
Smooth 360P.
TXVodQuality480P
NSInteger
480
Standard Definition 480P.
TXVodQuality540P
NSInteger
540
Standard Definition 540P.
TXVodQuality720P
NSInteger
720
HD 720P.
TXVodQuality1080p
NSInteger
1080
Full HD 1080P.

API Detail

auth

on-demand fileID authentication information.
@property(nonatomic, strong) TXPlayerAuthParams *auth;
Parameter Description
Parameter Name
Type
Description
auth
TXPlayerAuthParams
fileid information. For details, refer to TXPlayerAuthParams.

quality

Download clarity. Defaults to high-definition (when retrieving download information, this parameter must be consistent with the parameters used when downloading video).
@property(nonatomic, assign) TXVodQuality quality;
Parameter Description
Parameter Name
Type
Description
quality
TXVodQuality
Video quality ID. Refer to TXVodQuality enumeration.

token

Set this value, and the player will automatically add voddrm.token.<Token> before the file name in the URL.
@property(nonatomic, copy) NSString *token;

templateName

Clarity template. If the backend transcoding uses a custom template, enter the template name here. When templateName and quality are set simultaneously, templateName takes precedence.
@property(nonatomic, copy) NSString *templateName;

fileId

Video file ID.
@property(nonatomic, copy) NSString *fileId;

pSign

Signature information.
@property(nonatomic, copy) NSString *pSign;

appId

Application ID.
@property(nonatomic, assign) int appId;

userName

Account name, default "default".
@property(nonatomic, copy) NSString *userName;

overlayKey

HLS EXT-X-KEY encryption key.
@property(nonatomic, copy) NSString *overlayKey;

overlayIv

HLS EXT-X-KEY encryption Iv.
@property(nonatomic, copy) NSString *overlayKey;



この記事はお役に立ちましたか?
営業担当者に お問い合わせ いただくか チケットを提出 してサポートを求めることができます。
はい
いいえ

フィードバック