mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-02 19:49:23 +00:00
@@ -362,9 +362,6 @@ export function useLivekit(
|
|||||||
devices.audioInput.selected$
|
devices.audioInput.selected$
|
||||||
.pipe(switchMap((device) => device?.hardwareDeviceChange$ ?? NEVER))
|
.pipe(switchMap((device) => device?.hardwareDeviceChange$ ?? NEVER))
|
||||||
.subscribe(() => {
|
.subscribe(() => {
|
||||||
// if (platform === "ios") {
|
|
||||||
// return;
|
|
||||||
// }
|
|
||||||
const activeMicTrack = Array.from(
|
const activeMicTrack = Array.from(
|
||||||
room.localParticipant.audioTrackPublications.values(),
|
room.localParticipant.audioTrackPublications.values(),
|
||||||
).find((d) => d.source === Track.Source.Microphone)?.track;
|
).find((d) => d.source === Track.Source.Microphone)?.track;
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ Please see LICENSE in the repository root for full details.
|
|||||||
import {
|
import {
|
||||||
type Dispatch,
|
type Dispatch,
|
||||||
type SetStateAction,
|
type SetStateAction,
|
||||||
use,
|
|
||||||
useCallback,
|
useCallback,
|
||||||
useEffect,
|
useEffect,
|
||||||
useMemo,
|
useMemo,
|
||||||
|
|||||||
@@ -337,10 +337,7 @@ class ControlledAudioOutput
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.available$.subscribe((available) => {
|
this.available$.subscribe((available) => {
|
||||||
logger.info(
|
logger.info("[controlled-output] available devices:", available);
|
||||||
"[controlled-output] available controlled devices:",
|
|
||||||
available,
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
this.availableRaw$.subscribe((availableRaw) => {
|
this.availableRaw$.subscribe((availableRaw) => {
|
||||||
logger.info("[controlled-output] available raw devices:", availableRaw);
|
logger.info("[controlled-output] available raw devices:", availableRaw);
|
||||||
|
|||||||
Reference in New Issue
Block a user