


ZEGO Cloud Recording supports RESTful API, no need to integrate SDK, you can easily start cloud recording directly through http network request.
Before you activate the cloud recording service, please make sure that you have completed the following preparations:
After completing the above preparations, please contact ZEGO technical support to activate the cloud recording service.
The following is a timing diagram of APIs that need to be called to implement cloud recording:
Before starting to record, you need to call the access_token method to obtain authentication credentials. In the following requests, you need to fill in the access_token field.
Call the start method and set the room number to enter the room for recording. If the request is successful, the corresponding recording task_id will be returned. This id is the unique identifier of the entire recording cycle and will be used as the request parameter for calling subsequent methods.
During recording, you can call the query method multiple times to query the recording status, and you can get the recording status and file upload address in the returned response.
The update_layout method can be called multiple times during the muxing recording process to update the muxing layout. For details, please refer to Set the Mixed Flow Layout.
During the whiteboard recording process, the update_whiteboard method can be called multiple times to update the whiteboard id. For details, please refer to Whiteboard Recording.
Call the stop method to stop recording.
After the recording task is stopped, the recording files will be uploaded to the pre-designated third-party cloud storage. Call the query method, and you can check the upload progress in time through the returned parameters.
After uploading the recording files, the cloud recording will call back and notify the callback address specified when the service is activated.
The recording file name contains information such as streamID and start recording time stamp. For details, please refer to the output_file_rule parameter of the start method.
Free trial
Contact us
Cont-act us