Android SipDemo

Android SDK SipDemo calls the Sip interface of Android to realize the two equipment, intercom, now I want to tell the intercom off, into the ordinary telephone mode, but call interface setSpeakerMode (false) no after effects.

In addition to the online to the Android SIP interface to explain less special, the Demo seems not to use this interface to implement a network telephone program.
To realize the function of the network telephone I wanted to use the Android interface with now, but found that there are a lot of details to handle, such as a variety of state monitoring,
Dial: listening to: onCalling, onChanged, if the person doesn't respond until the end of overtime, if the other party to answer, will receive: onCallEstablished, if the other party hangs up will receive: onCallEstablished, onCallEnded.
Receiver: receiving less than onRinging
The most difficult to receive is not set call mode, at present can only be silent or speaker mode, called the silence is not possible, but the speaker mode sound bad, echo, noise,,, almost can not be used.

You can do me a favor, how to get.
Everyone together to discuss.

Started by Tyler at December 06, 2016 - 1:01 PM

Teenager! Give up on SipDemo, Linphone.

Posted by John at December 18, 2016 - 1:15 PM

Just so you don't need these open source software because of licensing issues, their own implementation of SIP protocol stack and is not too realistic, so we study Android built-in interface.

Posted by Tyler at December 22, 2016 - 1:35 PM