File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export function PushToTalkButton() {
2020 useEffect ( ( ) => {
2121 // start with microphone disabled for PTT agents
2222 if ( agent && localParticipant ) {
23- localParticipant . setMicrophoneEnabled ( false ) ;
23+ // localParticipant.setMicrophoneEnabled(false);
2424 }
2525 } , [ localParticipant , agent ] ) ;
2626
@@ -32,7 +32,7 @@ export function PushToTalkButton() {
3232
3333 console . log ( "starting turn" ) ;
3434 try {
35- await localParticipant . setMicrophoneEnabled ( true ) ;
35+ // await localParticipant.setMicrophoneEnabled(true);
3636 await localParticipant . performRpc ( {
3737 destinationIdentity : agent . identity ,
3838 method : "start_turn" ,
@@ -72,7 +72,7 @@ export function PushToTalkButton() {
7272
7373 console . log ( `ending turn with method: ${ method } ` ) ;
7474 try {
75- await localParticipant . setMicrophoneEnabled ( false ) ;
75+ // await localParticipant.setMicrophoneEnabled(false);
7676 await localParticipant . performRpc ( {
7777 destinationIdentity : agent . identity ,
7878 method : method ,
You can’t perform that action at this time.
0 commit comments