Sip.js: How to set rtcpMuxPolicy to negotiate on Sip.JS 0.8.3

Created on 16 Nov 2017  ·  2Comments  ·  Source: onsip/SIP.js

I am currently on 0.7.8 and in the UA conf parameters , i could set rtcpMuxPolicy to negotiate by setting rtcpMuxPolicy: "negotiate"

I don't find any ways to set rtcpMuxPolicy: "negotiate" on 0.8.3 via SIP.UA Configuration Parameters. Can you please give me pointers?

Most helpful comment

sip.js 0.8.x allows you to set arbitrary options for the RTCPeerConnection like this:

ua = new SIP.UA({
  sessionDescriptionHandlerOptions: {
    peerConnectionOptions: {
      rtcConfiguration: {
        rtcpMuxPolicy: 'negotiate'
      }
    }
  }
})

All 2 comments

sip.js 0.8.x allows you to set arbitrary options for the RTCPeerConnection like this:

ua = new SIP.UA({
  sessionDescriptionHandlerOptions: {
    peerConnectionOptions: {
      rtcConfiguration: {
        rtcpMuxPolicy: 'negotiate'
      }
    }
  }
})

Answer above is correct. In the future, the mailing list is better suited for questions as we would like to keep Github for issue tracking.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

raphaelhovsepyan picture raphaelhovsepyan  ·  6Comments

kyle9292 picture kyle9292  ·  3Comments

josephfrazier picture josephfrazier  ·  26Comments

Pjata picture Pjata  ·  11Comments

slavikbialik picture slavikbialik  ·  7Comments