Canvas-Designer icon indicating copy to clipboard operation
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????

Open creedrahul opened this issue 9 years ago • 1 comments

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.

creedrahul avatar Jan 19 '16 08:01 creedrahul

You can use connection.disconnectWith method. E.g.

connection.disconnectWith('remote-userid');

RTCMultiConnection-v3.0 API Reference: https://github.com/muaz-khan/RTCMultiConnection#api

muaz-khan avatar Jan 19 '16 08:01 muaz-khan