WebRTC offers two primary methods for setting up voice agent connections in the cloud: traditional server-based routing and a newer serverless approach. The serverless method, exemplified by the Pipecat SmallWebRTCTransport built on the Python aiortc library, is recommended for those deploying their own infrastructure due to its reduced complexity and the ability to integrate directly into client and agent SDKs. While serverless WebRTC is optimal for one-on-one connections with lower latency and higher reliability, server-based WebRTC is necessary for scenarios with multiple participants or video requirements due to its sophisticated network adaptations and global reach. Commercial WebRTC clouds, like Daily, provide robust infrastructure for large-scale deployments, offering features such as mesh routing and auto-scaling to enhance reliability and latency. Pipecat, a vendor-neutral toolkit, supports both serverless and cloud WebRTC, allowing flexibility depending on specific use cases, with Pipecat Cloud bundling Daily's WebRTC without additional costs for comprehensive voice agent solutions.