{"id":23140,"library":"pipecat-ai-small-webrtc-prebuilt","title":"Pipecat AI Small WebRTC Prebuilt","description":"A simple, ready-to-use client for testing the SmallWebRTCTransport in the Pipecat AI framework. Version 2.5.0 requires Python >=3.10. Provides a prebuilt WebRTC client to quickly validate voice pipelines without building a full UI.","status":"active","version":"2.5.0","language":"python","source_language":"en","source_url":"https://github.com/pipecat-ai/pipecat-ai","tags":["webrtc","voice","ai","pipeline","testing"],"install":[{"cmd":"pip install pipecat-ai-small-webrtc-prebuilt","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Core library providing SmallWebRTCTransport and pipeline components.","package":"pipecat-ai","optional":false},{"reason":"Used for WebRTC signaling and HTTP requests.","package":"aiohttp","optional":false}],"imports":[{"note":"Incorrect path; the transport is in the adapters submodule.","wrong":"from pipecat.transports.small_webrtc import SmallWebRTCTransport","symbol":"SmallWebRTCTransport","correct":"from pipecat.transports.services.adapters.small_webrtc import SmallWebRTCTransport"},{"note":"Must use the full package name including hyphens converted to underscores.","wrong":"from small_webrtc_prebuilt import SmallWebRTCPrebuilt","symbol":"SmallWebRTCPrebuilt","correct":"from pipecat_ai_small_webrtc_prebuilt import SmallWebRTCPrebuilt"}],"quickstart":{"code":"import asyncio\nfrom pipecat_ai_small_webrtc_prebuilt import SmallWebRTCPrebuilt\nfrom pipecat.transports.services.adapters.small_webrtc import SmallWebRTCTransport\n\ntransport = SmallWebRTCTransport(\n    api_key=os.environ.get('DAILY_API_KEY', ''),\n    daily_url=os.environ.get('DAILY_URL', '')\n)\nclient = SmallWebRTCPrebuilt(transport=transport)\nasyncio.run(client.run())","lang":"python","description":"Initialize the prebuilt WebRTC client with a SmallWebRTCTransport. Requires DAILY_API_KEY and DAILY_URL environment variables."},"warnings":[{"fix":"Update your import to: from pipecat.transports.services.adapters.small_webrtc import SmallWebRTCTransport","message":"Breaking change in 2.x: The import path for SmallWebRTCTransport changed from pipecat.transports.small_webrtc to pipecat.transports.services.adapters.small_webrtc.","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Check the Pipecat AI changelog before upgrading to next major version.","message":"The 'SmallWebRTCPrebuilt' class may be deprecated in favor of a unified client in future versions.","severity":"deprecated","affected_versions":"2.5.0"},{"fix":"Set the environment variables or pass them directly to the transport constructor.","message":"The prebuilt client requires both DAILY_API_KEY and DAILY_URL environment variables to be set, otherwise it will raise a ConfigurationError.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use: from pipecat.transports.services.adapters.small_webrtc import SmallWebRTCTransport","cause":"The import path changed in version 2.0. Old code uses the wrong module.","error":"ImportError: cannot import name 'SmallWebRTCTransport' from 'pipecat.transports.small_webrtc'"},{"fix":"Install the package and then import using underscores: import pipecat_ai_small_webrtc_prebuilt","cause":"The package is installed as pipecat-ai-small-webrtc-prebuilt (with hyphens), but Python imports use underscores.","error":"ModuleNotFoundError: No module named 'pipecat_ai_small_webrtc_prebuilt'"},{"fix":"Export DAILY_API_KEY and DAILY_URL or set them in code: os.environ['DAILY_API_KEY'] = 'your_key'","cause":"The environment variable is not set when creating the transport.","error":"KeyError: 'DAILY_API_KEY'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}