Skip to content

Commit 803e98b

Browse files
enable single peer connection as default
1 parent 5555e0b commit 803e98b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/livekit/room.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ struct RoomOptions {
7979
// Enable single peer connection mode. When true, uses one RTCPeerConnection
8080
// for both publishing and subscribing instead of two separate connections.
8181
// Falls back to dual peer connection if the server doesn't support single PC.
82-
bool single_peer_connection = false;
82+
bool single_peer_connection = true;
8383

8484
// Optional WebRTC configuration (ICE policy, servers, etc.)
8585
std::optional<RtcConfig> rtc_config;

0 commit comments

Comments
 (0)