diff --git a/CHANGES.md b/CHANGES.md
index 4ba9a3e..8e3001b 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,17 +1,27 @@
# Change Log
-## Unreleased
-
-* Add `webrtc.pipecat`, Pipecat's SmallWebRTC transport on the native API, installed with `wrtc[pipecat]`, with `install_alias()` for Pipecat's development runner. See [Use with Pipecat](https://wrtc.marshal.dev/guides/pipecat/) by [@MarshalX](https://github.com/MarshalX)
-* Add a Pipecat voice bot example by [@MarshalX](https://github.com/MarshalX)
-* Add `webrtc.aiortc.install_alias()`, which makes `import aiortc` give the compat layer, for libraries that import aiortc themselves by [@MarshalX](https://github.com/MarshalX)
-* Add aiortc's `rtp`, `jitterbuffer`, `utils` and `clock` modules and the ICE server helpers of `rtcicetransport` to the compat layer by [@MarshalX](https://github.com/MarshalX)
-* Drop a compat layer track's buffered frames when its receiver's `_enabled` is set to `False`, and add the track's `_queue`, for libraries that skip stale frames by [@MarshalX](https://github.com/MarshalX)
-* Fix a video frame leak in the compat layer when a sender's track is replaced or stopped by [@MarshalX](https://github.com/MarshalX)
-* Add `RTCConfiguration.tcp_listen` for clients without UDP, also on `webrtc.pipecat`'s connection and request handler. See [Clients without UDP](https://wrtc.marshal.dev/guides/connections/#clients-without-udp) by [@MarshalX](https://github.com/MarshalX)
-* Fix ICE and DTLS transport states changing before their events by [@MarshalX](https://github.com/MarshalX)
-* Fix compat layer audio `pts` falling behind after dropped audio by [@MarshalX](https://github.com/MarshalX)
-* Fix a cancelled stream read losing the next chunk by [@MarshalX](https://github.com/MarshalX)
+## Version 0.2.0
+
+**02.11.2026**
+
+**🤖 Pipecat bots run on the engine: install `wrtc[pipecat]` and change the imports, and clients stay as they are. See [Use with Pipecat](https://wrtc.marshal.dev/guides/pipecat/)**
+
+**🧩 More libraries built on aiortc run on the compat layer unchanged, with `webrtc.aiortc.install_alias()`**
+
+**🔌 Clients that can't use UDP reach a server over TCP, without TURN, with `RTCConfiguration.tcp_listen`. See [Clients without UDP](https://wrtc.marshal.dev/guides/connections/#clients-without-udp)**
+
+* Add `webrtc.pipecat`, Pipecat's SmallWebRTC transport on the native API, installed with `wrtc[pipecat]`, with `install_alias()` for Pipecat's development runner by [@MarshalX](https://github.com/MarshalX) in [#277](https://github.com/MarshalX/python-webrtc/pull/277)
+* Add a Pipecat voice bot example, with an echo that needs no keys by [@MarshalX](https://github.com/MarshalX) in [#277](https://github.com/MarshalX/python-webrtc/pull/277)
+* Add `webrtc.aiortc.install_alias()`, which makes `import aiortc` give the compat layer, for libraries that import aiortc themselves by [@MarshalX](https://github.com/MarshalX) in [#276](https://github.com/MarshalX/python-webrtc/pull/276)
+* Add aiortc's `rtp`, `jitterbuffer`, `utils` and `clock` modules and the ICE server helpers of `rtcicetransport` to the compat layer by [@MarshalX](https://github.com/MarshalX) in [#276](https://github.com/MarshalX/python-webrtc/pull/276)
+* Drop a compat layer track's buffered frames when its receiver's `_enabled` is set to `False`, and add the track's `_queue`, for libraries that skip stale frames by [@MarshalX](https://github.com/MarshalX) in [#276](https://github.com/MarshalX/python-webrtc/pull/276)
+* Add `RTCConfiguration.tcp_listen` for clients without UDP, also on `webrtc.pipecat`'s connection and request handler by [@MarshalX](https://github.com/MarshalX) in [#278](https://github.com/MarshalX/python-webrtc/pull/278)
+* Add a library comparison guide, a README demo and copy-page actions to the docs by [@MarshalX](https://github.com/MarshalX) in [#271](https://github.com/MarshalX/python-webrtc/pull/271)
+* Fix a video frame leak in the compat layer when a sender's track is replaced or stopped by [@MarshalX](https://github.com/MarshalX) in [#278](https://github.com/MarshalX/python-webrtc/pull/278)
+* Fix compat layer audio `pts` falling behind after dropped audio by [@MarshalX](https://github.com/MarshalX) in [#278](https://github.com/MarshalX/python-webrtc/pull/278)
+* Fix a cancelled stream read losing the next chunk by [@MarshalX](https://github.com/MarshalX) in [#278](https://github.com/MarshalX/python-webrtc/pull/278)
+* Fix ICE and DTLS transport states changing before their events by [@MarshalX](https://github.com/MarshalX) in [#278](https://github.com/MarshalX/python-webrtc/pull/278)
+* Fix the docs' contrast, mobile overflow and dead API links by [@MarshalX](https://github.com/MarshalX) in [#275](https://github.com/MarshalX/python-webrtc/pull/275)
## Version 0.1.0
diff --git a/docs/source/_static/css/custom.css b/docs/source/_static/css/custom.css
index f43c2f2..59d3d69 100644
--- a/docs/source/_static/css/custom.css
+++ b/docs/source/_static/css/custom.css
@@ -153,3 +153,26 @@ dl.py.class > dd > dl.py.attribute:not(:has(> dd > *)) > dt {
margin: 0 0 0.5rem;
}
}
+
+#content img.lib-logo {
+ display: inline-block;
+ width: 20px;
+ height: 20px;
+ max-width: none;
+ margin: 0 0.35rem 0 0;
+ padding: 0;
+ border: 0;
+ border-radius: 4px;
+ background: #fff;
+ vertical-align: text-bottom;
+}
+
+.home-logo {
+ margin: 0 auto 1.5rem;
+}
+
+.home-demo img {
+ margin: 1.5rem auto;
+ max-width: 100%;
+ height: auto;
+}
diff --git a/docs/source/_static/img/libs/agentscope.svg b/docs/source/_static/img/libs/agentscope.svg
new file mode 100644
index 0000000..e781d9c
--- /dev/null
+++ b/docs/source/_static/img/libs/agentscope.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/docs/source/_static/img/libs/fastrtc.png b/docs/source/_static/img/libs/fastrtc.png
new file mode 100644
index 0000000..51faff2
Binary files /dev/null and b/docs/source/_static/img/libs/fastrtc.png differ
diff --git a/docs/source/_static/img/libs/getstream.png b/docs/source/_static/img/libs/getstream.png
new file mode 100644
index 0000000..62673c2
Binary files /dev/null and b/docs/source/_static/img/libs/getstream.png differ
diff --git a/docs/source/_static/img/libs/gradio.svg b/docs/source/_static/img/libs/gradio.svg
new file mode 100644
index 0000000..4666c03
--- /dev/null
+++ b/docs/source/_static/img/libs/gradio.svg
@@ -0,0 +1,19 @@
+
diff --git a/docs/source/_static/img/libs/livetalking.png b/docs/source/_static/img/libs/livetalking.png
new file mode 100644
index 0000000..33807e0
Binary files /dev/null and b/docs/source/_static/img/libs/livetalking.png differ
diff --git a/docs/source/_static/img/libs/openai.svg b/docs/source/_static/img/libs/openai.svg
new file mode 100644
index 0000000..7c11934
--- /dev/null
+++ b/docs/source/_static/img/libs/openai.svg
@@ -0,0 +1,3 @@
+
diff --git a/docs/source/_static/img/libs/pipecat.svg b/docs/source/_static/img/libs/pipecat.svg
new file mode 100644
index 0000000..a0260a8
--- /dev/null
+++ b/docs/source/_static/img/libs/pipecat.svg
@@ -0,0 +1,7 @@
+
diff --git a/docs/source/_static/img/libs/roboflow.svg b/docs/source/_static/img/libs/roboflow.svg
new file mode 100644
index 0000000..13f2d5c
--- /dev/null
+++ b/docs/source/_static/img/libs/roboflow.svg
@@ -0,0 +1 @@
+
diff --git a/docs/source/_static/img/libs/simli.png b/docs/source/_static/img/libs/simli.png
new file mode 100644
index 0000000..c90c5d6
Binary files /dev/null and b/docs/source/_static/img/libs/simli.png differ
diff --git a/docs/source/_static/img/libs/vidgear.png b/docs/source/_static/img/libs/vidgear.png
new file mode 100644
index 0000000..bd58c73
Binary files /dev/null and b/docs/source/_static/img/libs/vidgear.png differ
diff --git a/docs/source/_static/img/og-image.png b/docs/source/_static/img/og-image.png
new file mode 100644
index 0000000..6eaa939
Binary files /dev/null and b/docs/source/_static/img/og-image.png differ
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 9066e53..6135323 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -250,8 +250,13 @@
# -- OpenGraph ---------------------------------------------------
ogp_site_url = 'https://wrtc.marshal.dev/'
-# the social preview of the GitHub repository
-ogp_image = 'https://repository-images.githubusercontent.com/444007147/cbcbf096-57d3-4715-93b0-4dba751db76a'
+ogp_image = 'https://wrtc.marshal.dev/_static/img/og-image.png'
+ogp_image_alt = 'Python WebRTC logo'
+ogp_custom_meta_tags = (
+ '',
+ '',
+ '',
+)
ogp_type = 'article'
ogp_enable_meta_description = True
ogp_social_cards = {'enable': False}
diff --git a/docs/source/examples/index.md b/docs/source/examples/index.md
index 1849feb..631823a 100644
--- a/docs/source/examples/index.md
+++ b/docs/source/examples/index.md
@@ -34,7 +34,7 @@ Writes received video and audio to raw files.
Sends your camera back from Python in grayscale, with a chat over a data channel.
:::
-:::{grid-item-card} {octicon}`unmute;1em;sd-mr-1` Voice chat with OpenAI GPT-Live
+:::{grid-item-card} Voice chat with OpenAI GPT-Live
:link: openai_live
:link-type: doc
@@ -48,7 +48,7 @@ Talks to the model through your microphone and speakers.
Talks to Gemini from a browser page, through a Python server that keeps the API key.
:::
-:::{grid-item-card} {octicon}`hubot;1em;sd-mr-1` Pipecat voice bot
+:::{grid-item-card} Pipecat voice bot
:link: pipecat_bot
:link-type: doc
@@ -71,6 +71,8 @@ Plays a WHEP stream in the terminal, or publishes one over WHIP.
::::
+Python WebRTC isn't affiliated with the companies and projects named here, and their logos belong to their owners.
+
```{toctree}
:hidden:
diff --git a/docs/source/examples/pipecat_bot.md b/docs/source/examples/pipecat_bot.md
index 0baf75d..39707bd 100644
--- a/docs/source/examples/pipecat_bot.md
+++ b/docs/source/examples/pipecat_bot.md
@@ -13,6 +13,7 @@ export DEEPGRAM_API_KEY=... OPENAI_API_KEY=... CARTESIA_API_KEY=...
uv run https://raw.githubusercontent.com/MarshalX/python-webrtc/main/examples/pipecat_bot.py
```
+It listens and answers in English; `--language pl` picks another language that Deepgram and Cartesia both support.
With `--echo`, or without the keys, it sends your voice back. Open and press Connect.
```{literalinclude} ../../../examples/pipecat_bot.py
diff --git a/docs/source/guides/aiortc.md b/docs/source/guides/aiortc.md
index aa18ffd..58b5584 100644
--- a/docs/source/guides/aiortc.md
+++ b/docs/source/guides/aiortc.md
@@ -49,7 +49,25 @@ import some_library # its aiortc imports now get webrtc.aiortc
`aiortc.x` then gives `webrtc.aiortc.x`, and a module the layer lacks raises `ModuleNotFoundError`. Call it first,
in each process: it raises `RuntimeError` if `aiortc` is imported already.
-For Pipecat, use [`webrtc.pipecat`](pipecat.md) instead.
+| Library | Status |
+| --- | --- |
+| [Gradio](https://github.com/gradio-app/gradio) `gr.WebRTC` | ✅ Tested: audio echo and video flip on the unreleased preview of [PR #13965](https://github.com/gradio-app/gradio/pull/13965). `video_bitrate` isn't applied |
+| [Pipecat](https://github.com/pipecat-ai/pipecat) | ✅ Tested: its SmallWebRTC tests pass. Better on [`webrtc.pipecat`](pipecat.md), which works with existing bots too |
+| [FastRTC](https://github.com/gradio-app/fastrtc) | ✅ Tested: audio echo and video flip on 0.0.34 |
+| [AgentScope](https://github.com/agentscope-ai/agentscope) | 🔍 Audited |
+| [LiveTalking](https://github.com/lipku/LiveTalking) | 🔍 Audited |
+| [Vision Agents](https://github.com/GetStream/Vision-Agents) | 🔍 Audited |
+| [VidGear](https://github.com/abhiTronix/vidgear) | 🔍 Audited |
+| [Roboflow Inference](https://github.com/roboflow/inference) | 🔍 Audited |
+| [streamlit-webrtc](https://github.com/whitphx/streamlit-webrtc) | 🔍 Audited |
+| [unitree_webrtc_connect](https://github.com/legion1581/unitree_webrtc_connect) | 🔍 Audited |
+| [stream-py](https://github.com/GetStream/stream-py) | 🔍 Audited |
+| [Simli](https://github.com/simliai/simli-client-py) | 🔍 Audited |
+
+✅ Tested means run on the layer. 🔍 Audited means their code was read and the layer has the aiortc names they use, so they
+should work, but they haven't been run on it yet.
+
+Python WebRTC isn't affiliated with these projects, and their logos belong to their owners.
The library's aiortc dependency stays installed but unused. Keep it if the library imports aiortc's dependencies, such
as `aioice` or `cryptography`, directly.
diff --git a/docs/source/guides/comparison.md b/docs/source/guides/comparison.md
index d480190..d1f32a8 100644
--- a/docs/source/guides/comparison.md
+++ b/docs/source/guides/comparison.md
@@ -40,7 +40,7 @@ webrtcbin. This page compares them as of 24 October 2026, with a source for ever
| Python | 3.9–3.15 | 3.10+ | 3.9+ | 3.10–3.14 |
| Wheels | Linux, macOS, Windows | pure Python | Linux, macOS, Windows | macOS, Windows |
| Tested with | browsers' web-platform-tests | own suite, browser interop | own suite | own unit tests |
-| Latest release | 0.1.0 beta, Oct 2026 | 1.15.0 stable, Jul 2026 | 1.1.21, Oct 2026 | 1.28.8, Oct 2026 |
+| Latest release | 0.2.0 beta, Nov 2026 | 1.15.0 stable, Jul 2026 | 1.1.21, Oct 2026 | 1.28.8, Oct 2026 |
— means the documentation doesn't say.
diff --git a/docs/source/guides/connections.md b/docs/source/guides/connections.md
index 21ff9d0..db51579 100644
--- a/docs/source/guides/connections.md
+++ b/docs/source/guides/connections.md
@@ -80,8 +80,10 @@ only:
config = webrtc.RTCConfiguration(tcp_listen=True, port_range=(40000, 40099))
```
-In Docker, publish `port_range` for TCP too: `-p 40000-40099:40000-40099/udp -p 40000-40099:40000-40099/tcp`.
-Leave it off on clients: when both ends listen, every TCP port pairs with every remote one.
+Passive candidates carry the server's own address, and STUN doesn't map TCP, so clients must reach that address
+directly: a public address, or `--network host` in Docker. Publishing ports on Docker's bridge network isn't enough.
+Each connection listens on its own port, so size `port_range` for your connections, and open it for TCP in the
+firewall. Leave it off on clients: when both ends listen, every TCP port pairs with every remote one.
## States
diff --git a/docs/source/guides/index.md b/docs/source/guides/index.md
index 59dd5c7..df36378 100644
--- a/docs/source/guides/index.md
+++ b/docs/source/guides/index.md
@@ -66,7 +66,7 @@ Python WebRTC, aiortc, the LiveKit SDK and GStreamer webrtcbin compared, and whe
Run aiortc code by changing its imports, and what changes on the way.
:::
-:::{grid-item-card} {octicon}`hubot;1em;sd-mr-1` Use with Pipecat
+:::{grid-item-card} Use with Pipecat
:link: pipecat
:link-type: doc
diff --git a/docs/source/guides/pipecat.md b/docs/source/guides/pipecat.md
index 4e009ae..857a3c4 100644
--- a/docs/source/guides/pipecat.md
+++ b/docs/source/guides/pipecat.md
@@ -121,7 +121,7 @@ is a complete bot on the runner.
- **Port range.** `port_range=(low, high)` keeps the bot's candidates in a range of ports. In Docker, publish the same
range, like `-p 40000-40019:40000-40019/udp`. The runner makes its own handler, so this needs a server of your own.
- **Clients without UDP.** `tcp_listen=True` lets clients behind a firewall that blocks UDP connect over TCP, without
- TURN. With `port_range`, publish the range for `/tcp` too. See [Clients without UDP](connections.md#clients-without-udp).
+ TURN. Clients must reach the bot's own address. See [Clients without UDP](connections.md#clients-without-udp).
- **Codecs.** The answer follows the client's offer. For H.264, see [H.264](h264.md).
## What differs
diff --git a/docs/source/index.md b/docs/source/index.md
index 1267370..719db0f 100644
--- a/docs/source/index.md
+++ b/docs/source/index.md
@@ -4,6 +4,8 @@ description: "Chrome's WebRTC engine with the browser API, in Python: peer conne
# Python WebRTC
+
+
**Chrome's WebRTC engine, with the browser API, in Python.**
Python WebRTC binds libwebrtc M152, the engine inside Chrome, and exposes it through the W3C APIs you already know
@@ -14,6 +16,15 @@ asyncio. Talk to browsers, servers, SFUs and AI agents peer-to-peer, with no ven
pip install wrtc
```
+
+
+
+
+
+
+
+
+
:::{tip}
Coming from aiortc? Install `wrtc[aiortc]`, change `from aiortc` to `from webrtc.aiortc`, and your code runs on Chrome's
engine. See [Migrating from aiortc](guides/aiortc.md).
diff --git a/examples/pipecat_bot.py b/examples/pipecat_bot.py
index bf3e6fb..566bb83 100755
--- a/examples/pipecat_bot.py
+++ b/examples/pipecat_bot.py
@@ -13,6 +13,7 @@
export DEEPGRAM_API_KEY=... OPENAI_API_KEY=... CARTESIA_API_KEY=...
uv run pipecat_bot.py
+ uv run pipecat_bot.py --language pl
uv run pipecat_bot.py --echo
Open http://localhost:7860 and press Connect. With the three keys, the bot listens with Deepgram, answers with OpenAI
@@ -37,6 +38,7 @@
from pipecat.services.cartesia.tts import CartesiaTTSService
from pipecat.services.deepgram.stt import DeepgramSTTService
from pipecat.services.openai.llm import OpenAILLMService
+from pipecat.transcriptions.language import Language
from pipecat.transports.base_transport import TransportParams
from pipecat.workers.runner import WorkerRunner
@@ -74,14 +76,19 @@ def echo_pipeline(transport: webrtc.pipecat.SmallWebRTCTransport) -> Pipeline:
class VoiceBot:
"""Speech to text, the model, and text to speech; the user's speech interrupts the bot."""
- def __init__(self) -> None:
+ def __init__(self, language: Language) -> None:
+ instructions = f'{INSTRUCTIONS} Answer in the language with the code {language}.'
+
self.context = LLMContext()
- self.stt = DeepgramSTTService(api_key=os.environ['DEEPGRAM_API_KEY'])
+ self.stt = DeepgramSTTService(
+ api_key=os.environ['DEEPGRAM_API_KEY'], settings=DeepgramSTTService.Settings(language=language)
+ )
self.llm = OpenAILLMService(
- api_key=os.environ['OPENAI_API_KEY'], settings=OpenAILLMService.Settings(system_instruction=INSTRUCTIONS)
+ api_key=os.environ['OPENAI_API_KEY'], settings=OpenAILLMService.Settings(system_instruction=instructions)
)
self.tts = CartesiaTTSService(
- api_key=os.environ['CARTESIA_API_KEY'], settings=CartesiaTTSService.Settings(voice=VOICE)
+ api_key=os.environ['CARTESIA_API_KEY'],
+ settings=CartesiaTTSService.Settings(voice=VOICE, language=language),
)
def pipeline(self, transport: webrtc.pipecat.SmallWebRTCTransport) -> Pipeline:
@@ -107,7 +114,7 @@ def voice_bot(args: argparse.Namespace) -> VoiceBot | None:
logger.warning(f'{", ".join(missing)} not set: echoing your voice back')
return None
- return VoiceBot()
+ return VoiceBot(args.language)
async def bot(runner_args: SmallWebRTCRunnerArguments) -> None:
@@ -146,6 +153,9 @@ def main() -> None:
parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument('--echo', action='store_true', help='send your voice back, with no keys needed')
+ parser.add_argument(
+ '--language', type=Language, default=Language.EN, help='the language to listen and answer in, like pl'
+ )
run(parser)
diff --git a/pyproject.toml b/pyproject.toml
index 571a1b1..6b4d86b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
[project]
name = "wrtc" # "webrtc" isn't allowed on PyPI
-version = "0.1.0"
+version = "0.2.0"
description = "Chrome's WebRTC engine (libwebrtc M152), with the browser API, in Python"
readme = "README.md"
license = "BSD-3-Clause"
diff --git a/uv.lock b/uv.lock
index 9b8c403..fc72e9a 100644
--- a/uv.lock
+++ b/uv.lock
@@ -6993,7 +6993,7 @@ wheels = [
[[package]]
name = "wrtc"
-version = "0.1.0"
+version = "0.2.0"
source = { editable = "." }
dependencies = [
{ name = "typing-extensions" },