SDP: Rework merge_capabilities().
authorRichard Mudgett <rmudgett@digium.com>
Sat, 29 Apr 2017 00:48:29 +0000 (19:48 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 9 May 2017 17:57:57 +0000 (12:57 -0500)
commitbe5809fac8b423536a6af05817db5705c2977f53
treed9dd6b31929839fb93c10f57898d4d3bbbe88eae
parentae7689f09333d88867a5eb6feeec8437c17dc1d2
SDP: Rework merge_capabilities().

* Tried to give better variable names.
* Made our SDP answer use the offer's RTP payload types as the SDP RFC
says we SHOULD.
* Updating the local topology now takes the stream format caps.  We are
likely preparing to send an offer.

Change-Id: I34d3be8e3036402a8575ffcae3eebc5ce348d7c0
main/sdp_state.c