StartCloudRecord
Start a cloud recording task.
Operation description
Usage notes
Start cloud recording for an online channel.
QPS limit
The maximum queries per second (QPS) for this operation is 10 per user. Requests that exceed this limit are throttled, which may affect your business. Call this operation at a reasonable rate.
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 view the application ID in the console. Only one application ID is supported. |
eo85**** |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ChannelId |
string |
Yes |
The existing channel ID. Only one channel ID is supported. |
testid |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TemplateId |
string |
Yes |
The template ID. |
567 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TaskId |
string |
No |
The task ID of this cloud recording task. Only one task ID is supported. The task ID can contain letters, digits, underscores (_), and hyphens (-). Maximum length: 55 bytes. |
123 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CropMode |
integer |
No |
The cropping mode. Valid values:
|
2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ReservePaneForNoCameraUser |
boolean |
No |
A placeholder for user panes when no camera stream is pushed. The default value is true, which reserves a pane for users who do not push a camera stream. If you set this parameter to false, no pane is reserved for users without a camera stream. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ShowDefaultBackgroundOnMute |
boolean |
No |
Show the default background image for muted users.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SubHighResolutionStream |
boolean |
No |
Subscribe to high-resolution streams.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| StartWithoutChannel |
boolean |
No |
Start the recording task even if the channel does not exist.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| StartWithoutChannelWaitTime |
integer |
No |
The wait time before starting the recording task if the channel does not exist. This parameter takes effect only when StartWithoutChannel is set to true. Unit: seconds. Valid values: 30 to 120. |
30 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annotation |
string |
No |
Enable or disable annotation. |
disable |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| StorageConfig |
object |
Yes |
Storage configuration. |
testid |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Vendor |
integer |
Yes |
The storage platform. Valid values:
|
1 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Region |
integer |
Yes |
The storage region.
|
0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bucket |
string |
Yes |
The bucket name. |
test-bucket-for-recording |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AccessKey |
string |
Yes |
The AccessKey. Grant the RAM user associated with this AccessKey the write permission on the Object Storage Service product of the corresponding cloud provider. Otherwise, the recording files cannot be written to the bucket. |
LTAX*** |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SecretKey |
string |
Yes |
The SecretKey. |
APb6qWYEzKtYxE*** |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Endpoint |
string |
No |
The private endpoint for Apsara Stack. |
https://aliyuns.dalian.oss.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Panes |
array<object> |
No |
Cell configuration settings. |
eo85**** |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
array<object> |
No |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| VideoOrder |
string |
No |
The order in which video sources are filled when SourceType is set to video.
|
cameraFirst |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SourceType |
string |
No |
The media type of the pane. Valid values:
|
video |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Images |
array<object> |
No |
Local image watermarks for panes. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
object |
No |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PaneImageCropMode |
integer |
No |
The cropping mode. Valid values:
|
2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Alpha |
number |
No |
The transparency level. |
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 image content cannot be updated during streaming. |
https://aliyun.com/123xx.jpg |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Display |
string |
No |
When to display the watermark.
|
backup |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Texts |
array<object> |
No |
Local text watermarks for panes. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
array<object> |
No |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BoxBorderw |
integer |
No |
The border width of the bounding 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 watermark content. |
文字水印 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Layer |
integer |
No |
The z-axis layer. |
0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Font |
integer |
No |
The font. Valid values:
|
0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BoxColor |
object |
No |
The bounding box color. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 watermark transparency. |
0.9 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| X |
number |
Yes |
The x-coordinate. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| HasBox |
boolean |
No |
Whether to draw a bounding box. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Y |
number |
Yes |
The y-coordinate. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BoxAlpha |
number |
No |
The bounding box transparency. |
0.6 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Display |
string |
No |
When to display the watermark.
|
backup |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PaneCropMode |
integer |
No |
The cropping mode. Valid values:
|
3 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PaneId |
integer |
Yes |
The layout ID. Starts from 0. |
0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Source |
string |
No |
The media source for the pane. You can specify a user ID. To specify a particular user type, use wildcards. Supported wildcards:
|
22 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Backgrounds |
array<object> |
No |
Background images. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
object |
No |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Alpha |
number |
No |
The transparency level. |
0.9 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| X |
number |
Yes |
The x-coordinate. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Y |
number |
Yes |
The y-coordinate. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PaneBackgroundCropMode |
integer |
No |
The cropping mode. 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 image URL. |
https://aliyun.com/123xx.jpg |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Display |
string |
No |
When to display the background image.
|
backup |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Whiteboard |
object |
No |
Whiteboard configuration. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| WhiteboardId |
string |
No |
The whiteboard ID. Default value: default. |
default |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ReservePaneForOfflineUser |
boolean |
No |
If set to true, reserve a pane when the specified user or wildcard user goes offline. Default value: true. If set to false, display video streams in auto-fill order when the specified user or wildcard user goes offline. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Images |
array<object> |
No |
Global image watermarks. |
disable |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
object |
No |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Alpha |
number |
No |
The transparency level. |
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 cropping mode. 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 |
Background images. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
object |
No |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BackgroundCropMode |
integer |
No |
The cropping mode. Valid values:
|
2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Alpha |
number |
No |
The transparency level. |
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 image URL. |
https://aliyun.com/123.jpg |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Texts |
array<object> |
No |
Global text watermarks. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
array<object> |
No |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BoxBorderw |
integer |
No |
The border width of the bounding box. |
5 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BoxColor |
object |
No |
The bounding box color. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 watermark transparency. |
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 |
Whether to draw a bounding box. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Y |
number |
Yes |
The y-coordinate. |
0.2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Texture |
string |
Yes |
The watermark content. |
文字水印 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Layer |
integer |
No |
The z-axis layer. |
0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Font |
integer |
No |
The font. Valid values:
|
0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BoxAlpha |
number |
No |
The bounding box transparency. |
0.6 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ClockWidgets |
array<object> |
No |
Global clock watermarks. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
array<object> |
No |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BoxBorderw |
integer |
No |
The border width of the bounding box. |
5 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BoxColor |
object |
No |
The bounding box color. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 clock font size. |
30 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Zone |
integer |
No |
The time zone. |
8 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Alpha |
number |
No |
The transparency level. |
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 |
Whether to draw a bounding 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 bounding box transparency. |
0.6 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RegionColor |
object |
No |
The global pane background color. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| R |
integer |
No |
R. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| G |
integer |
No |
G. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| B |
integer |
No |
B |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BgColor |
object |
No |
The global background color. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| R |
integer |
No |
R. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| G |
integer |
No |
G. |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| B |
integer |
No |
B |
255 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| LayoutSpecifiedUsers |
object |
No |
The list of specified users for layout generation. This includes blacklists and whitelists. Whitelist: Subscribes to the video streams of specified users in the channel.
Blacklist: Does not subscribe to the video streams of specified users in the channel.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Type |
string |
Yes |
The type of user list. `black` for blacklist, `white` for whitelist. |
white |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Ids |
array |
Yes |
A list of specified user IDs. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
string |
Yes |
A specific user ID. |
123 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RecordMode |
integer |
No |
0: Composite recording. Default value. 1: Individual recording. Individual recording does not support updates. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SingleStreamingRecord |
object |
No |
Parameters for individual recording. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AvMerge |
boolean |
No |
Merge audio files into the video file. Default value: false. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SpecifiedStreams |
array<object> |
Yes |
The stream to record in single-stream recording mode. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
object |
No |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| StreamType |
string |
Yes |
The stream type. Valid values:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Type |
string |
No |
The type of blacklist or whitelist for individual stream recording.
|
white |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Ids |
array |
Yes |
A list of user IDs. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
string |
Yes |
A user ID. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TranscodingParameters |
object |
No |
By default, individual recordings are saved in MP3 format. Specify this parameter if transcoding is needed. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Audio |
object |
No |
Audio encoding. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bitrate |
integer |
No |
The bitrate in kbps. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Codec |
string |
No |
The audio codec format. Optional:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SampleRate |
integer |
No |
The sample rate. Optional:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Container |
string |
No |
The recording file container.
|
aac |
The total number of local image watermarks, local background image watermarks, global image watermarks, or global background images must not exceed 16.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
result |
||
| TaskId |
string |
The task ID for this 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.