APIs overview
Cloud player provides the following related API interfaces and callbacks, which can be called by referring to the Accessing Server APIs.
Interface Name | Interface Function | Call Frequency Limit |
|---|---|---|
| Create a cloud player | Create a cloud player to play media resources in a specified room. | 20 times/second |
| Update a cloud player | Update the playback progress, audio transcoding parameters, video transcoding parameters, etc. of a specified cloud player. | 20 times/second |
| Destroy a cloud player | Destroy a specified cloud player. | 20 times/second |
| Query the task list of a cloud player | Query the task list of the cloud player, including all states such as created, running, and destroyed. | 10 times/second |
| Create an upload task | Create an upload task to upload URL-based online resources to OSS. After the upload, the cloud player cluster in the same region can fetch the playback resources via the internal network stream address, ensuring the stability of the resource transfer process. | 20 times/second |
| Cancel an upload task | Cancel an upload task. | 20 times/second |
| Describe upload tasks | Get details of a single or multiple upload tasks. | 20 times/second |
| Callback | Receive real-time cloud player status change events and upload task-related events through this callback in real time.Please note that you need to contact ZEGO technical support to configure the callback address. | - |
