OptionalautoDuration of the show/hide animation in milliseconds.
OptionalautoAuto-hide the control bar after this many milliseconds of inactivity. Set to 0 or leave undefined to keep the bar always visible. When hidden, a tap-to-show area appears at the bottom of the screen. Any button press resets the timer.
OptionalcolorsPartial color overrides merged with built-in defaults. See ControlBarColors.
OptionaldisabledDisables all buttons when true.
OptionaliconsCustom icon elements for each button.
| Key | Button |
|---|---|
mic |
Microphone on |
micOff |
Microphone muted |
camera |
Camera on |
cameraOff |
Camera off |
flip |
Flip/switch camera |
leave |
Leave/end call |
layout |
Layout toggle |
handRaise |
Hand raised |
handLower |
Hand down |
record |
Start recording |
stopRecord |
Stop recording |
live |
Go live / streaming |
stopLive |
Stop streaming |
Whether the local user's microphone is currently muted.
OptionalisWhether the local user's hand is raised.
OptionalisWhether recording is currently active.
OptionalisWhether streaming is currently active.
Whether the local user's camera is currently off.
OptionallabelsPartial label overrides merged with built-in defaults. See ControlBarLabels.
OptionallayoutCurrent layout mode.
OptionalonCalled when an operation initiated from the ControlBar encounters an error.
Called when the user presses the flip-camera button.
OptionalonCalled when the user toggles the layout.
Called when the user presses the leave button (or confirms leaving).
Called when the user presses the microphone toggle button.
OptionalonCalled when the user toggles hand raise.
OptionalonCalled when the user toggles recording.
OptionalonCalled when the user toggles streaming.
Called when the user presses the camera toggle button.
OptionalonCallback fired when the control bar visibility changes due to auto-hide.
OptionalrecordingRecording elapsed time in seconds. Shown via DurationBadge.
OptionalrenderRender extra controls appended after the built-in buttons (before leave).
OptionalsafeWhether to include safe-area bottom padding for devices with home indicators.
OptionalshowShow the audio toggle button.
OptionalshowShow the flip camera button.
OptionalshowShow the hand raise button.
OptionalshowShow the layout selector button.
OptionalshowShow the leave button.
OptionalshowShow a native confirmation dialog before leaving.
OptionalshowShow the recording button.
OptionalshowShow the streaming button.
OptionalshowShow the video toggle button.
OptionalstreamingStreaming elapsed time in seconds. Shown via DurationBadge.
Props for the ControlBar component.