You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would need to know if it is possible in chrome that we can switch between earpiece and speakerphone while streaming call. I have tried many approaches to fulfill it but could not do that.
I am able to set earpiece to srcObject of audio element. when call starts, I enumerate devices and take earpiece id and set streaming of remote audio to audio input by getUserMedia and options with {audio:{ deviceId: earpieceId } .It is working fine when in between the call, I switch from earpiece to speaker, It also works fine. But when I again switching back to earpiece, It does not work.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I would need to know if it is possible in chrome that we can switch between earpiece and speakerphone while streaming call. I have tried many approaches to fulfill it but could not do that.
I am able to set earpiece to srcObject of audio element. when call starts, I enumerate devices and take earpiece id and set streaming of remote audio to audio input by getUserMedia and options with {audio:{ deviceId: earpieceId } .It is working fine when in between the call, I switch from earpiece to speaker, It also works fine. But when I again switching back to earpiece, It does not work.
Can some one help me on this ?
Thanks,
Kartik
Beta Was this translation helpful? Give feedback.
All reactions