Canvas-Designer
Canvas-Designer copied to clipboard
I am trying to disconnect a single user using the user-id of the user. How can i do this????
I went through your document on rtcmulticonnect.js i am trying to eject a particular user using the connection.eject but i get errors currently i am using rtcMulticonnect-v3.js and i use socket.io for signalling purpose. If i replace it with rtcmulticonnect i start getting errors for firebase connection.
You can use connection.disconnectWith
method. E.g.
connection.disconnectWith('remote-userid');
RTCMultiConnection-v3.0 API Reference: https://github.com/muaz-khan/RTCMultiConnection#api