[OpenSIPS-Devel] [OpenSIPS/opensips] 774352: Added parsing of custom a= attributes related to a...

vladpaiu noreply at github.com
Mon May 15 13:18:05 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 77435247076a001a32b351d6c253462aad9e1259
      https://github.com/OpenSIPS/opensips/commit/77435247076a001a32b351d6c253462aad9e1259
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2023-05-15 (Mon, 15 May 2023)

  Changed paths:
    M modules/sipmsgops/codecs.c
    M parser/sdp/sdp.c
    M parser/sdp/sdp.h
    M parser/sdp/sdp_helpr_funcs.c
    M parser/sdp/sdp_helpr_funcs.h

  Log Message:
  -----------
  Added parsing of custom a= attributes related to a payload
Fixed codec_delete() to also delete the custom attributes related to the codec to be deleted

ie.
For
      m=video 38453 UDP/TLS/RTP/SAVPF 96 97 98 99
      a=rtpmap:96 VP8/90000
      a=fmtp:96 annexb=yes
      a=rtcp-fb:96 goog-remb
      a=rtcp-fb:96 transport-cc
      a=rtcp-fb:96 ccm fir
      a=rtcp-fb:96 nack
      a=rtcp-fb:96 nack pli

OpenSIPS will save all the rtcp-fb: lines as custom attributes for the VP8 codec
and when doing codec_delete("VP8") it will delete all the corresponding attributes





More information about the Devel mailing list