LiteAVSDK
Tencent Cloud TRTC SDK, is a high availability components serving tens of thousands of enterprise customers, which is committed to helping you to minimize your research and development costs.
TXPlayInfoParams

Data Structures

class  TXPlayInfoParams
 

Detailed Description

The configuration for video playback through fileId.


Data Structure Documentation

◆ com::tencent::rtmp::TXPlayInfoParams

class com::tencent::rtmp::TXPlayInfoParams

Public Member Functions

 TXPlayInfoParams (int appId, String fileId, String pSign)
 
int getAppId ()
 
String getFileId ()
 
String getPSign ()
 

Constructor & Destructor Documentation

◆ TXPlayInfoParams()

TXPlayInfoParams ( int  appId,
String  fileId,
String  pSign 
)
inline

The constructor for video playback through fileId.

Parameters
appIdThe appId of the video, which is required.
fileIdThe fileId of the video, which is required.
pSignThe video encryption signature, which is required for encrypted videos.

Member Function Documentation

◆ getAppId()

int getAppId ( )
inline

This API is used to get the appId of a video.

Returns

◆ getFileId()

String getFileId ( )
inline

This API is used to get the fileId of a video.

Returns

◆ getPSign()

String getPSign ( )
inline

This API is used to get the encryption signature of a video.

Returns