diff options
author | Richard Mudgett <rmudgett@digium.com> | 2017-03-16 15:45:57 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2017-03-16 14:49:24 -0600 |
commit | 49b1f1ca16f410696bcac463afa0cba746f0af39 (patch) | |
tree | 9d9577d4c6f318a2d65711566993c4a458977e8e /res/res_pjsip_sdp_rtp.c | |
parent | 76e64f55893a37f103b17757c015f538ad5517a7 (diff) |
res_pjsip_sdp_rtp.c: Fix cut-n-paste error
We were inadvertenly referencing the cos_video option to determine if we
should set the tos_audio and cos_audio value on the RTP instance.
Change-Id: Ia7964f486801d39dc6f5dae570baff079e1595b0
Diffstat (limited to 'res/res_pjsip_sdp_rtp.c')
-rw-r--r-- | res/res_pjsip_sdp_rtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_sdp_rtp.c b/res/res_pjsip_sdp_rtp.c index 9f39256e5..9fc1b8af4 100644 --- a/res/res_pjsip_sdp_rtp.c +++ b/res/res_pjsip_sdp_rtp.c @@ -217,7 +217,7 @@ static int create_rtp(struct ast_sip_session *session, struct ast_sip_session_me } if (!strcmp(session_media->stream_type, STR_AUDIO) && - (session->endpoint->media.tos_audio || session->endpoint->media.cos_video)) { + (session->endpoint->media.tos_audio || session->endpoint->media.cos_audio)) { ast_rtp_instance_set_qos(session_media->rtp, session->endpoint->media.tos_audio, session->endpoint->media.cos_audio, "SIP RTP Audio"); } else if (!strcmp(session_media->stream_type, STR_VIDEO) && |