Is it possible to build a SIP client using JAVASCRIPT for a server not supporting WEBSOCKET or WEBRTC?
-
1Please note that SIP is just signaling mechanism and you still need to rely on WebRTC for the media streams (including all the mandatory requirements such as ICE and DTLS-SRTP support on the server side). To deviate from the embedded WebRTC path you'll have to write an extension for the browsers you are targeting or write a full fledged desktop app.Sagi– Sagi2017-11-23 23:25:33 +00:00Commented Nov 23, 2017 at 23:25
Add a comment
|
1 Answer
Yes, you can use a UDP or TCP socket to send your SIP messages towards the SIP server. Since Javascript supports UDP sockets(link), it should be possible. Anyhow since it is not that easy to implement a SIP useragent/transaction-layer, so I would google for Javascript SIP stacks, that supports TCP/UDP.
Hope that helps.