[OpenSIPS-Devel] [OpenSIPS/opensips] 228fd1: sdp: make parse_sdp_sessions() accept optional \r\...

Răzvan Crainea noreply at github.com
Tue Feb 18 03:45:32 EST 2020


  Branch: refs/heads/feature/media_exchange
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 228fd1ff0709603784c5893329f711da660bbc2d
      https://github.com/OpenSIPS/opensips/commit/228fd1ff0709603784c5893329f711da660bbc2d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-02-14 (Fri, 14 Feb 2020)

  Changed paths:
    M modules/sngtc/sngtc.c
    M parser/sdp/sdp.c

  Log Message:
  -----------
  sdp: make parse_sdp_sessions() accept optional \r\n at begin

Instead of having to provide a mandatory \r\n at the begin of the SDP
body that is going to be parsed, this is now optional. Thus the SDP can
now start directly with the `v=` line.

This commit also fixes two other issues:
1. the function might underflow if `v=` is found in the first two chars
2. if the SDP has some garbage at the begining, then it is valid, the
   previous function would have validated it


  Commit: c28e24bb62bc7dde0f47f6c123f15bfbc7c01177
      https://github.com/OpenSIPS/opensips/commit/c28e24bb62bc7dde0f47f6c123f15bfbc7c01177
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-02-14 (Fri, 14 Feb 2020)

  Changed paths:
    M modules/media_exchange/media_sessions.c
    M modules/media_exchange/media_sessions.h
    M modules/media_exchange/media_utils.c
    M modules/media_exchange/media_utils.h

  Log Message:
  -----------
  media_exchange: refactor sessions and utils code


  Commit: 2279aa16f874c647231b59be60c7bff9459c2b8c
      https://github.com/OpenSIPS/opensips/commit/2279aa16f874c647231b59be60c7bff9459c2b8c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-02-17 (Mon, 17 Feb 2020)

  Changed paths:
    M modules/media_exchange/doc/media_exchange_admin.xml
    M modules/media_exchange/media_exchange.c
    M modules/media_exchange/media_sessions.c
    M modules/media_exchange/media_sessions.h
    M modules/media_exchange/media_utils.c
    M modules/media_exchange/media_utils.h

  Log Message:
  -----------
  media_exchange: implement media_fork_from_call


  Commit: 371ef6dc38cbaddce1fef462828d592114b55f24
      https://github.com/OpenSIPS/opensips/commit/371ef6dc38cbaddce1fef462828d592114b55f24
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-02-17 (Mon, 17 Feb 2020)

  Changed paths:
    M modules/media_exchange/media_utils.c

  Log Message:
  -----------
  media_exchange: rework sdp static buffers


  Commit: 9a78039a01bd055f828450703794a0e7f4e6f2e9
      https://github.com/OpenSIPS/opensips/commit/9a78039a01bd055f828450703794a0e7f4e6f2e9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-02-18 (Tue, 18 Feb 2020)

  Changed paths:
    M modules/media_exchange/doc/media_exchange_admin.xml
    M modules/media_exchange/media_exchange.c
    M modules/media_exchange/media_utils.c
    M modules/media_exchange/media_utils.h

  Log Message:
  -----------
  media_exchange: add media_fork_to_uri implementation


Compare: https://github.com/OpenSIPS/opensips/compare/0cbdc81dae0b...9a78039a01bd



More information about the Devel mailing list