Reputation: 1872
I am implementing voip from android app to browser(web app).I am using sip based linphone as android client and SipML5 for browser part(webapp).Can anyone explain me what is the flow of voip call when called from sip based client like linphone to web browser.what is the role of sip in this and how the transmission of media occurs between sip and webrtc browser app.And also,what is webRtc2sip gateway in short.Please help me clear this confusion.
Upvotes: 1
Views: 4061
Reputation: 316
Since the WebRTC requires DTLS-RTP, RTCP-FB, ICE and a lot of other newest standards, but the VoIP standards are old about 10+ years, therefore you need setup a gateway to convert the signaling and transcoding the RTP.
Upvotes: 0
Reputation: 1665
The call flow looks like this:
SIP client -> [SIP/RTP] -> SIP server -> [SIP/RTP] -> WebRTC-SIP gateway -> [WebSocket/DTLS/SRTP] -> WebRTC client.
(or the exact inverse direction for calls from WebRTC to SIP)
The following software will be needed:
Make sure to use HTTPS to host your WebRTC client, otherwise it will not work with Chrome (Chrome allows WebRTC only from HTTPS websites and only with wss websocket connection to the WebRTC2SIP gateway.
Upvotes: 1