Skip to content

Commit 73ba117

Browse files
GSmithAppsclaude
andcommitted
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 <noreply@anthropic.com>
1 parent e7ed7df commit 73ba117

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎livekit-rtc/livekit/rtc/room.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class RoomOptions:
129129
connect_timeout: float | None = None
130130
"""Timeout in seconds for each signal connection attempt. When None, uses the default (5s)."""
131131
single_peer_connection: bool | None = None
132-
"""Use a single peer connection for both publish and subscribe. When None, uses the default (false)."""
132+
"""Use a single peer connection for both publish and subscribe. When None, uses the default (true)."""
133133
data_stream: DataStreamOptions | None = None
134134
"""Options for incoming data streams. When None, uses the FFI defaults."""
135135

0 commit comments

Comments
 (0)