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

Răzvan Crainea noreply at github.com
Wed Jun 7 14:02:13 UTC 2023


  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 519384f2581324cb0d8dd0a91e85dabf9592f1da
      https://github.com/OpenSIPS/opensips/commit/519384f2581324cb0d8dd0a91e85dabf9592f1da
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2023-06-07 (Wed, 07 Jun 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

(cherry picked from commit 77435247076a001a32b351d6c253462aad9e1259)


  Commit: 5d12376d949db9ad2a9f0d4a142009ff1e87ef6b
      https://github.com/OpenSIPS/opensips/commit/5d12376d949db9ad2a9f0d4a142009ff1e87ef6b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-06-07 (Wed, 07 Jun 2023)

  Changed paths:
    M parser/sdp/sdp.c
    M parser/sdp/sdp_helpr_funcs.c

  Log Message:
  -----------
  sdp: fix crash in SDP parsing

Introduced in commit 7743524

(cherry picked from commit dbceae2d20e03749ab68ff57837b187ed5225bfb)


Compare: https://github.com/OpenSIPS/opensips/compare/7fd27cb9bb12...5d12376d949d



More information about the Devel mailing list