Sip call with feature mute and speaker
Kevinpahlevi opened this issue · 1 comments
Kevinpahlevi commented
can u tell me how to make it in sip call to handling mute and speaker, im try to use Helper.setSpeakerphoneOn(!speakerCall)
seems doesnt work my call always be mute after that
Kevinpahlevi commented
okay i found it how to mute and enabled speaker
// speaker on off
Helper.setSpeakerphoneOn(!speakerCall)
// mute mic on off
var trackLocal = localStream?.getTracks();
print(trackLocal);
// make sure that track was audio, u can read info about track when u print trackLocal
Helper.setMicrophoneMute(!muteCall, trackLocal!.first);
and better trial and error with real device , because sometimes with emulator i am facing inconsistent problem