Posts

Post not yet marked as solved
0 Replies
619 Views
HI , I'm trying to adopt callkit with my voip app using  iOS 14.7 as Apple announced since iOS 14.4 support webrtc for mobile browsers. my voip app is an ionic/angular using SIPJS lib for VOIP calls . I can detect microphone / camera , register my sip useragent when I perform an outgoing call , I send to callkit start call action and transaction is done successfully and I have the provider perform action cxstartcallaction successfully , at this moment i configure the avaudiosession to PlayandRecord category and voicechat mode and session didactivate succesfully too. my issue is after the other side answer the outgoing call , my voip app still using the iphone mic and speaker too (as SIPJS uses the mic to get media stream of the call) so the result : 1- from VOIP app user can hear from both earpiece and speaker and access mic 2- from callkit user can hear from earpiece only but no access to mic so other side doesn't hear any voice I tried many solutions to re-activate and configure the audiosession when other user answers outgoing call but nothing works any help is appreciated Thanks, marwa
Posted
by mmohamed.
Last updated
.