StartCloudRecord
Starts a cloud recording task.
Operation description
Usage notes
This operation starts a cloud recording task for an online channel.
QPS limit
The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation at a reasonable frequency.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rtc:StartCloudRecord |
create |
*App
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AppId |
string |
Yes |
The application ID. You can create and query the ID in the console. Only a single ID is supported. |
eo85**** |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ChannelId |
string |
Yes |
The ID of an existing channel. Only a single ID is supported. |
testid |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TemplateId |
string |
Yes |
The template ID. |
567 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TaskId |
string |
No |
The task ID of the cloud recording task. Only a single ID is supported. The ID can contain letters, digits, underscores (_), and hyphens (-), and can be up to 55 bytes in length. |
123 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CropMode |
integer |
No |
The crop mode. Valid values:
Valid values:
|
2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ReservePaneForNoCameraUser |
boolean |
No |
Specifies whether to reserve a pane for a user who does not publish a camera stream. Default value: true. A value of true indicates that a pane is reserved. A value of false indicates that no pane is reserved. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ShowDefaultBackgroundOnMute |
boolean |
No |
Specifies whether to display the default background image of the pane when the user is muted. Valid values:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SubHighResolutionStream |
boolean |
No |
Specifies whether to subscribe to high-resolution streams. Valid values:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| StartWithoutChannel |
boolean |
No |
Specifies whether to allow starting the task when the channel does not exist. Valid values:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| StartWithoutChannelWaitTime |
integer |
No |
The wait time for the task when the channel is not started, in seconds. This parameter takes effect only when the StartWithoutChannel parameter is set to true. Valid values: 30 to 120. |
30 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annotation |
string |
No |
Specifies whether to enable the annotation feature. Valid values:
|
disable |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| StorageConfig |
object |
Yes |
The storage configuration. |
testid |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Vendor |
integer |
Yes |
The storage platform. Valid values:
|
1 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Region |
integer |
Yes |
The storage region.
|
0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bucket |
string |
Yes |
The name of the bucket. |
test-bucket-for-recording |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AccessKey |
string |
Yes |
The AccessKey. Make sure that the RAM user associated with the AccessKey pair is granted the write permissions on the object storage service of the corresponding cloud provider. Otherwise, the result files fail to be written. |
LTAX*** |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SecretKey |
string |
Yes |
secretKey |
APb6qWYEzKtYxE*** |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Endpoint |
string |
No |
The private endpoint for Apsara Stack. |
https://aliyuns.dalian.oss.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Panes |
array<object> |
No |
The pane settings. You can configure up to 16 panes. |
eo85**** |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
array<object> |
No |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| VideoOrder |
string |
No |
The fill order when SourceType is set to video. Valid values:
Valid values:
|
cameraFirst |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SourceType |
string |
No |
The media type of the pane. Valid values:
Valid values:
|
video |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Images |
array<object> |
No |
The local image watermarks for the pane. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
object |
No |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PaneImageCropMode |
integer |
No |
The crop mode of the image. Valid values:
Valid values:
|
2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Alpha |
number |
No |
The transparency of the image. |
0.9 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| X |
number |
Yes |
The x-coordinate. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Y |
number |
Yes |
The y-coordinate. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Height |
number |
Yes |
The height. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Width |
number |
Yes |
The width. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Layer |
integer |
No |
The z-axis layer. |
0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Url |
string |
Yes |
The URL of the image. The image content cannot be updated during stream ingest. |
https://aliyun.com/123xx.jpg |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Display |
string |
No |
The condition for displaying the watermark. Valid values:
Valid values:
|
backup |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Texts |
array<object> |
No |
The local text watermarks for the pane. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
array<object> |
No |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BoxBorderw |
integer |
No |
The border width of the text box. |
5 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FontColor |
object |
No |
The font color. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| R |
integer |
No |
The red component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| B |
integer |
No |
The blue component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| G |
integer |
No |
The green component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Texture |
string |
Yes |
The content of the watermark. |
Text watermark |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Layer |
integer |
No |
The z-axis layer. |
0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Font |
integer |
No |
The font. Valid values:
|
0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BoxColor |
object |
No |
The color of the text box. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| R |
integer |
No |
The red component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| B |
integer |
No |
The blue component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| G |
integer |
No |
The green component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FontSize |
integer |
No |
The font size. |
36 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Alpha |
number |
No |
The transparency of the watermark. |
0.9 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| X |
number |
Yes |
The x-coordinate. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| HasBox |
boolean |
No |
Specifies whether to display a text box. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Y |
number |
Yes |
The y-coordinate. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BoxAlpha |
number |
No |
The transparency of the text box. |
0.6 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Display |
string |
No |
The condition for displaying the watermark. Valid values:
Valid values:
|
backup |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PaneCropMode |
integer |
No |
The crop mode of the image. Valid values:
Valid values:
|
3 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PaneId |
integer |
Yes |
The ID of the pane. The value starts from 0. |
0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Source |
string |
No |
The media source of the pane. You can specify a user ID. To specify a specific user type, you can use wildcard configurations. The following wildcard types are supported:
|
22 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Backgrounds |
array<object> |
No |
The local background images for the pane. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
object |
No |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Alpha |
number |
No |
The transparency of the image. |
0.9 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| X |
number |
Yes |
The x-coordinate. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Y |
number |
Yes |
The y-coordinate. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PaneBackgroundCropMode |
integer |
No |
The crop mode of the image. Valid values:
Valid values:
|
2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Height |
number |
Yes |
The height. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Width |
number |
Yes |
The width. |
0.3 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Layer |
integer |
No |
The z-axis layer. |
0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Url |
string |
Yes |
The URL of the image. |
https://aliyun.com/123xx.jpg |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Display |
string |
No |
The condition for displaying the background image. Valid values:
Valid values:
|
backup |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Whiteboard |
object |
No |
The whiteboard configurations. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| WhiteboardId |
string |
No |
The ID of the whiteboard. Default value: default. |
default |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ReservePaneForOfflineUser |
boolean |
No |
Specifies whether to reserve the pane as a placeholder for users who have not joined the meeting. Default value: true. A value of true indicates that if the specific user or wildcard user specified for the pane is offline, the pane is forcibly reserved as a placeholder. A value of false indicates that if the specific user or wildcard user specified for the pane is offline, video streams are displayed based on the automatic fill order. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Images |
array<object> |
No |
The global image watermarks. |
disable |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
object |
No |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Alpha |
number |
No |
The transparency of the image. |
0.9 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| X |
number |
Yes |
The x-coordinate. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Y |
number |
Yes |
The y-coordinate. |
0.3 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Height |
number |
Yes |
The height. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ImageCropMode |
integer |
No |
The crop mode of the image. Valid values:
Valid values:
|
2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Width |
number |
Yes |
The width. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Layer |
integer |
No |
The z-axis layer. |
0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Url |
string |
Yes |
The image URL. The image content cannot be updated during stream ingest. |
https://aliyun.com/123xxx.jpg |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Backgrounds |
array<object> |
No |
The local background images for the pane. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
object |
No |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BackgroundCropMode |
integer |
No |
The crop mode of the image. Valid values:
Valid values:
|
2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Alpha |
number |
No |
The transparency of the image. |
0.9 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| X |
number |
Yes |
The x-coordinate. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Y |
number |
Yes |
The y-coordinate. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Height |
number |
Yes |
The height. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Width |
number |
Yes |
The width. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Layer |
integer |
No |
The z-axis layer. |
0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Url |
string |
Yes |
The URL of the image. |
https://aliyun.com/123.jpg |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Texts |
array<object> |
No |
The global text watermarks. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
array<object> |
No |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BoxBorderw |
integer |
No |
The border width of the text box. |
5 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BoxColor |
object |
No |
The color of the text box. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| R |
integer |
No |
The red component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| B |
integer |
No |
The blue component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| G |
integer |
No |
The green component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FontSize |
integer |
No |
The font size. |
36 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Alpha |
number |
No |
The transparency of the watermark. |
0.1 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FontColor |
object |
No |
The font color. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| R |
integer |
No |
The red component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| B |
integer |
No |
The blue component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| G |
integer |
No |
The green component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| X |
number |
Yes |
The x-coordinate. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| HasBox |
boolean |
No |
Specifies whether to display a text box. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Y |
number |
Yes |
The y-coordinate. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Texture |
string |
Yes |
The content of the watermark. |
Text watermark |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Layer |
integer |
No |
The z-axis layer. |
0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Font |
integer |
No |
The font. Valid values:
|
0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BoxAlpha |
number |
No |
The transparency of the text box. |
0.6 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ClockWidgets |
array<object> |
No |
The global clock watermark. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
array<object> |
No |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BoxBorderw |
integer |
No |
The border width of the text box. |
5 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BoxColor |
object |
No |
The color of the text box. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| R |
integer |
No |
The red component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| B |
integer |
No |
The blue component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| G |
integer |
No |
The green component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FontSize |
integer |
No |
The font size of the clock. |
30 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Zone |
integer |
No |
The time zone. |
8 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Alpha |
number |
No |
The transparency of the image. |
0.9 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FontColor |
object |
No |
The font color. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| R |
integer |
No |
The red component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| B |
integer |
No |
The blue component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| G |
integer |
No |
The green component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| X |
number |
Yes |
The x-coordinate. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| HasBox |
boolean |
No |
Specifies whether to display a text box. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Y |
number |
Yes |
The y-coordinate. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Layer |
integer |
No |
The z-axis layer. |
0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Font |
integer |
No |
The font. Valid values:
|
0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BoxAlpha |
number |
No |
The transparency of the text box. |
0.6 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RegionColor |
object |
No |
The global frame background color. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| R |
integer |
No |
The red component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| G |
integer |
No |
The green component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| B |
integer |
No |
The blue component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BgColor |
object |
No |
The global background color. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| R |
integer |
No |
The red component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| G |
integer |
No |
The green component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| B |
integer |
No |
The blue component. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| LayoutSpecifiedUsers |
object |
No |
The specified user list for layout generation, which includes Blacklist/Whitelist. Whitelist: specifies the users whose video streams are subscribed to in the room.
Blacklist: specifies the users whose video streams are not subscribed to in the room.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Type |
string |
Yes |
The type of the user list. Valid values:
Valid values:
|
white |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Ids |
array |
Yes |
The list of specified user IDs. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
string |
Yes |
The specific user ID. |
123 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RecordMode |
integer |
No |
The recording mode. Valid values:
Valid values:
|
1 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SingleStreamingRecord |
object |
No |
The parameters for single-stream recording. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AvMerge |
boolean |
No |
Specifies whether to merge the audio file into the video file. Default value: false. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SpecifiedStreams |
array<object> |
Yes |
The streams specified for single-stream recording. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
object |
No |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| StreamType |
string |
Yes |
The type of the stream. Valid values:
Valid values:
|
mic |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Type |
string |
No |
The blacklists and whitelists type for single-stream recording streams. Valid values:
Valid values:
|
white |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Ids |
array |
Yes |
The list of user IDs. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
string |
Yes |
The user ID. |
aaaaaaAaaAa_1111111111111 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TranscodingParameters |
object |
No |
The transcoding parameters. By default, single-stream recording writes files in MP3 format. Specify this parameter if transcoding is required. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Audio |
object |
No |
The audio encoding settings. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bitrate |
integer |
No |
The bitrate, in kbps. Valid values:
|
128 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Codec |
string |
No |
The audio codec format. Valid values:
Valid values:
|
mp3 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SampleRate |
integer |
No |
The sample rate. Valid values:
Valid values:
|
48000 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Container |
string |
No |
The container format for the recording file. Valid values:
Valid values:
|
aac |
The total number of local image watermarks, local background image watermarks, global image watermarks, and global background images cannot exceed 16.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
result |
||
| TaskId |
string |
The task ID of the current cloud recording. |
123 |
| RequestId |
string |
The request ID. |
16A96B9A-F203-4EC5-8E43-CB92E68F4CF8 |
Examples
Success response
JSON format
{
"TaskId": "123",
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CF8"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.