res_pjsip_session: Reduce SDP size by removing duplicate connection lines.
authorJoshua Colp <jcolp@digium.com>
Sat, 27 Sep 2014 17:29:05 +0000 (17:29 +0000)
committerJoshua Colp <jcolp@digium.com>
Sat, 27 Sep 2014 17:29:05 +0000 (17:29 +0000)
commit2eef53c465460609cd66770b5dcdcb17a20fc33e
tree1ca5c42dbd7d1daf7febbbe2bb1628a6613b454c
parent76744543b4dc49c57c4c48647bfec23cd9f3f911
res_pjsip_session: Reduce SDP size by removing duplicate connection lines.

Due to the architecture of how media streams are handled each individual
handler adds connection details (IP address) for it. The first media stream
is then used as the top level SDP connection line. In practice each
line ends up being the same so to reduce the SDP size stream-level connection
information is also added to the SDP if it differs from the top level SDP
connection line.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@424077 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_session.c