Skip to content

enable single peer connection as default#94

Merged
xianshijing-lk merged 1 commit intomainfrom
sxian/enable_single_peer_connection_as_default
Apr 14, 2026
Merged

enable single peer connection as default#94
xianshijing-lk merged 1 commit intomainfrom
sxian/enable_single_peer_connection_as_default

Conversation

@xianshijing-lk
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread include/livekit/room.h
// 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;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this technically a breaking change?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it is just using different implementation for signaling.

Our developers should not notice any difference except for a smaller connection latency

@xianshijing-lk xianshijing-lk merged commit 98b5695 into main Apr 14, 2026
14 checks passed
@xianshijing-lk xianshijing-lk deleted the sxian/enable_single_peer_connection_as_default branch April 14, 2026 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants