public class CreateCloudRecordingRequest extends AbstractModel
Constructor and Description |
---|
CreateCloudRecordingRequest() |
CreateCloudRecordingRequest(CreateCloudRecordingRequest 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 |
---|---|
MixLayoutParams |
getMixLayoutParams()
Get The layout parameters, which are valid if the mixed-stream recording mode is used.
|
MixTranscodeParams |
getMixTranscodeParams()
Get The stream mixing parameters, which are valid if the mixed-stream recording mode is used.
|
String |
getPrivateMapKey()
Get The permission ticket for a TRTC room.
|
RecordParams |
getRecordParams()
Get The on-cloud recording parameters.
|
Long |
getResourceExpiredHour()
Get The amount of time (in hours) during which API requests can be made after recording starts.
|
String |
getRoomId()
Get The [room ID](https://intl.cloud.tencent.com/document/product/647/37714) of the TRTC room whose streams are recorded.
|
Long |
getRoomIdType()
Get The type of the TRTC room ID, which must be the same as the ID type of the room whose streams are recorded.
|
Long |
getSdkAppId()
Get The [SDKAppID](https://intl.cloud.tencent.com/document/product/647/37714) of the TRTC room whose streams are recorded.
|
StorageParams |
getStorageParams()
Get The storage information of the recording file.
|
String |
getUserId()
Get The [user ID](https://www.tencentcloud.com/document/product/647/37714#userid) of the recording robot in the TRTC room, which cannot be identical to the user IDs of anchors in the room or other recording robots.
|
String |
getUserSig()
Get The signature (similar to a login password) required for the recording robot to enter the room.
|
void |
setMixLayoutParams(MixLayoutParams MixLayoutParams)
Set The layout parameters, which are valid if the mixed-stream recording mode is used.
|
void |
setMixTranscodeParams(MixTranscodeParams MixTranscodeParams)
Set The stream mixing parameters, which are valid if the mixed-stream recording mode is used.
|
void |
setPrivateMapKey(String PrivateMapKey)
Set The permission ticket for a TRTC room.
|
void |
setRecordParams(RecordParams RecordParams)
Set The on-cloud recording parameters.
|
void |
setResourceExpiredHour(Long ResourceExpiredHour)
Set The amount of time (in hours) during which API requests can be made after recording starts.
|
void |
setRoomId(String RoomId)
Set The [room ID](https://intl.cloud.tencent.com/document/product/647/37714) of the TRTC room whose streams are recorded.
|
void |
setRoomIdType(Long RoomIdType)
Set The type of the TRTC room ID, which must be the same as the ID type of the room whose streams are recorded.
|
void |
setSdkAppId(Long SdkAppId)
Set The [SDKAppID](https://intl.cloud.tencent.com/document/product/647/37714) of the TRTC room whose streams are recorded.
|
void |
setStorageParams(StorageParams StorageParams)
Set The storage information of the recording file.
|
void |
setUserId(String UserId)
Set The [user ID](https://www.tencentcloud.com/document/product/647/37714#userid) of the recording robot in the TRTC room, which cannot be identical to the user IDs of anchors in the room or other recording robots.
|
void |
setUserSig(String UserSig)
Set The signature (similar to a login password) required for the recording robot to enter the room.
|
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 CreateCloudRecordingRequest()
public CreateCloudRecordingRequest(CreateCloudRecordingRequest 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 recorded.public String getRoomId()
public void setRoomId(String RoomId)
RoomId
- The [room ID](https://intl.cloud.tencent.com/document/product/647/37714) of the TRTC room whose streams are recorded.public String getUserId()
public void setUserId(String UserId)
UserId
- The [user ID](https://www.tencentcloud.com/document/product/647/37714#userid) of the recording robot in the TRTC room, which cannot be identical to the user IDs of anchors in the room or other recording robots. To distinguish this user ID from others, we recommend you include the room ID in the user ID.public String getUserSig()
public void setUserSig(String UserSig)
UserSig
- The signature (similar to a login password) required for the recording robot to enter the room. Each user ID corresponds to a signature. For information on how to calculate the signature, see [What is UserSig?](https://intl.cloud.tencent.com/document/product/647/38104).public RecordParams getRecordParams()
public void setRecordParams(RecordParams RecordParams)
RecordParams
- The on-cloud recording parameters.public StorageParams getStorageParams()
public void setStorageParams(StorageParams StorageParams)
StorageParams
- The storage information of the recording file. Currently, you can save recording files to Tencent Cloud VOD or COS.public Long getRoomIdType()
public void setRoomIdType(Long RoomIdType)
RoomIdType
- The type of the TRTC room ID, which must be the same as the ID type of the room whose streams are recorded.
0: String
1: 32-bit integer (default)public MixTranscodeParams getMixTranscodeParams()
public void setMixTranscodeParams(MixTranscodeParams MixTranscodeParams)
MixTranscodeParams
- The stream mixing parameters, which are valid if the mixed-stream recording mode is used.public MixLayoutParams getMixLayoutParams()
public void setMixLayoutParams(MixLayoutParams MixLayoutParams)
MixLayoutParams
- The layout parameters, which are valid if the mixed-stream recording mode is used.public Long getResourceExpiredHour()
public void setResourceExpiredHour(Long ResourceExpiredHour)
ResourceExpiredHour
- The amount of time (in hours) during which API requests can be made after recording starts. Calculation starts when a recording task is started (when the recording task ID is returned). Once the period elapses, the query, modification, and stop recording APIs can no longer be called, but the recording task will continue. The default value is `72` (three days), and the maximum and minimum values allowed are `720` (30 days) and `6` respectively. If you do not set this parameter, the query, modification, and stop recording APIs can be called within 72 hours after recording starts.public String getPrivateMapKey()
public void setPrivateMapKey(String PrivateMapKey)
PrivateMapKey
- The permission ticket for a TRTC room. This parameter is required if advanced permission control is enabled in the console, in which case the TRTC backend will verify users’ [PrivateMapKey](https://intl.cloud.tencent.com/document/product/647/32240?from_cn_redirect=1), which include an encrypted room ID and permission bit list. A user providing only `UserSig` and not `PrivateMapKey` will be unable to enter the room.Copyright © 2023. All rights reserved.