提交工单
咨询集成、功能及报价等问题
ZEGO's Cloud Communication Service Server APIs version 2 is a major upgrade. The new version supports proximity-based service access globally. With a unified authentication method, standardized parameters, and public error codes, it is easier to use.
Later new features will be added to v2 only. So, we recommend you use Server APIs v2 in your project. For the detailed specifications of the APIs, click the links listed in the following sections.
The old version of the Server APIs will no longer be updated. For the documentation of the old version, see Server APIs v1.
Method | Description |
---|---|
SendBroadcastMessage |
Sends a text message to all users in a room. |
SendBarrageMessage |
Sends a text message to all users in a room without guaranteeing the message delivery. |
SendCustomCommand |
Sends a custom signaling message to one or more specified users in a room. |
KickoutUser |
Kicks a user out of a room. |
AddStream |
Adds a stream to a room. |
DeleteStream |
Deletes a stream from a room. |
DescribeSimpleStreamList |
Obtains a stream list. |
Method | Description |
---|---|
ForbidCDNLiveStream |
Forbids a stream to be published to CDN. |
ResumeCDNLiveStream |
Re-enables a forbidden stream to be published to CDN. |
ForbidRTCStream |
Forbids a stream on RTC Server. |
ResumeRTCStream |
Resumes a stream on RTC Server. |
DescribeRTCStreamState |
Gets a stream status on RTC Server. |
CreatCDNTransferRule |
Starts forwarding a stream to CDN. |
DeleteCDNTransferRule |
Stops forwarding a stream to CDN. |
ClearCDNTransferRule |
Clears tasks of stream forwarding to CDN. |
Method | Description |
---|---|
StartCDNRecrod |
Starts recording specified live streams on CDN. |
StopCDNRecord |
Stops recording specified live streams on CDN. |