diff options
author | Richard Mudgett <rmudgett@digium.com> | 2017-04-28 12:30:34 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2017-05-09 12:57:57 -0500 |
commit | ae7689f09333d88867a5eb6feeec8437c17dc1d2 (patch) | |
tree | 7ae4cdd9c600a5d5a16085f670be01c2f7211ca2 /include/asterisk/sdp.h | |
parent | c2906dfa05ad6f2d3b952d21d09178e724180e95 (diff) |
SDP: Update ast_get_topology_from_sdp() to keep RTP map.
* Add failure exits to ast_get_topology_from_sdp().
Change-Id: I4cc85c1ede8d712766ed20f544dbcef04c8c1049
Diffstat (limited to 'include/asterisk/sdp.h')
-rw-r--r-- | include/asterisk/sdp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asterisk/sdp.h b/include/asterisk/sdp.h index 06470c4b0..8aa9e3b7f 100644 --- a/include/asterisk/sdp.h +++ b/include/asterisk/sdp.h @@ -638,11 +638,12 @@ void ast_sdp_rtpmap_free(struct ast_sdp_rtpmap *rtpmap); * each m-line corresponding to a stream in the created topology. * * \param sdp The SDP to convert + * \param g726_non_standard Non-zero if G.726 is non-standard * * \retval NULL An error occurred when converting * \retval non-NULL The generated stream topology * * \since 15.0.0 */ -struct ast_stream_topology *ast_get_topology_from_sdp(const struct ast_sdp *sdp); +struct ast_stream_topology *ast_get_topology_from_sdp(const struct ast_sdp *sdp, int g726_non_standard); #endif /* _SDP_PRIV_H */ |