mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-02 02:18:31 +00:00
SDP: Update ast_get_topology_from_sdp() to keep RTP map.
* Add failure exits to ast_get_topology_from_sdp(). Change-Id: I4cc85c1ede8d712766ed20f544dbcef04c8c1049
This commit is contained in:
@@ -1007,7 +1007,8 @@ static int merge_sdps(struct ast_sdp_state *sdp_state, const struct ast_sdp *rem
|
||||
struct ast_stream_topology *remote_capabilities;
|
||||
int i;
|
||||
|
||||
remote_capabilities = ast_get_topology_from_sdp(remote_sdp);
|
||||
remote_capabilities = ast_get_topology_from_sdp(remote_sdp,
|
||||
sdp_state->options->g726_non_standard);
|
||||
if (!remote_capabilities) {
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user