[SR-Users] how to remove media description from sdp?
abalashov at evaristesys.com
Mon Sep 19 20:57:24 CEST 2011
On 09/19/2011 02:54 PM, Juha Heinanen wrote:
> trying to hack around the possible fix_nated_sdp("1") issue that i
> outlined in previous message, i thought to remove video media
> description from sdp. in sdpops module there is sdp_with_media(type),
> but for some reason no sdp_remove_media(type) function. is there some
> other means to get rid of sdp video media description?
I suppose you could use plain old subst_body() from textops to do it,
if push came to shove:
I doubt that the PV ($rb) referring to the message body is mutable.
The documentation does not suggest that. But if it were, you could
use this transformation:
It seems like a slightly cleaner way than subst_body().
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Atlanta, GA 30303
More information about the sr-users