I am implementing VoIP with Native Android WebRTC lib. I have managed to make a call from the Android app to the Browser. I can hear and talk as expected. But when I try to call from the Browser to the Android app, I am not able to hear or talk on the connected line. Creating a peerConnection
, setRemoteDescription
, setLocalDescription
, creating an Answer
all happens as expected (theoretically).
PS: I see a little icon on the top of my Android device that the microphone is in use when I make a call. But I do not see anything like this when I am receiving a call.
I was wondering if someone can help me to understand if
- The
sdp
which is set as LocalDescription after creating Answer needs the IP address and ICE candidates included in it? If yes, How do I include them as I see no ICE candidates and the IP address is 0.0.0.0 IP4 - Do I have to do anything specific to handle the microphone and speaker apart from using standard native WebRTC lib.