Skip to content

Commit 1bcfdf3

Browse files
authored
Publish mic on connection (#92)
1 parent 57a1962 commit 1bcfdf3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export default function Page() {
4040
const connectionDetailsData: ConnectionDetails = await response.json();
4141

4242
await room.connect(connectionDetailsData.serverUrl, connectionDetailsData.participantToken);
43+
await room.localParticipant.setMicrophoneEnabled(true);
4344
}, [room]);
4445

4546
useEffect(() => {

0 commit comments

Comments
 (0)