logo
On this page

StopRecord

POST

https://cloudrecord-api.zego.im/

Call this API to stop cloud recording.

After successfully calling the StopRecord API, the cloud recording service will exit the recording room and upload the recording files to the configured third-party cloud storage.

Note
Call frequency limit: 50 times/second

Request

Query Parameters

    Action stringrequired

    Possible values: [StopRecord]

    API prototype parameter

    https://cloudrecord-api.zego.im?Action=StopRecord

    AppId uint32required

    💡Common parameter. Application ID, a unique credential assigned by ZEGOCLOUD. You can obtain it from the ZEGOCLOUD Console.

    SignatureNonce stringrequired

    💡Common parameter. A 16-character hexadecimal random string (hex encoding of an 8-byte random number). For the generation algorithm, refer to Signature Example.

    Timestamp int64required

    💡Common parameter. Current Unix timestamp in seconds. For the generation algorithm, refer to Signature Example. A maximum error of 10 minutes is allowed.

    SignatureVersion stringrequired

    Possible values: [2.0]

    Default value: 2.0

    💡Common parameter. Signature version number.

    Signature stringrequired

    💡Common parameter. Signature used to verify the legitimacy of the request. Please refer to Signature Mechanism for generation.

Body

required
    TaskId stringrequired

    Recording task ID, a fixed-length string of 16 bytes.

Responses​

OK
Schema
    Code int64

    Error code.

    Message string

    Error description.

    RequestId string

    Request ID.

Previous

Start recording

Next

Update the mixed stream layout

On this page

Back to top