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