How to reconnect a connected webRTC peer to another peer?

142 Views Asked by At

I have my client A and client B connected to each other. However I wish to disconnect my client A and connect it to client C. How can I achieve that?

1

There are 1 best solutions below

0
Sean DuBois On

That isn't possible. Why not create a new PeerConnection and negotiate the session?

You could maybe find a hacky way to make it work with a ICE + DTLS Restart. It would be undefined behavior/not supported by all clients.