Local VoIP call with SIP

瘦欲@ 提交于 2019-12-09 01:35:08

问题


I wanna make SIP peer to peer VoIP call in android. This call should be made in local network without any need to access to internet. In fact I don't want to use any external server to register the profiles. But I don't know what to write in serverDomain in profile builder. This is the constructor

public SipProfile.Builder (String username, String serverDomain)

Suppose that one ip is 192.168.1.2 and the other is 192.168.1.3

So in initializing function what should I pass as serverDomain to the constructor?


回答1:


I would guess the URI in the From: header comes out as username@ServerDomain, so your local IP address would be OK. There is not enough other information there for any registration going on anyway.



来源:https://stackoverflow.com/questions/25520246/local-voip-call-with-sip

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!