logo
On this page

How to pass mixed stream name information between different users?

2022-11-16
Products / Plugins:Video Call / Audio Call / Live streaming
Platform / Framework:All

ZegoExpress SDK provides the following two methods:

  • Use stream extra information: Users call the setStreamExtraInfo interface to pass in, and other users in the same room get the stream extra information by listening to the onRoomStreamExtraInfoUpdate callback.
  • Use custom signaling: Call the sendCustomCommand interface to send stream name information to a specified user, and the user gets the corresponding information by listening to the onIMRecvCustomCommand callback.
Note

Users can also use their own signaling service to send and receive mixed stream name information.

Previous

In scenarios where rooms need to be switched frequently, the rendering speed of the playing stream's screen is relatively slow. How to optimize it?

Next

When the ZIM server "query user online status" interface returns error code 660200001, how should this be handled?