From 73ba117d2ab28a3701e9c295cf4a13edab4b8252 Mon Sep 17 00:00:00 2001 From: Grant Smith Date: Mon, 2 Nov 2026 19:59:30 +0000 Subject: [PATCH] Correct the single_peer_connection default in RoomOptions docstring When None the field isn't sent, and the FFI keeps the Rust RoomOptions::default(), which is true. Co-Authored-By: Claude Opus 5.5 --- livekit-rtc/livekit/rtc/room.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/livekit-rtc/livekit/rtc/room.py b/livekit-rtc/livekit/rtc/room.py index e533d205..ef8289b5 100644 --- a/livekit-rtc/livekit/rtc/room.py +++ b/livekit-rtc/livekit/rtc/room.py @@ -129,7 +129,7 @@ class RoomOptions: connect_timeout: float | None = None """Timeout in seconds for each signal connection attempt. When None, uses the default (5s).""" single_peer_connection: bool | None = None - """Use a single peer connection for both publish and subscribe. When None, uses the default (false).""" + """Use a single peer connection for both publish and subscribe. When None, uses the default (true).""" data_stream: DataStreamOptions | None = None """Options for incoming data streams. When None, uses the FFI defaults."""