public class StartStreamIngestRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
StartStreamIngestRequest() |
StartStreamIngestRequest(StartStreamIngestRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
AudioEncodeParams |
getAudioEncodeParams()
Get Audio Codec Parameters.
|
String |
getPrivateMapKey()
Get TRTC room permission Encryption ticket, only needed when advanced permission control is enabled in the Console.
|
String |
getRoomId()
Get TRTC's [RoomId](https://intl.cloud.tencent.com/document/product/647/46351?from_cn_redirect=1#roomid), the RoomId corresponding to the Record TRTC room.
|
Long |
getRoomIdType()
Get Type of TRTC RoomId.
|
Long |
getSdkAppId()
Get TRTC's [SdkAppId](https://intl.cloud.tencent.com/document/product/647/46351?from_cn_redirect=1#sdkappid), the same as the SdkAppId corresponding to the Record room.
|
String[] |
getSourceUrl()
Get
Source URL.
|
String |
getUserId()
Get UserId of the Pull stream Relay Robot, used to enter the room and initiate the Pull stream Relay Task.
|
String |
getUserSig()
Get UserSig corresponding to the Pull stream Relay Robot UserId, i.e., UserId and UserSig are equivalent to the Robot's Login password for entering the room.
|
VideoEncodeParams |
getVideoEncodeParams()
Get Video Codec Parameters.
|
void |
setAudioEncodeParams(AudioEncodeParams AudioEncodeParams)
Set Audio Codec Parameters.
|
void |
setPrivateMapKey(String PrivateMapKey)
Set TRTC room permission Encryption ticket, only needed when advanced permission control is enabled in the Console.
|
void |
setRoomId(String RoomId)
Set TRTC's [RoomId](https://intl.cloud.tencent.com/document/product/647/46351?from_cn_redirect=1#roomid), the RoomId corresponding to the Record TRTC room.
|
void |
setRoomIdType(Long RoomIdType)
Set Type of TRTC RoomId.
|
void |
setSdkAppId(Long SdkAppId)
Set TRTC's [SdkAppId](https://intl.cloud.tencent.com/document/product/647/46351?from_cn_redirect=1#sdkappid), the same as the SdkAppId corresponding to the Record room.
|
void |
setSourceUrl(String[] SourceUrl)
Set
Source URL.
|
void |
setUserId(String UserId)
Set UserId of the Pull stream Relay Robot, used to enter the room and initiate the Pull stream Relay Task.
|
void |
setUserSig(String UserSig)
Set UserSig corresponding to the Pull stream Relay Robot UserId, i.e., UserId and UserSig are equivalent to the Robot's Login password for entering the room.
|
void |
setVideoEncodeParams(VideoEncodeParams VideoEncodeParams)
Set Video Codec Parameters.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public StartStreamIngestRequest()
public StartStreamIngestRequest(StartStreamIngestRequest source)
public Long getSdkAppId()
public void setSdkAppId(Long SdkAppId)
SdkAppId
- TRTC's [SdkAppId](https://intl.cloud.tencent.com/document/product/647/46351?from_cn_redirect=1#sdkappid), the same as the SdkAppId corresponding to the Record room.public String getRoomId()
public void setRoomId(String RoomId)
RoomId
- TRTC's [RoomId](https://intl.cloud.tencent.com/document/product/647/46351?from_cn_redirect=1#roomid), the RoomId corresponding to the Record TRTC room.public Long getRoomIdType()
public void setRoomIdType(Long RoomIdType)
RoomIdType
- Type of TRTC RoomId. 【*Note】Must be the same as the RoomId type corresponding to the Record room: 0: String type RoomId 1: 32-bit Integer type RoomId (default)public String getUserId()
public void setUserId(String UserId)
UserId
- UserId of the Pull stream Relay Robot, used to enter the room and initiate the Pull stream Relay Task.public String getUserSig()
public void setUserSig(String UserSig)
UserSig
- UserSig corresponding to the Pull stream Relay Robot UserId, i.e., UserId and UserSig are equivalent to the Robot's Login password for entering the room. For the specific Calculation method, please refer to the TRTC [UserSig](https://intl.cloud.tencent.com/document/product/647/45910?from_cn_redirect=1#UserSig) Scheme.public String[] getSourceUrl()
public void setSourceUrl(String[] SourceUrl)
SourceUrl
- Source URL. Example value: https://a.b/test.mp4public String getPrivateMapKey()
public void setPrivateMapKey(String PrivateMapKey)
PrivateMapKey
- TRTC room permission Encryption ticket, only needed when advanced permission control is enabled in the Console. After enabling advanced permission control in the TRTC Console, TRTC's backend service system will verify a so-called [PrivateMapKey] 'Permission ticket', which contains an encrypted RoomId and an encrypted 'Permission bit list'. Since PrivateMapKey contains RoomId, providing only UserSig without PrivateMapKey does not allow entry into the specified room.public VideoEncodeParams getVideoEncodeParams()
public void setVideoEncodeParams(VideoEncodeParams VideoEncodeParams)
VideoEncodeParams
- Video Codec Parameters. Optional, if not filled, Keep original stream Parameters.public AudioEncodeParams getAudioEncodeParams()
public void setAudioEncodeParams(AudioEncodeParams AudioEncodeParams)
AudioEncodeParams
- Audio Codec Parameters. Optional, if not filled, Keep original stream Parameters.Copyright © 2024. All rights reserved.