[asterisk-bugs] [JIRA] (ASTERISK-26376) res_pjsip_sdp_rtp: Multiple audio streams are not properly discarded
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Wed Sep 14 10:38:01 CDT 2016
Joshua Colp created ASTERISK-26376:
--------------------------------------
Summary: res_pjsip_sdp_rtp: Multiple audio streams are not properly discarded
Key: ASTERISK-26376
URL: https://issues.asterisk.org/jira/browse/ASTERISK-26376
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Resources/res_pjsip_sdp_rtp
Affects Versions: 14.0.0-beta2, 13.11.2
Reporter: Joshua Colp
Severity: Minor
When receiving an SDP offer with multiple audio streams details of each can blend together resulting in an incorrect audio stream setup for the initial accepted stream.
Given the following SDP:
{noformat}
m=audio 6002 RTP/SAVP 0
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:WbTBosdVUZqEb6Htqhn+m3z7wUh4RJVR8nE15GbN
a=rtpmap:0 PCMU/8000
m=audio 6004 RTP/AVP 0
a=rtpmap:0 PCMU/8000
{noformat}
The resulting audio stream in our answer will contain an RTP/SAVP stream without crypto. This occurs because the second audio stream changes core details which are used by the code that generates the answer.
We should ignore all but the first audio stream (and probably other streams).
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list