busy-breakfast-32623
09/09/2025, 9:45 AMtall-airline-16756
09/09/2025, 9:45 AMtall-airline-16756
09/09/2025, 9:46 AMControlBar component, a simple way is to set the screenShare property to false within the controls prop when you render the ControlBar. Here's a little example to help you out:
<ControlBar controls={{ screenShare: false }} />
This will make sure the screen share button doesn’t show up. If you have any questions or need more help, please feel free to ask—I’m here for you!
Sources: packages/react/CHANGELOG.mdbusy-breakfast-32623
09/09/2025, 9:57 AMtall-airline-16756
09/09/2025, 9:58 AMLiveKitRoom component. Simply set the audio prop to true like this:
<LiveKitRoom serverUrl={serverUrl} token={token} connect={true} audio={true} video={false}>
<RoomAudioRenderer />
<ControlBar />
</LiveKitRoom>
This way, the microphone will be enabled right when the connection is made.
Just a quick heads-up: some modern browsers might block automatic audio playback because of autoplay policies. To work around this, you can use the StartAudio component to kindly ask the user to interact:
<StartAudio label="Click to enable audio playback" />
If you have any questions or need a hand with anything else, feel free to ask—I’m here to help!
Sources: app/assistant/index.tsx | web/src/components/room-component.tsx | web/src/components/room-component.tsx | src/components/LiveKitRoom.tsx | examples/nextjs/pages/audio-only.tsx