StopMix
https://rtc-api.zego.im/
Call this API to stop stream mixing. For related callbacks, please refer to Stream Mixing End Callback.
- When the current stream mixing task (hereinafter referred to as "Stream Mixing Task A") is still in progress, if the developer starts a new stream mixing task (hereinafter referred to as "Stream Mixing Task B"), Stream Mixing Task A will not stop automatically. Only after 90 seconds from when all input streams of Stream Mixing Task A no longer exist, will it automatically end.
- When using the stream mixing function of ZEGO Audio/Video Cloud Service, developers should pay attention: when starting Stream Mixing Task B, Stream Mixing Task A should be stopped, to avoid the situation where the host has already started Stream Mixing Task B to mix with other hosts, but the audience is still pulling the output stream of Stream Mixing Task A.
Request
Query Parameters
Possible values: [StopMix]
Interface prototype parameters
https://rtc-api.zego.im?Action=StopMix
💡Public parameter. Application ID, assigned by ZEGOCLOUD. Get it from the ZEGOCLOUD Admin Console.
💡Common parameter. A 16-character hexadecimal random string (hex-encoded 8-byte random number). For the generation algorithm, refer to the signature example.
💡Common parameter. Current Unix timestamp in seconds. For the generation algorithm, refer to the signature example. A maximum deviation of 10 minutes is allowed.
💡Common parameter. Signature used to verify the legitimacy of the request. Please refer to the signature mechanism to generate it.
Possible values: [2.0]
Default value: 2.0
💡Public parameter. Signature version number.
- application/json
Responses
- 200
- application/json
