I have developed an application for both iOS and Android using Flutter/DART and using the sip_ua package. I have everything working great on both platforms, with one small exception. On iOS, the audio coming into the softphone from an external caller cannot be heard. The audio out, however, can be heard by the caller.
I have verified that this is not a permissions issue and also verified that the audio packets are successfully flowing both ways during a call. In some instances, the audio can be heard, or is very choppy... while in other instances it is just non-existent. But again, only the audio coming into the softphone.
There is a very similar thread here on SO that talked to this, however I'm pretty green at making mods to the AppDelegate.swift file and that solution only contains a excerpt of it. I think additionally, this solution may be deprecated. Here is a pointer to that: iOS - WebRTC one way audio only with Opus Codec. I do believe that the solution noted here is going down the right path, but again I believe that solution is deprecated and also does not show enough of the solution for me to apply. I am looking here for a more complete and modern AppDelegate.swift solution.
If anyone can help me get over this hump by providing some direction, I would be very appreciative.
Thanks!!
I tried to implement the solution I referenced above, but I dont have enough context into that solution or knowledge of AppDelegate.swift to produce a working solution.