steep-balloon-41261
01/17/2023, 11:10 AMbrief-refrigerator-69901
01/17/2023, 1:26 PMworried-computer-23245
01/17/2023, 4:45 PMIf a track has already published, it'll mute or unmute the track.dry-elephant-14928
01/17/2023, 5:21 PMmute to mean disable .
the commands that you are running should not disable the mic.worried-computer-23245
01/17/2023, 6:17 PMunPublishTrack() method on the video track only and it still mutes the mic, tried logging isMicrophoneEnabled and it's always true even after the toggling the video off, but the user on the other end doesn't hear anything when the video is disabledbrief-refrigerator-69901
01/17/2023, 6:18 PMbrief-refrigerator-69901
01/17/2023, 6:29 PMsetMicrophoneEnabled() anywhere in your code? I'd be curious to know if this gets hit.worried-computer-23245
01/17/2023, 6:31 PM// Connect to room.
useEffect(() => {
let connect = async () => {
try {
// If you wish to configure audio, uncomment the following:
await AudioSession.configureAudio({
android: {
preferredOutputList: ["speaker"],
},
ios: {
defaultOutput: "speaker",
},
});
await AudioSession.startAudioSession();
await room.connect(roomUrl, token);
await room.localParticipant.setCameraEnabled(true);
await room.localParticipant.setMicrophoneEnabled(true);
console.log("connected to ", roomUrl, " ", token);
setIsConnected(true);
} catch (e) {
console.log("ROOM ERROR: ", e);
}
};
connect();
return () => {
room.disconnect();
AudioSession.stopAudioSession();
};
}, [roomUrl, token, room]);dry-elephant-14928
01/17/2023, 10:10 PMworried-computer-23245
01/18/2023, 8:24 AM"livekit-react-native": "<https://github.com/livekit/client-sdk-react-native>"
and my react-native version is 0.70.5eager-raincoat-52616
01/18/2023, 11:06 AMworried-computer-23245
01/18/2023, 11:33 AMeager-raincoat-52616
01/18/2023, 12:11 PMeager-raincoat-52616
01/18/2023, 12:16 PMdry-elephant-14928
01/18/2023, 8:26 PM