From 803e98b066b6d5542b2d0ff7697dfabd37843b7a Mon Sep 17 00:00:00 2001 From: shijing xian Date: Mon, 13 Apr 2026 15:30:03 -0700 Subject: [PATCH] enable single peer connection as default --- include/livekit/room.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/livekit/room.h b/include/livekit/room.h index c8e501d3..0987c29d 100644 --- a/include/livekit/room.h +++ b/include/livekit/room.h @@ -79,7 +79,7 @@ struct RoomOptions { // Enable single peer connection mode. When true, uses one RTCPeerConnection // for both publishing and subscribing instead of two separate connections. // Falls back to dual peer connection if the server doesn't support single PC. - bool single_peer_connection = false; + bool single_peer_connection = true; // Optional WebRTC configuration (ICE policy, servers, etc.) std::optional rtc_config;