SDP modifiers functionality gone in sip.js version > 0.16.0 ?
359 views
Skip to first unread message
Stefan Marx
unread,
Nov 17, 2021, 8:54:28 AM11/17/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SIP.js
Hi,
currently I'm using sip.js version 0.16.0 whereby need to modify the session description answer for incoming calls. So I set my modifier function as "modifiers" option on the sessionDescriptionHandlerFactoryOptions of the user agent options when creating the user agent (newUserAgent(options)) (https://sipjs.com/api/0.15.0/sessionDescriptionHandler/#options). This is working with Version 0.16.0, my modifier function is called for each incoming call. When using version 0.17.0 or above, my modifier function is never called. So my question is, how to achieve this in version > 0.16.0 ) I can not find anything in the github API documentation.
Regards
Michael Garfinkel
unread,
Aug 30, 2022, 5:07:15 PM8/30/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SIP.js
Hey Stefan,
was just struggling with this myself. It now comes in as an array
```
const sesh = this.session as Invitation;
return await sesh.accept({
...invitationAcceptOptions,
sessionDescriptionHandlerModifiers: ],
});
``` same way on invite just as the second param
Michael Garfinkel
unread,
Aug 30, 2022, 5:07:33 PM8/30/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SIP.js
*
sessionDescriptionHandlerModifiers[]
Brandon Bishop
unread,
Jul 30, 2024, 8:49:19 AM7/30/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SIP.js
Hi
I'm trying to remove the TCP candidates from the SDP, using the below code.
But it seems to try and modify the SDP before the ice checking has completed... so the TCP candidates don't exist yet.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SIP.js
Hi , What are you putting in the modifiers array? I am trying to use it to modify the bandwidth before calling but I am unable to do it so. Any help? I want to modify the call bandwidth, by default my sipjs is using 7mb which is very high