public class StartOnlineRecordRequest extends AbstractModel
skipSign
Constructor and Description |
---|
StartOnlineRecordRequest() |
StartOnlineRecordRequest(StartOnlineRecordRequest 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 |
---|---|
Boolean |
getAudioFileNeeded()
Get Whether to return the audio-only recording file of different streams in the result callback.
|
Long |
getAutoStopTimeout()
Get Recording timeout.
|
String |
getChatGroupId()
Get
|
Concat |
getConcat()
Get Real-time recording video splicing parameter
|
String |
getExtraData()
Get Internal parameter.
|
String[] |
getExtras()
Get List of advanced features used
List of possible values:
MIX_STREAM - Stream mixing feature
|
String |
getGroupId()
Get (Disused) IM group ID of the whiteboard.
|
MixStream |
getMixStream()
Get Real-time recording stream mixing parameter
Notes:
1.
|
RecordControl |
getRecordControl()
Get A group of real-time recording parameters.
|
String |
getRecordMode()
Get
|
String |
getRecordUserId()
Get User ID used by the recording service for entering a room.
|
String |
getRecordUserSig()
Get Signature corresponding to RecordUserId
|
Long |
getRoomId()
Get ID of the room for recording.
|
Long |
getSdkAppId()
Get SdkAppId of the customer
|
Whiteboard |
getWhiteboard()
Get Real-time recording whiteboard parameter, such as the whiteboard width and height
|
void |
setAudioFileNeeded(Boolean AudioFileNeeded)
Set Whether to return the audio-only recording file of different streams in the result callback.
|
void |
setAutoStopTimeout(Long AutoStopTimeout)
Set Recording timeout.
|
void |
setChatGroupId(String ChatGroupId)
Set
|
void |
setConcat(Concat Concat)
Set Real-time recording video splicing parameter
|
void |
setExtraData(String ExtraData)
Set Internal parameter.
|
void |
setExtras(String[] Extras)
Set List of advanced features used
List of possible values:
MIX_STREAM - Stream mixing feature
|
void |
setGroupId(String GroupId)
Set (Disused) IM group ID of the whiteboard.
|
void |
setMixStream(MixStream MixStream)
Set Real-time recording stream mixing parameter
Notes:
1.
|
void |
setRecordControl(RecordControl RecordControl)
Set A group of real-time recording parameters.
|
void |
setRecordMode(String RecordMode)
Set
|
void |
setRecordUserId(String RecordUserId)
Set User ID used by the recording service for entering a room.
|
void |
setRecordUserSig(String RecordUserSig)
Set Signature corresponding to RecordUserId
|
void |
setRoomId(Long RoomId)
Set ID of the room for recording.
|
void |
setSdkAppId(Long SdkAppId)
Set SdkAppId of the customer
|
void |
setWhiteboard(Whiteboard Whiteboard)
Set Real-time recording whiteboard parameter, such as the whiteboard width and height
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public StartOnlineRecordRequest()
public StartOnlineRecordRequest(StartOnlineRecordRequest source)
public Long getSdkAppId()
public void setSdkAppId(Long SdkAppId)
SdkAppId
- SdkAppId of the customerpublic Long getRoomId()
public void setRoomId(Long RoomId)
RoomId
- ID of the room for recording. Value range: (1, 4294967295)public String getRecordUserId()
public void setRecordUserId(String RecordUserId)
RecordUserId
- User ID used by the recording service for entering a room. The ID cannot exceed 60 bytes in length. Its format is `tic_record_user_${RoomId}_${Random}`, where `${RoomId}` indicates the ID of the room for recording and `${Random}` is a random string.
The ID must be an unused ID in the SDK. The recording service uses the user ID to enter the room for audio, video, and whiteboard recording. If this ID is already used in the SDK, the SDK and recording service will conflict, affecting the recording operation.public String getRecordUserSig()
public void setRecordUserSig(String RecordUserSig)
RecordUserSig
- Signature corresponding to RecordUserIdpublic String getGroupId()
public void setGroupId(String GroupId)
GroupId
- (Disused) IM group ID of the whiteboard. By default, it is the same as the room ID.public Concat getConcat()
public void setConcat(Concat Concat)
Concat
- Real-time recording video splicing parameterpublic Whiteboard getWhiteboard()
public void setWhiteboard(Whiteboard Whiteboard)
Whiteboard
- Real-time recording whiteboard parameter, such as the whiteboard width and heightpublic MixStream getMixStream()
public void setMixStream(MixStream MixStream)
MixStream
- Real-time recording stream mixing parameter
Notes:
1. The stream mixing feature needs to be enabled separately. If you need the feature, contact TIW customer service.
2. To use the stream mixing feature, the Extras parameter is required and must contain "MIX_STREAM".public String[] getExtras()
public void setExtras(String[] Extras)
Extras
- List of advanced features used
List of possible values:
MIX_STREAM - Stream mixing featurepublic Boolean getAudioFileNeeded()
public void setAudioFileNeeded(Boolean AudioFileNeeded)
AudioFileNeeded
- Whether to return the audio-only recording file of different streams in the result callback. The file format is mp3.public RecordControl getRecordControl()
public void setRecordControl(RecordControl RecordControl)
RecordControl
- A group of real-time recording parameters. It specifies the streams to be recorded, whether to disable the audio recording, and whether to record only low-resolution videos, etc.public String getRecordMode()
public void setRecordMode(String RecordMode)
RecordMode
- public String getChatGroupId()
public void setChatGroupId(String ChatGroupId)
ChatGroupId
- public Long getAutoStopTimeout()
public void setAutoStopTimeout(Long AutoStopTimeout)
AutoStopTimeout
- Recording timeout. Unit: seconds. Valid range: [300,86400]. Default value: 300.
If no upstream audio/video exists or no operation is performed on the whiteboard for the specified period of time, the recording service automatically stops the recording task.public String getExtraData()
public void setExtraData(String ExtraData)
ExtraData
- Internal parameter. You can ignore this parameter.Copyright © 2023. All rights reserved.