diff --git a/ts/components/session/calling/CallContainer.tsx b/ts/components/session/calling/CallContainer.tsx
index 9ddcd1ead..35c6e98b0 100644
--- a/ts/components/session/calling/CallContainer.tsx
+++ b/ts/components/session/calling/CallContainer.tsx
@@ -355,7 +355,7 @@ export const InConversationCallContainer = () => {
-
+
diff --git a/ts/session/utils/CallManager.ts b/ts/session/utils/CallManager.ts
index 3db2fa7a5..e9351f21b 100644
--- a/ts/session/utils/CallManager.ts
+++ b/ts/session/utils/CallManager.ts
@@ -184,11 +184,7 @@ export async function selectAudioInputByDeviceId(audioInputDeviceId: string) {
if (sender) {
await sender.replaceTrack(audioTrack);
- mediaDevices?.getAudioTracks().forEach(t => {
- t.stop();
- mediaDevices?.removeTrack(t);
- });
- mediaDevices?.addTrack(audioTrack);
+ // we actually do not need to toggle the track here, as toggling it here unmuted here locally (so we start to hear ourselves)
} else {
throw new Error('Failed to get sender for selectAudioInputByDeviceId ');
}
@@ -274,12 +270,7 @@ async function openMediaDevicesAndAddTracks() {
track.enabled = false;
}
if (mediaDevices) {
- // FIXME audric why does this fails?
- // track.onunmute = () => {
- // if (mediaDevices) {
peerConnection?.addTrack(track, mediaDevices);
- // }
- // };
}
});
} catch (err) {