Skip to content
Advertisement

Tag: aiortc

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

Advertisement