Re: [EXTERNAL] Per-branch SDP modification (strip video) in parallel forking

"e.titovets--- via sr-users" <[email protected]> Fri, 10 Apr 2026 10:18:13 -0000
Newsgroups gmane.comp.voip.ser
Message-ID <[email protected]>
Hi Richard!

Thank You for the idea.

I've been experimening with rtpengine debug.
If I use rtpengine_manage("sdp-media-remove=video ..."), it sends {..., "sdp-media-remove": "video", ...} to rtpengine.
Also tried rtpengine_manage("sdp-media-remove=[video],..."). In that case it sends {..., "sdp-media-remove": "[video]", ...}
Looks like rtpengine just ignore it,

If I send a raw NG command via 3-rd party client (not from kamailio) it sends {..., "sdp-media-remove": [ "video" ], ...}
So in this case, the key "sdp-media-remove" is sent as a list with one element.
There is also a note in the rtpengine logs: "[core] Media type 'video' is to be removed by SDP manipulations.".

Looks like the issue is related to the data format.
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!