Hello, I am new to these webRTC things and I currently working on my private messaging app, but I have some issues regarding the project. It working perfectly fine with 2 users, but when the third user enters the connection I get "
Uncaught (in promise) DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Called in wrong state: stable" error. I don't know how to solve the issues. Maybe some of you have encountered this error and can help me to solve this issue.
Thanks