diff --git a/components/livekit/agent-control-bar/agent-control-bar.tsx b/components/livekit/agent-control-bar/agent-control-bar.tsx index 3f5051c58..6790feef9 100644 --- a/components/livekit/agent-control-bar/agent-control-bar.tsx +++ b/components/livekit/agent-control-bar/agent-control-bar.tsx @@ -149,6 +149,7 @@ export function AgentControlBar({ { + if (open) { + setRequestPermissionsState(true); + } + }, [open]); + return ( - {size !== 'sm' && ( )} - {devices.map((device) => ( - - {device.label} - - ))} + {devices + .filter((d) => d.deviceId !== '') + .map((device) => ( + + {device.label} + + ))} );