You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My team releases connections for two rooms in our app because we release subrooms in the main room.
We need additional props for onmount LiveKitRoom instead of disconnecting from the room.
Describe the proposed solution
Add onUnmountRoom props in LiveKitRoom.tsx and conditional function in useLiveKitRoom.ts
Example:
if (onUnmountRoom) {
onUnmountRoom()
} else {
log.info('disconnecting on onmount');
room.disconnect();
}
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response
The text was updated successfully, but these errors were encountered:
What do you mean? I use the room as a single room in LiveKitRoom component, but when the ref on the room changes, the room is unmounted. I want to handle this behavior.
Describe the problem
My team releases connections for two rooms in our app because we release subrooms in the main room.
We need additional props for onmount LiveKitRoom instead of disconnecting from the room.
Describe the proposed solution
Add onUnmountRoom props in LiveKitRoom.tsx and conditional function in useLiveKitRoom.ts
Example:
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response
The text was updated successfully, but these errors were encountered: