theintencity / sip-js

SIP in JavaScript
Other
46 stars 28 forks source link

Can we use sip-js in an Angular project? #16

Open NOualet opened 4 years ago

NOualet commented 4 years ago

I'm looking for a sip library using udp for an angular project. I wanted to know if your library works well on Angular? This may sound like a silly question, but I'm not very familiar with angular, typescript and associated libraries yet.

theintencity commented 4 years ago

Although I haven't tried this myself, I don't see a reason why it won't work. The library has webrtc and flash options. I recommend using webrtc only.

On Wed, Jul 15, 2020 at 3:01 AM Nathan OUALET notifications@github.com wrote:

I'm looking for a sip library using udp for an angular project. I wanted to know if your library works well on Angular? This may sound like a silly question, but I'm not very familiar with angular, typescript and associated libraries yet.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/theintencity/sip-js/issues/16, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3Q6V3VPFBRG4Q75VJJXMTR3V45ZANCNFSM4O2L3TUA .

NOualet commented 4 years ago

Hello, I tested your library directly from the web folder and the index.html file. When I click on the "Register" button, it doesn't send any sip request. I ran a capture with Wireshark. Could you please help me?

NOualet commented 4 years ago

sipjs_master

NOualet commented 4 years ago

index.js line 486 : this._sock = new network.DatagramSocket(); doesn't seem to be working. I put log() before and after this line. Afterwards, the log is not displayed. Before it does.

ROBERT-MCDOWELL commented 3 years ago

websocket ar TCP only, webRTC can be UDP only from datachannel if I recall. but for now no low level UDP socket can be made in any browser but webtransport (http3) is going to change the game apparently