I want to develop a program for a video calls in android. I thought of using the built in sip that introduced in android 2.3.3. But how can I initiate the video calls? I see that it is not supported.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I believe the generic Android SIP stack supports video.
Taken from: https://developer.android.com/reference/android/net/sip/package-summary.html
If you want to create generic SIP connections (such as for video calls or other), you can create a SIP connection from the
SipManager
, usingopen()
. If you only want to create audio SIP calls, though, you should use theSipAudioCall
class, as described above.
If you don't mind using external SIP stacks, check out this:
http://www.youtube.com/watch?v=g1NHEsXFEns
which uses Jain-SIP.
EDIT: As of late, this project seems to be the leader in the native Android SIP space:
https://code.google.com/p/csipsimple/ - open source, and they offer everything you need to make voice and video calls.