Can Someone Provide Some Insight On WebRTC Vs A Generic SIP Library In A Browser?
Home » Asterisk Users » Can Someone Provide Some Insight On WebRTC Vs A Generic SIP Library In A Browser?
I work on the Asterisk side of things and admit to not knowing about browser development.
A co-worker asked me today why they should develop a web based agent software using WebRTC? They prefer to develop using a SIP based javascript library they found.
Can anyone offer some insight on why to choose either WebRTC or a SIP library for a web based agent software connecting up to an asterisk system?
2 thoughts on - Can Someone Provide Some Insight On WebRTC Vs A Generic SIP Library In A Browser?
Hi Dan,
The SIP library they’re talking about uses SIP over Websocket as a signalling protocol but uses WebRTC connections to Asterisk for media.
Dan
SGkgRGFuLA0KDQpUaGFua3MgZm9yIHRoZSBpbmZvcm1hdGlvbiBhbmQgZmFzdCByZXNwb25zZS4N
Cg0KSGF2ZSBhIGdyZWF0IGRheSENCg0KRGFuDQoNCkZyb206IGFzdGVyaXNrLXVzZXJzIDxhc3Rl cmlzay11c2Vycy1ib3VuY2VzQGxpc3RzLmRpZ2l1bS5jb20+IE9uIEJlaGFsZiBPZiBEYW4gSmVu a2lucw0KU2VudDogVHVlc2RheSwgU2VwdGVtYmVyIDExLCAyMDE4IDExOjIwIEFNDQpUbzogQXN0
ZXJpc2sgVXNlcnMgTWFpbGluZyBMaXN0IC0gTm9uLUNvbW1lcmNpYWwgRGlzY3Vzc2lvbiA8YXN0
ZXJpc2stdXNlcnNAbGlzdHMuZGlnaXVtLmNvbT4NClN1YmplY3Q6IFJlOiBbYXN0ZXJpc2stdXNl cnNdIENhbiBzb21lb25lIHByb3ZpZGUgc29tZSBpbnNpZ2h0IG9uIFdlYlJUQyB2cyBhIGdlbmVy aWMgU0lQIGxpYnJhcnkgaW4gYSBicm93c2VyPw0KDQpIaSBEYW4sDQoNClRoZSBTSVAgbGlicmFy eSB0aGV5J3JlIHRhbGtpbmcgYWJvdXQgdXNlcyBTSVAgb3ZlciBXZWJzb2NrZXQgYXMgYSBzaWdu YWxsaW5nIHByb3RvY29sIGJ1dCB1c2VzIFdlYlJUQyB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