jssip - v3.14.0
    Preparing search index...

    Interface WeightedSocket

    A Socket together with the preference the UA gives it. Accepted in the sockets configuration parameter to run several transports, so that the UA falls back to another one when a connection attempt fails.

    interface WeightedSocket {
        socket: Socket;
        weight?: number;
    }
    Index

    Properties

    Properties

    socket: Socket

    The socket itself.

    weight?: number

    How much the UA prefers this socket over the others. The highest weight is tried first and sockets of equal weight are tried in random order.

    0