Hi Martin,
that is coming also, the reason I named sdp_remove_codecs_by_id(...) so at some point will be *_by_name(...). I developed the function while being offline so it was hard to find the table with the mapping between codecs names and ids.
Probably can be found at IANA site, but, if anyone has a link that he/she can share quickly, it would be great.
Cheers, Daniel
On 3/14/11 10:21 AM, Martin Hoffmann wrote:
Carsten Bock wrote:
But here is something from my wishlist:
Apart from removing codecs, it would be great to have a function to remove all codecs but some wanted ones, e.g.:
sdp_limit_codecs("0,8,101");
which would remove all codecs except those with type 0,8 and 101 (if offered).
Alternatively or, indeed, preferably codec names please.
Regards, Martin, who could rant for hours about vendors not getting the concept of dynamic payload types into their heads. Rocket science it ain't.
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev