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()
Deprecated.
|
Boolean |
getAutoPush()
Get Enable auto relay to cdn, please make sure that this feature has been enabled in the console.
|
Long |
getMaxDuration()
Get Loop playback maximum duration, only effective when RepeatNum is set to -1, valid value range: [1, 10080], unit: minutes
|
String |
getPrivateMapKey()
Get TRTC room permission Encryption ticket, only needed when advanced permission control is enabled in the Console.
|
Long |
getRepeatNum()
Get Loop playback count, value range: [-1, 1000], default is 1 time.
|
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.
|
Long |
getSeekSecond()
Get
|
String[] |
getSourceUrl()
Deprecated.
|
String |
getStreamUrl()
Get The Url of the media resource.
|
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()
Deprecated.
|
void |
setAudioEncodeParams(AudioEncodeParams AudioEncodeParams)
Deprecated.
|
void |
setAutoPush(Boolean AutoPush)
Set Enable auto relay to cdn, please make sure that this feature has been enabled in the console.
|
void |
setMaxDuration(Long MaxDuration)
Set Loop playback maximum duration, only effective when RepeatNum is set to -1, valid value range: [1, 10080], unit: minutes
|
void |
setPrivateMapKey(String PrivateMapKey)
Set TRTC room permission Encryption ticket, only needed when advanced permission control is enabled in the Console.
|
void |
setRepeatNum(Long RepeatNum)
Set Loop playback count, value range: [-1, 1000], default is 1 time.
|
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 |
setSeekSecond(Long SeekSecond)
Set
|
void |
setSourceUrl(String[] SourceUrl)
Deprecated.
|
void |
setStreamUrl(String StreamUrl)
Set The Url of the media resource.
|
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)
Deprecated.
|
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://www.tencentcloud.com/zh/document/product/647/39074) Scheme.public String getStreamUrl()
public void setStreamUrl(String StreamUrl)
StreamUrl
- The Url of the media resource.public 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.@Deprecated public VideoEncodeParams getVideoEncodeParams()
@Deprecated public void setVideoEncodeParams(VideoEncodeParams VideoEncodeParams)
VideoEncodeParams
- Video Codec Parameters. Optional, if not filled, Keep original stream Parameters.@Deprecated public AudioEncodeParams getAudioEncodeParams()
@Deprecated public void setAudioEncodeParams(AudioEncodeParams AudioEncodeParams)
AudioEncodeParams
- Audio Codec Parameters. Optional, if not filled, Keep original stream Parameters.@Deprecated public String[] getSourceUrl()
@Deprecated public void setSourceUrl(String[] SourceUrl)
SourceUrl
- Source URL. Example value: https://a.b/test.mp4public Long getSeekSecond()
public void setSeekSecond(Long SeekSecond)
SeekSecond
- public Boolean getAutoPush()
public void setAutoPush(Boolean AutoPush)
AutoPush
- Enable auto relay to cdn, please make sure that this feature has been enabled in the console.public Long getRepeatNum()
public void setRepeatNum(Long RepeatNum)
RepeatNum
- Loop playback count, value range: [-1, 1000], default is 1 time. - 0 is an invalid value - -1 is for loop playback, task termination requires actively calling the stop interface or setting MaxDuration.public Long getMaxDuration()
public void setMaxDuration(Long MaxDuration)
MaxDuration
- Loop playback maximum duration, only effective when RepeatNum is set to -1, valid value range: [1, 10080], unit: minutesCopyright © 2024. All rights reserved.