public class StartWebRecordRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
StartWebRecordRequest() |
StartWebRecordRequest(StartWebRecordRequest 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 |
---|---|
EmulateMobileParams |
getEmulateMobileParams()
Get Render mobile mode parameters; do not set this parameter if you are not going to render mobile mode pages.
|
Long |
getMaxDurationLimit()
Get Maximum recording duration limit, in seconds.
|
McuPublishCdnParam[] |
getPublishCdnParams()
Get If you want to push the stream to a CDN, you can use the PublishCdnParams.N parameter to set it.
|
Long |
getReadyTimeout()
Get The timeout for loading page resources during recording, in seconds.
|
String |
getRecordId()
Get When sensitive to repetitive tasks, please pay attention to this value: To avoid tasks being initiated repeatedly in a short period, leading to task duplication, pass in the recording RecordId to identify the current task.
|
String |
getRecordUrl()
Get URL of the web page to be recorded
|
Long |
getSdkAppId()
Get [Required] The SDKAppID of the TRTC room
|
StorageParams |
getStorageParams()
Get [Required] Parameters related to cloud storage.
|
WebRecordVideoParams |
getWebRecordVideoParams()
Get web-page recording video parameters
|
void |
setEmulateMobileParams(EmulateMobileParams EmulateMobileParams)
Set Render mobile mode parameters; do not set this parameter if you are not going to render mobile mode pages.
|
void |
setMaxDurationLimit(Long MaxDurationLimit)
Set Maximum recording duration limit, in seconds.
|
void |
setPublishCdnParams(McuPublishCdnParam[] PublishCdnParams)
Set If you want to push the stream to a CDN, you can use the PublishCdnParams.N parameter to set it.
|
void |
setReadyTimeout(Long ReadyTimeout)
Set The timeout for loading page resources during recording, in seconds.
|
void |
setRecordId(String RecordId)
Set When sensitive to repetitive tasks, please pay attention to this value: To avoid tasks being initiated repeatedly in a short period, leading to task duplication, pass in the recording RecordId to identify the current task.
|
void |
setRecordUrl(String RecordUrl)
Set URL of the web page to be recorded
|
void |
setSdkAppId(Long SdkAppId)
Set [Required] The SDKAppID of the TRTC room
|
void |
setStorageParams(StorageParams StorageParams)
Set [Required] Parameters related to cloud storage.
|
void |
setWebRecordVideoParams(WebRecordVideoParams WebRecordVideoParams)
Set web-page recording video parameters
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public StartWebRecordRequest()
public StartWebRecordRequest(StartWebRecordRequest source)
public String getRecordUrl()
public void setRecordUrl(String RecordUrl)
RecordUrl
- URL of the web page to be recordedpublic Long getMaxDurationLimit()
public void setMaxDurationLimit(Long MaxDurationLimit)
MaxDurationLimit
- Maximum recording duration limit, in seconds. Valid range: [1800, 36000]. Default is 36,000 seconds (10 hours).public StorageParams getStorageParams()
public void setStorageParams(StorageParams StorageParams)
StorageParams
- [Required] Parameters related to cloud storage. Currently, Tencent Cloud Object Storage and Tencent Cloud VOD are supported, but third-party cloud storage is not supported. The storage format of the output file only supports hls or mp4.public WebRecordVideoParams getWebRecordVideoParams()
public void setWebRecordVideoParams(WebRecordVideoParams WebRecordVideoParams)
WebRecordVideoParams
- web-page recording video parameterspublic Long getSdkAppId()
public void setSdkAppId(Long SdkAppId)
SdkAppId
- [Required] The SDKAppID of the TRTC roompublic String getRecordId()
public void setRecordId(String RecordId)
RecordId
- When sensitive to repetitive tasks, please pay attention to this value: To avoid tasks being initiated repeatedly in a short period, leading to task duplication, pass in the recording RecordId to identify the current task. The RecordId should be less than 32 bytes. If you carry the RecordId and initiate the start recording request more than once, only one task will be started, and the second one will report the error FailedOperation.TaskExist. Note that if the StartWebRecord call fails with an error other than FailedOperation.TaskExist, please change the RecordId and initiate the request again.public McuPublishCdnParam[] getPublishCdnParams()
public void setPublishCdnParams(McuPublishCdnParam[] PublishCdnParams)
PublishCdnParams
- If you want to push the stream to a CDN, you can use the PublishCdnParams.N parameter to set it. It supports pushing streams to up to 10 CDN addresses simultaneously. If the relay address is a Tencent Cloud CDN, please explicitly set IsTencentCdn to 1.public Long getReadyTimeout()
public void setReadyTimeout(Long ReadyTimeout)
ReadyTimeout
- The timeout for loading page resources during recording, in seconds. The default value is 0 seconds. This value must be greater than or equal to 0 seconds and less than or equal to 60 seconds. If page load timeout detection is not enabled for the recording page, please do not set this parameter.public EmulateMobileParams getEmulateMobileParams()
public void setEmulateMobileParams(EmulateMobileParams EmulateMobileParams)
EmulateMobileParams
- Render mobile mode parameters; do not set this parameter if you are not going to render mobile mode pages.Copyright © 2025. All rights reserved.