Hello,

can you give a sample SDP that exposes the issue so we can analyze with the code and be able to test?

Cheers,
Daniel

On 05.05.20 15:55, José Lopes wrote:
Hello,

I am using KSR.sdpops.keep_codecs_by_name to remove some codecs.
When I make a call between two webrtc clients and I keep only VP8 video codec, the browser rejects the call with 488 Not Acceptable Here.

I notice the attributes a=rtcp-fb: of codecs removed are kept.
I removed that attributes with:
KSR.textops.replace_body_atonce("a=rtcp-fb:1.*\n", "");
KSR.textops.replace_body_atonce("a=rtcp-fb:98.*\n", "");
And the call worked.

There is another way to remove these attributes related to codec name?
Or is it possible to get the ids of the codecs with dynamic payload type numbers from SDP?

Thanks for your attention.

Best regards,
Jose Lopes



_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda