summaryrefslogtreecommitdiff
path: root/res/res_pjsip_sdp_rtp.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2017-03-17 14:45:05 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2017-03-17 14:45:05 -0500
commit7f87cd7b4e72751b2c86be6d6c8a01e093e0825d (patch)
treef15d14fa855621ab511f5577ef7cc648dd3a4f84 /res/res_pjsip_sdp_rtp.c
parent15c72b32397ccc482c3a19bb5226a5e4d71e1978 (diff)
parent49b1f1ca16f410696bcac463afa0cba746f0af39 (diff)
Merge "res_pjsip_sdp_rtp.c: Fix cut-n-paste error"
Diffstat (limited to 'res/res_pjsip_sdp_rtp.c')
-rw-r--r--res/res_pjsip_sdp_rtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_sdp_rtp.c b/res/res_pjsip_sdp_rtp.c
index 178524afe..ed91de289 100644
--- a/res/res_pjsip_sdp_rtp.c
+++ b/res/res_pjsip_sdp_rtp.c
@@ -231,7 +231,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) &&