public class StartPublishCdnStreamRequest extends AbstractModel
Constructor and Description |
---|
StartPublishCdnStreamRequest() |
StartPublishCdnStreamRequest(StartPublishCdnStreamRequest 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 |
---|---|
AgentParams |
getAgentParams()
Get 转推服务加入TRTC房间的机器人参数。
|
McuAudioParams |
getAudioParams()
Get 转推流的音频编码参数。
|
McuFeedBackRoomParams[] |
getFeedBackRoomParams()
Get 回推房间信息
|
McuPublishCdnParam[] |
getPublishCdnParams()
Get 转推的CDN参数。
|
String |
getRoomId()
Get 主房间信息RoomId,转推的TRTC房间所对应的RoomId。
|
Long |
getRoomIdType()
Get 主房间信息RoomType,必须和转推的房间所对应的RoomId类型相同,0为整形房间号,1为字符串房间号。
|
Long |
getSdkAppId()
Get TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和转推的房间所对应的SdkAppId相同。
|
McuSeiParams |
getSeiParams()
Get 混流SEI参数
|
SingleSubscribeParams |
getSingleSubscribeParams()
Get 需要单流旁路转推的用户上行参数,单流旁路转推时,WithTranscoding需要设置为0。
|
McuVideoParams |
getVideoParams()
Get 转推流的视频编码参数,不填表示纯音频转推。
|
Long |
getWithTranscoding()
Get 是否转码,0表示无需转码,1表示需要转码。
|
void |
setAgentParams(AgentParams AgentParams)
Set 转推服务加入TRTC房间的机器人参数。
|
void |
setAudioParams(McuAudioParams AudioParams)
Set 转推流的音频编码参数。
|
void |
setFeedBackRoomParams(McuFeedBackRoomParams[] FeedBackRoomParams)
Set 回推房间信息
|
void |
setPublishCdnParams(McuPublishCdnParam[] PublishCdnParams)
Set 转推的CDN参数。
|
void |
setRoomId(String RoomId)
Set 主房间信息RoomId,转推的TRTC房间所对应的RoomId。
|
void |
setRoomIdType(Long RoomIdType)
Set 主房间信息RoomType,必须和转推的房间所对应的RoomId类型相同,0为整形房间号,1为字符串房间号。
|
void |
setSdkAppId(Long SdkAppId)
Set TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和转推的房间所对应的SdkAppId相同。
|
void |
setSeiParams(McuSeiParams SeiParams)
Set 混流SEI参数
|
void |
setSingleSubscribeParams(SingleSubscribeParams SingleSubscribeParams)
Set 需要单流旁路转推的用户上行参数,单流旁路转推时,WithTranscoding需要设置为0。
|
void |
setVideoParams(McuVideoParams VideoParams)
Set 转推流的视频编码参数,不填表示纯音频转推。
|
void |
setWithTranscoding(Long WithTranscoding)
Set 是否转码,0表示无需转码,1表示需要转码。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public StartPublishCdnStreamRequest()
public StartPublishCdnStreamRequest(StartPublishCdnStreamRequest source)
public Long getSdkAppId()
public void setSdkAppId(Long SdkAppId)
SdkAppId
- TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和转推的房间所对应的SdkAppId相同。public String getRoomId()
public void setRoomId(String RoomId)
RoomId
- 主房间信息RoomId,转推的TRTC房间所对应的RoomId。public Long getRoomIdType()
public void setRoomIdType(Long RoomIdType)
RoomIdType
- 主房间信息RoomType,必须和转推的房间所对应的RoomId类型相同,0为整形房间号,1为字符串房间号。public AgentParams getAgentParams()
public void setAgentParams(AgentParams AgentParams)
AgentParams
- 转推服务加入TRTC房间的机器人参数。public Long getWithTranscoding()
public void setWithTranscoding(Long WithTranscoding)
WithTranscoding
- 是否转码,0表示无需转码,1表示需要转码。public McuAudioParams getAudioParams()
public void setAudioParams(McuAudioParams AudioParams)
AudioParams
- 转推流的音频编码参数。public McuVideoParams getVideoParams()
public void setVideoParams(McuVideoParams VideoParams)
VideoParams
- 转推流的视频编码参数,不填表示纯音频转推。public SingleSubscribeParams getSingleSubscribeParams()
public void setSingleSubscribeParams(SingleSubscribeParams SingleSubscribeParams)
SingleSubscribeParams
- 需要单流旁路转推的用户上行参数,单流旁路转推时,WithTranscoding需要设置为0。public McuPublishCdnParam[] getPublishCdnParams()
public void setPublishCdnParams(McuPublishCdnParam[] PublishCdnParams)
PublishCdnParams
- 转推的CDN参数。public McuSeiParams getSeiParams()
public void setSeiParams(McuSeiParams SeiParams)
SeiParams
- 混流SEI参数public McuFeedBackRoomParams[] getFeedBackRoomParams()
public void setFeedBackRoomParams(McuFeedBackRoomParams[] FeedBackRoomParams)
FeedBackRoomParams
- 回推房间信息Copyright © 2023. All rights reserved.