Skip to content

Conversation

@jowillianto
Copy link

@jowillianto jowillianto commented Jan 14, 2026

I have no idea why, but somehow Clone is not derived for livekit::Room. In general, livekit::Room contains only an Arc, and by default this should safely implement Clone without any issue. If the design is to only let livekit::Room own RoomInner, perhaps using a Box is the better way.

@CLAassistant
Copy link

CLAassistant commented Jan 14, 2026

CLA assistant check
All committers have signed the CLA.

@ladvoc ladvoc requested review from 1egoman and ladvoc January 16, 2026 04:10
Copy link
Contributor

@ladvoc ladvoc left a comment

Choose a reason for hiding this comment

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

Good points! I will take a look at the internals and determine what the implications of cloning here are.

@1egoman
Copy link

1egoman commented Jan 16, 2026

@jowillianto Just to understand the context of the change a bit better, can you give a quick summary of your use case that requires cloning a room?

@jowillianto
Copy link
Author

Hi! I am trying to pass room around to send messages from multiple threads.

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.

4 participants