0.0.2 • Published 2 years ago

@unwise-door/sipjs-udp-transport v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Description

This custom transport class for sip.js provides UDP transport.

Usage Example

    const UDPTransport = require("@unwise-door/sipjs-udp-transport");

    const userAgent = new sipjs.UserAgent({
      uri: sipjs.UserAgent.makeURI(`sip:...@...`),
      authorizationPassword: ...,
      transportConstructor: UDPTransport,
      transportOptions: {
        server: ...,
        port: ...
      },
      ...
    });