CallLobby
Represents the UI in a preview call that renders a local video track to pre-display a video before joining a call.
Parameters
Modifier for styling.
The call includes states and will be rendered with participants.
A user to display their name and avatar image on the preview.
A participant video to render on the preview renderer.
Android permissions that should be required to render a video call properly.
A video renderer, which renders a local video track before joining a call.
Content is shown that a local camera is disabled. It displays user avatar by default.
Modifier applied to the Box that wraps the local video preview. Defaults to a responsive height (180/280/200dp depending on screen size and orientation), full width, and a 12dp rounded corner clip. Override to provide custom size, shape, padding, or background — useful when the preview needs to match a host layout instead of the SDK's default sizing.
Slot for the participant label overlaid on the preview. Defaults to a label showing the user's name and microphone state at Alignment.BottomStart. Pass {} to hide the label entirely, or override to provide custom positioning and content (use BoxScope.align inside).
Handler when the user triggers a Call Control Action.
Content is shown that allows users to trigger different actions to control a preview call.
An interface that will be invoked when the video is rendered.
Deprecated
Use CallLobby with the participantLabelContent slot for full control over the lobby label. Pass `{}` to hide it, or override to customize content and position.
Replace with
CallLobby(modifier = modifier, call = call, user = user, isCameraEnabled = isCameraEnabled, isMicrophoneEnabled = isMicrophoneEnabled, video = video, permissions = permissions, onRendered = onRendered, onRenderedContent = onRenderedContent, onDisabledContent = onDisabledContent, onCallAction = onCallAction, lobbyControlsContent = lobbyControlsContent)