diff --git a/client/next-web/src/app/conversation/page.js b/client/next-web/src/app/conversation/page.js index 58ed8365a..81433f43e 100644 --- a/client/next-web/src/app/conversation/page.js +++ b/client/next-web/src/app/conversation/page.js @@ -114,7 +114,7 @@ export default function Conversation() { useEffect(() => { // The chrome on android seems to have problems selecting devices. - if (audioPlayerRef.current.hasOwnProperty('setSinkId')) { + if (typeof audioPlayerRef.current.setSinkId === 'function') { audioPlayerRef.current.setSinkId(selectedSpeaker.values().next().value); } }, [selectedSpeaker]);