mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-02 19:49:23 +00:00
@@ -114,6 +114,13 @@ export function useAudioContext<S extends string>(
|
|||||||
|
|
||||||
// Update the sink ID whenever we change devices.
|
// Update the sink ID whenever we change devices.
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
logger.info(
|
||||||
|
"setSinkId hook:",
|
||||||
|
`"setSinkId" in audioContext`,
|
||||||
|
audioContext && "setSinkId" in audioContext,
|
||||||
|
`!controlledAudioDevices`,
|
||||||
|
!controlledAudioDevices,
|
||||||
|
);
|
||||||
if (
|
if (
|
||||||
audioContext &&
|
audioContext &&
|
||||||
"setSinkId" in audioContext &&
|
"setSinkId" in audioContext &&
|
||||||
|
|||||||
Reference in New Issue
Block a user