All Products
Search
Document Center

ApsaraVideo Live:CopyCasterSceneConfig

Last Updated:Jul 09, 2024

Applies the configuration of a PVW scene to a PGM scene.

Usage notes

  • You can call this operation to apply the configuration of a source scene to a destination scene. This operation takes effect only if the source scene is a PVW scene and the destination scene is a PGM scene. A PVW scene is a preview scene, and a PGM scene is a program scene.
  • The PVW scene and PGM scene must be in the same production studio.

QPS limit

You can call this operation up to 10 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation. For more information, see QPS limits.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter

Type

Required

Example

Description

Action String Yes CopyCasterSceneConfig

The operation that you want to perform. Set the value to CopyCasterSceneConfig.

CasterId String Yes LIVEPRODUCER_POST-cn-0pp1czt****

The ID of the production studio.

  • If the production studio was created by calling the CreateCaster operation, check the value of the response parameter CasterId to obtain the ID.
  • If the production studio was created by using the ApsaraVideo Live console, obtain the ID on the Production Studio Management page. To go to the page, log on to the ApsaraVideo Live console and click Production Studios in the left-side navigation pane.
Note You can find the ID of the production studio in the Instance ID/Name column.
FromSceneId String Yes f1a361f4-bee3-436d-ae6e-d38e6943****

The ID of the source scene, which must be a PVW scene.

ToSceneId String Yes 05ab713c-676e-49c0-96ce-cc408da1****

The ID of the destination scene, which must be a PGM scene.

Response parameters

Parameter

Type

Example

Description

RequestId String CF60DB6A-7FD6-426E-9288-122CC1A52FA7

The request ID.

Examples

Sample requests

http(s)://live.aliyuncs.com/?Action=CopyCasterSceneConfig
&CasterId=LIVEPRODUCER_POST-cn-0pp1czt****
&FromSceneId=f1a361f4-bee3-436d-ae6e-d38e6943****
&ToSceneId=05ab713c-676e-49c0-96ce-cc408da1****
&<Common request parameters>

Sample success responses

JSON format

HTTP/1.1 200 OK

Error codes

For a list of error codes, see Service error codes.