SDP: Explicitly stop a RTP instance before destoying it.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 5 May 2017 19:49:30 +0000 (14:49 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 9 May 2017 17:57:57 +0000 (12:57 -0500)
commit367042bd3e58233bdb23542c1f19ec4907f07ff2
treef32bd19963d75a399237b3dfb9ca354e5d2cedfd
parentbe5809fac8b423536a6af05817db5705c2977f53
SDP: Explicitly stop a RTP instance before destoying it.

* Made sdp_add_m_from_rtp_stream() and sdp_add_m_from_udptl_stream()
handle generating disabled/declined streams.

* Added /main/sdp/sdp_merge_asymmetric unit test.  It currently does not
check the offerer side negotiated SDP because that isn't the purpose of
this patch and there is much to be done to handle declined/dummy streams.

* Added T.38 image streams to the /main/sdp/sdp_merge_symmetric and
/main/sdp/sdp_merge_crisscross unit tests.

Change-Id: Ib4dcb3ca4f9a9133b376f4e3302f9a1f963f2b31
include/asterisk/stream.h
main/sdp_state.c
tests/test_sdp.c