diff options
author | Joshua Colp <jcolp@digium.com> | 2018-04-25 13:45:26 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2018-04-25 13:45:26 -0500 |
commit | 1dedc7395143d7bd828213ef2327d1fd7777bf14 (patch) | |
tree | 2dea5b39dd34a6c05edf218a2a23a667e5104fd6 /main/sdp_state.c | |
parent | ff858577baec46fbe14297ec6b1b3e3b5d2e23ab (diff) | |
parent | f79a3729416e3f0ce98b07c2f084630126e43206 (diff) |
Merge "streams: Add string metadata capability"
Diffstat (limited to 'main/sdp_state.c')
-rw-r--r-- | main/sdp_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/sdp_state.c b/main/sdp_state.c index 5f9ad5eb9..e02227755 100644 --- a/main/sdp_state.c +++ b/main/sdp_state.c @@ -1732,7 +1732,7 @@ static void merge_remote_stream_capabilities( case AST_MEDIA_TYPE_AUDIO: case AST_MEDIA_TYPE_VIDEO: ao2_bump(joint_state_stream->rtp); - codecs = ast_stream_get_data(remote_stream, AST_STREAM_DATA_RTP_CODECS); + codecs = ast_stream_get_rtp_codecs(remote_stream); ast_assert(codecs != NULL); if (sdp_state->role == SDP_ROLE_ANSWERER) { /* @@ -1789,7 +1789,7 @@ static int create_remote_stream_capabilities( * Setup rx payload type mapping to prefer the mapping * from the peer that the RFC says we SHOULD use. */ - codecs = ast_stream_get_data(remote_stream, AST_STREAM_DATA_RTP_CODECS); + codecs = ast_stream_get_rtp_codecs(remote_stream); ast_assert(codecs != NULL); ast_rtp_codecs_payloads_xover(codecs, codecs, NULL); ast_rtp_codecs_payloads_copy(codecs, |