Skip to content
Advertisement

Tag: webrtc

How to know when a browser peer is disconnected in aiortc?

Error: It’s the first property in the documentation of aiortc but i cannot retrieved it. Note: I also tried with connectionstatechange event but either that worked. Edit: That’s the methods the pc object has: Answer aiortc uses pyee for making aiortc event-driven and as you can see in the official GitHub example (webcam/webcam.py), you must put an event listener on

Failed to set remote answer sdp: Called in wrong state: stable

I am trying to write a WebRTC application using socket.io. The signalling server is written in python and looks like this. The client side looks like this Also i use this code for client as socket.io https://github.com/socketio/socket.io/blob/master/client-dist/socket.io.js When two people are in the connection, everything works great. But as soon as a third user tries to connect to them, the

Advertisement