more cleanup

Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
Timo K
2025-07-03 16:23:57 +02:00
parent 2752df1c15
commit c165f5d2e4
3 changed files with 1 additions and 8 deletions

View File

@@ -362,9 +362,6 @@ export function useLivekit(
devices.audioInput.selected$
.pipe(switchMap((device) => device?.hardwareDeviceChange$ ?? NEVER))
.subscribe(() => {
// if (platform === "ios") {
// return;
// }
const activeMicTrack = Array.from(
room.localParticipant.audioTrackPublications.values(),
).find((d) => d.source === Track.Source.Microphone)?.track;

View File

@@ -8,7 +8,6 @@ Please see LICENSE in the repository root for full details.
import {
type Dispatch,
type SetStateAction,
use,
useCallback,
useEffect,
useMemo,

View File

@@ -337,10 +337,7 @@ class ControlledAudioOutput
}
});
this.available$.subscribe((available) => {
logger.info(
"[controlled-output] available controlled devices:",
available,
);
logger.info("[controlled-output] available devices:", available);
});
this.availableRaw$.subscribe((availableRaw) => {
logger.info("[controlled-output] available raw devices:", availableRaw);