{"library":"aiortc","type":"library","category":null,"description":"aiortc is a Python library that provides an implementation of Web Real-Time Communication (WebRTC) and Object Real-Time Communication (ORTC). Built on Python's asynchronous I/O framework asyncio, it enables the exchange of audio, video, and data channels. The library's API closely mirrors its JavaScript counterpart, utilizing coroutines instead of promises and `pyee.EventEmitter` for event handling. Currently at version 1.14.0, aiortc is actively maintained with regular updates to support WebRTC specification changes and introduce new codecs or features, and its interoperability is regularly tested against Chrome and Firefox.","language":"python","status":"active","version":"1.14.0","tags":["webrtc","ortc","asyncio","real-time","video","audio","data-channel","networking"],"last_verified":"Thu May 21","install":[{"cmd":"pip install aiortc","imports":["from aiortc import RTCPeerConnection","from aiortc import RTCSessionDescription","from aiortc import RTCConfiguration","from aiortc.mediastreams import MediaStreamTrack","from aiortc.mediastreams import VideoStreamTrack","from aiortc.mediastreams import AudioStreamTrack","from aiortc import RTCDataChannel","from aiortc import RTCCertificate","from aiortc import RTCCertificate, generateCertificate","from aiortc.contrib.media import MediaRelay","from aiortc.contrib.media import MediaPlayer"]},{"cmd":"pip install aiohttp aiortc opencv-python","imports":[]}],"homepage":"https://aiortc.org","github":"https://github.com/aiortc/aiortc","docs":"https://aiortc.readthedocs.io/","changelog":"https://aiortc.readthedocs.io/en/stable/changelog.html","pypi":"https://pypi.org/project/aiortc/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":60,"avg_install_s":7.2,"avg_import_s":1.08,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/aiortc/compatibility"}}