Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion livekit-api/src/signal_client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ impl Default for SignalOptions {
auto_subscribe: true,
adaptive_stream: false,
sdk_options: SignalSdkOptions::default(),
single_peer_connection: true,
single_peer_connection: false,
connect_timeout: SIGNAL_CONNECT_TIMEOUT,
}
}
Expand Down
2 changes: 1 addition & 1 deletion livekit-ffi-node-bindings/src/proto/room_pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2472,7 +2472,7 @@ export class RoomOptions extends Message<RoomOptions> {
encryption?: E2eeOptions;

/**
* use single peer connection for both publish/subscribe (default: true)
* use single peer connection for both publish/subscribe (default: false)
*
* @generated from field: optional bool single_peer_connection = 8;
*/
Expand Down
2 changes: 1 addition & 1 deletion livekit-ffi/protocol/room.proto
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ message RoomOptions {
optional RtcConfig rtc_config = 5; // allow to setup a custom RtcConfiguration
optional uint32 join_retries = 6;
optional E2eeOptions encryption = 7;
optional bool single_peer_connection = 8; // use single peer connection for both publish/subscribe (default: true)
optional bool single_peer_connection = 8; // use single peer connection for both publish/subscribe (default: false)
optional uint64 connect_timeout_ms = 9; // timeout in milliseconds for each signal connection attempt (default: 5000)
}

Expand Down
2 changes: 1 addition & 1 deletion livekit/src/room/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ impl Default for RoomOptions {
},
join_retries: 3,
sdk_options: RoomSdkOptions::default(),
single_peer_connection: true,
single_peer_connection: false,
connect_timeout: SIGNAL_CONNECT_TIMEOUT,
}
}
Expand Down