Repository navigation
🐈⬛ Pipecat bots on libwebrtc: a drop-in SmallWebRTC transport #280
MarshalX
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
webrtc.pipecatis now inwrtc0.2.0: a transport for Pipecat bots with the same classes, HTTP signalling and data channel messages as SmallWebRTC, running on libwebrtc, the engine browsers ship. It doesn't need aiortc, PyAV or OpenCV!pip install "wrtc[pipecat]"For the dev runner or unchanged bots,
webrtc.pipecat.install_alias()before importing Pipecat mapspipecat.transports.smallwebrtc.*onto it.@pipecat-ai/client-js1.16.0 withsmall-webrtc-transport1.11.2 works unchanged.I went through the issues and code comments around SmallWebRTC and checked each pain point against stock aiortc on Pipecat 1.15.0, with the workaround removed where Pipecat has one:
webrtc.pipecatport_range=(…)tcp_listen=TrueMeasured locally, on loopback and Linux network namespaces, so absolute numbers depend on the host. Guide: https://wrtc.marshal.dev/guides/pipecat
Not affiliated with Pipecat or Daily. Just thought it might be useful to people hitting these issues
All reactions