mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +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:
@@ -623,7 +623,11 @@ AST_TEST_DEFINE(sdp_to_topology)
|
||||
goto end;
|
||||
}
|
||||
|
||||
topology = ast_get_topology_from_sdp(sdp);
|
||||
topology = ast_get_topology_from_sdp(sdp, 0);
|
||||
if (!topology) {
|
||||
res = AST_TEST_FAIL;
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (ast_stream_topology_get_count(topology) != 3) {
|
||||
ast_test_status_update(test, "Unexpected topology count '%d'. Expecting 2\n",
|
||||
|
Reference in New Issue
Block a user