Disconnect from the room, and close the websocket connection. Tries to leave the room gracefully, but if it fails, it will close the websocket anyway.
Connects to the server using the websocket connection. If jellyfish server is in local network, on iOS devices make sure to grant local network permission before calling this function. Otherwise, the function will fail unless the user grants that permission.
websocket url
token used to authenticate when joining the room
Connects to the server using the websocket connection. If jellyfish server is in local network, on iOS devices make sure to grant local network permission before calling this function. Otherwise, the function will fail unless the user grants that permission.
websocket url
token used to authenticate when joining the room
Tries to join the room. If user is accepted then onJoinSuccess will be called. In other case onJoinError is invoked.
Any information that other peers will receive in onPeerJoined after accepting this peer.
Tries to join the room. If user is accepted then onJoinSuccess will be called. In other case onJoinError is invoked.
Any information that other peers will receive in onPeerJoined after accepting this peer.
Leaves the room. This function should be called when user leaves the room in a clean way e.g. by clicking a
dedicated, custom button disconnect
. As a result there will be generated one more media event that should be sent
to the RTC Engine. Thanks to it each other peer will be notified that peer left in MessageEvents.onPeerLeft.
Leaves the room. This function should be called when user leaves the room in a clean way e.g. by clicking a
dedicated, custom button disconnect
. As a result there will be generated one more media event that should be sent
to the RTC Engine. Thanks to it each other peer will be notified that peer left in MessageEvents.onPeerLeft.
Generated using TypeDoc
Disconnect from the room, and close the websocket connection. Tries to leave the room gracefully, but if it fails, it will close the websocket anyway.