mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
add more logging
This commit is contained in:
@@ -358,6 +358,12 @@ export function useLivekit(
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (id !== undefined && room.getActiveDevice(kind) !== id) {
|
if (id !== undefined && room.getActiveDevice(kind) !== id) {
|
||||||
|
logger.debug(
|
||||||
|
"DEBUG: Switching active device",
|
||||||
|
kind,
|
||||||
|
id,
|
||||||
|
room.getActiveDevice(kind),
|
||||||
|
);
|
||||||
room
|
room
|
||||||
.switchActiveDevice(kind, id)
|
.switchActiveDevice(kind, id)
|
||||||
.catch((e) =>
|
.catch((e) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user