Is there any way to close the live streaming from a host (even if there are multiple hosts exist)?

433 Views Asked by At

Assume multiple hosts are contributing to a stream. If one of the speaker/host closes/exits from the stream. The stream should be closed for all the speakers. Is there any way to achieve this in agora web sdk ng?

1

There are 1 best solutions below

0
On

You could use Agora's Real Time Messaging to send a message to all hosts asking to end the stream and once that particular message is received, you can call the close stream function for all speakers, hosts and audience.