]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
[Core] RFC 3264 says once we assign a payload number to a dynamic codec, we are stuck...
authorMichael Jerris <mike@jerris.com>
Fri, 17 Dec 2021 20:55:11 +0000 (13:55 -0700)
committerAndrey Volk <andywolk@gmail.com>
Fri, 17 Dec 2021 20:56:43 +0000 (23:56 +0300)
commit6c87ed491597fb5e30935d8309aa7e0c3aa9e18f
tree97aba7b7a62bad86c5652c91709a8e9d233c5b09
parent862a19e1035d0af5a0ef6abb6e65dfdb5a3431f6
[Core] RFC 3264 says once we assign a payload number to a dynamic codec, we are stuck with it.

8.3.1 Modifying Address, Port or Transport

   The port number for a stream MAY be changed.  To do this, the offerer
   creates a new media description, with the port number in the m line
   different from the corresponding stream in the previous SDP.  If only
   the port number is to be changed, the rest of the media stream
   description SHOULD remain unchanged.  The offerer MUST be prepared to
   receive media on both the old and new ports as soon as the offer is
   sent.  The offerer SHOULD NOT cease listening for media on the old
   port until the answer is received and media arrives on the new port.
   Doing so could result in loss of media during the transition.

Co-authored-by: Anthony Minessale <anthm@signalwire.com>
src/switch_core_media.c