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 The information of the relaying robot in the room.
|
McuAudioParams |
getAudioParams()
Get The audio encoding parameters for relaying.
|
McuFeedBackRoomParams[] |
getFeedBackRoomParams()
Get The information of the room to which streams are relayed.
|
McuPublishCdnParam[] |
getPublishCdnParams()
Get The CDN information.
|
String |
getRoomId()
Get The ID of the room whose streams are relayed (the main room).
|
Long |
getRoomIdType()
Get The type of the `RoomId` parameter, which must be the same as the ID type of the room whose streams are relayed.
|
Long |
getSdkAppId()
Get The [SDKAppID](https://intl.cloud.tencent.com/document/product/647/37714) of the TRTC room whose streams are relayed.
|
McuSeiParams |
getSeiParams()
Get The stream mixing SEI parameters.
|
SingleSubscribeParams |
getSingleSubscribeParams()
Get The information of a single stream relayed.
|
McuVideoParams |
getVideoParams()
Get The video encoding parameters for relaying.
|
Long |
getWithTranscoding()
Get Whether to transcode the streams.
|
void |
setAgentParams(AgentParams AgentParams)
Set The information of the relaying robot in the room.
|
void |
setAudioParams(McuAudioParams AudioParams)
Set The audio encoding parameters for relaying.
|
void |
setFeedBackRoomParams(McuFeedBackRoomParams[] FeedBackRoomParams)
Set The information of the room to which streams are relayed.
|
void |
setPublishCdnParams(McuPublishCdnParam[] PublishCdnParams)
Set The CDN information.
|
void |
setRoomId(String RoomId)
Set The ID of the room whose streams are relayed (the main room).
|
void |
setRoomIdType(Long RoomIdType)
Set The type of the `RoomId` parameter, which must be the same as the ID type of the room whose streams are relayed.
|
void |
setSdkAppId(Long SdkAppId)
Set The [SDKAppID](https://intl.cloud.tencent.com/document/product/647/37714) of the TRTC room whose streams are relayed.
|
void |
setSeiParams(McuSeiParams SeiParams)
Set The stream mixing SEI parameters.
|
void |
setSingleSubscribeParams(SingleSubscribeParams SingleSubscribeParams)
Set The information of a single stream relayed.
|
void |
setVideoParams(McuVideoParams VideoParams)
Set The video encoding parameters for relaying.
|
void |
setWithTranscoding(Long WithTranscoding)
Set Whether to transcode the streams.
|
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
- The [SDKAppID](https://intl.cloud.tencent.com/document/product/647/37714) of the TRTC room whose streams are relayed.public String getRoomId()
public void setRoomId(String RoomId)
RoomId
- The ID of the room whose streams are relayed (the main room).public Long getRoomIdType()
public void setRoomIdType(Long RoomIdType)
RoomIdType
- The type of the `RoomId` parameter, which must be the same as the ID type of the room whose streams are relayed. 0: integer; 1: string.public AgentParams getAgentParams()
public void setAgentParams(AgentParams AgentParams)
AgentParams
- The information of the relaying robot in the room.public Long getWithTranscoding()
public void setWithTranscoding(Long WithTranscoding)
WithTranscoding
- Whether to transcode the streams. 0: No; 1: Yes.public McuAudioParams getAudioParams()
public void setAudioParams(McuAudioParams AudioParams)
AudioParams
- The audio encoding parameters for relaying.public McuVideoParams getVideoParams()
public void setVideoParams(McuVideoParams VideoParams)
VideoParams
- The video encoding parameters for relaying. If you do not pass this parameter, only audio will be relayed.public SingleSubscribeParams getSingleSubscribeParams()
public void setSingleSubscribeParams(SingleSubscribeParams SingleSubscribeParams)
SingleSubscribeParams
- The information of a single stream relayed. When you relay a single stream, set `WithTranscoding` to 0.public McuPublishCdnParam[] getPublishCdnParams()
public void setPublishCdnParams(McuPublishCdnParam[] PublishCdnParams)
PublishCdnParams
- The CDN information.public McuSeiParams getSeiParams()
public void setSeiParams(McuSeiParams SeiParams)
SeiParams
- The stream mixing SEI parameters.public McuFeedBackRoomParams[] getFeedBackRoomParams()
public void setFeedBackRoomParams(McuFeedBackRoomParams[] FeedBackRoomParams)
FeedBackRoomParams
- The information of the room to which streams are relayed.Copyright © 2023. All rights reserved.