I am very confused on how to configure Audio Session when using WebRTC along with CallKit. I referred to Speakerbox App but there was a separate AudioController used for configuring the Audio Session. When I have implemented this I was hearing my own voice. I somehow think that I need to configure the Audio Session using the RTCAudioSession instead AudioController used in the Speakerbox App.
If I am correct pls tell me how to configure Audio Session using RTCAudioSession and if not then how can I fix the issue of my own voice being heard.
I have wasted days and not getting anywhere on how to do this and also I was not able to find any tutorial of WebRTC and CallKit working together.