This commit is contained in:
David Baker
2023-10-11 16:27:17 +01:00
parent a9c74172a5
commit 11664a5bf6

View File

@@ -63,7 +63,7 @@ async function doConnect(
// mobile browsers to know we're doing a call. // mobile browsers to know we're doing a call.
if (livekitRoom!.localParticipant.getTrack(Track.Source.Microphone)) { if (livekitRoom!.localParticipant.getTrack(Track.Source.Microphone)) {
logger.warn( logger.warn(
"Pre-creating audio track but participant already appears to have an microphone track: this shouldn't happen!" "Pre-creating audio track but participant already appears to have an microphone track: this shouldn't happen!",
); );
return; return;
} }
@@ -81,7 +81,7 @@ async function doConnect(
// check again having awaited for the track to create // check again having awaited for the track to create
if (livekitRoom!.localParticipant.getTrack(Track.Source.Microphone)) { if (livekitRoom!.localParticipant.getTrack(Track.Source.Microphone)) {
logger.warn( logger.warn(
"Publishing pre-created audio track but participant already appears to have an microphone track: this shouldn't happen!" "Publishing pre-created audio track but participant already appears to have an microphone track: this shouldn't happen!",
); );
return; return;
} }