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

Usage note

A PVW scene is a preview scene. A PGM scene is a program scene.

QPS limit

A single user can perform a maximum of 10 queries per second (QPS). Throttling is triggered when the number of calls per second exceeds the QPS limit. The throttling may affect your business. Thus, we recommend that you observe the QPS limit on this operation. For more information about what a single user means and the QPS details, see QPS limit on an API operation in ApsaraVideo Live.

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 9ff2d96b-37ef-40a3-8cb0-4c7b1e2e****

The ID of the production studio.

If you create a production studio through the CreateCaster interface, check the value of the CasterId parameter in the response.

If you create a production studio through the ApsaraVideo Live Console, log in to the console, then check the ID of the production studio through the following path:

Production Studios > Production Studio Management

Note The CasterId is reflected in the Name column on the Production Studio Management page.
FromSceneId String Yes f1a361f4-bee3-436d-ae6e-d38e6943****

The ID of the source preview scene. For more information about the scene types, see Query the scenes of production studios.

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

The ID of the destination program scene. For more information about the scene types, see Query the scenes of production studios.

RegionId String No cn-shanghai

The ID of the region.

Response parameters

Parameter Type Example Description
RequestId String CF60DB6A-7FD6-426E-9288-122CC1A52FA7

The ID of the request.

Examples

Sample requests

http(s)://live.aliyuncs.com/?Action=CopyCasterSceneConfig
&CasterId=9ff2d96b-37ef-40a3-8cb0-4c7b1e2e****
&FromSceneId=f1a361f4-bee3-436d-ae6e-d38e6943****
&ToSceneId=05ab713c-676e-49c0-96ce-cc408da1****
&<Common request parameters>

Sample success responses

XML format

<CopyCasterSceneConfigResponse>
      <RequestId>CF60DB6A-7FD6-426E-9288-122CC1A52FA7</RequestId>
</CopyCasterSceneConfigResponse>

JSON format

{
    "RequestId": "CF60DB6A-7FD6-426E-9288-122CC1A52FA7"
}

Error codes

For a list of error codes, visit the API Error Center.