<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>can you give a sample SDP that exposes the issue so we can
      analyze with the code and be able to test?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 05.05.20 15:55, José Lopes wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAK5rbQsPXHR7vpZpu3RnOgFCZXqT6uTUa0rbvD_uBBk3XpdzbQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>I am using KSR.sdpops.keep_codecs_by_name to remove some
          codecs.</div>
        <div>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.<br>
        </div>
        <div><br>
        </div>
        <div>I notice the attributes a=rtcp-fb: of codecs removed are
          kept.</div>
        <div>I removed that attributes with:<br>
        </div>
        <div>KSR.textops.replace_body_atonce("a=rtcp-fb:1.*\n", "");</div>
        <div>KSR.textops.replace_body_atonce("a=rtcp-fb:98.*\n", "");<br>
        </div>
        <div>And the call worked.</div>
        <div><br>
        </div>
        <div>There is another way to remove these attributes related to
          codec name?</div>
        <div>Or is it possible to get the ids of the codecs with dynamic
          payload type numbers from SDP?</div>
        <div><br>
        </div>
        <div>Thanks for your attention.</div>
        <div><br>
        </div>
        <div>Best regards,</div>
        <div>Jose Lopes</div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a></pre>
  </body>
</html>