Skip to content

Add remaining available room options#161

Open
alan-george-lk wants to merge 4 commits into
mainfrom
feature/connect-retry-options
Open

Add remaining available room options#161
alan-george-lk wants to merge 4 commits into
mainfrom
feature/connect-retry-options

Conversation

@alan-george-lk

@alan-george-lk alan-george-lk commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator
  • Adds support for missing room options (RoomOptions struct)
  • Ensures params match Rust defaults
  • Remove adhoc logic to serialize certain room options into the FFI; now just has a toProto helper for the entire struct
  • Unit tests

@alan-george-lk alan-george-lk marked this pull request as ready for review June 10, 2026 21:49

@stephen-derosa stephen-derosa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nice -- LGTM!

Comment thread include/livekit/room.h Outdated
std::optional<RtcConfig> rtc_config;

/// Number of retries for the initial room join after the first attempt.
std::uint32_t join_retries = 3;

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.

question: I wonder if this should delegate to Rust for default values? Advantage of this approach is it is visible to the C++ dev, disadvantage is C++ could have different defaults if this later changes on the Rust side.

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.

Changed

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.

3 participants