]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Only send video on outgoing channel if incoming channel supports it 14/4114/1
authorMichael Kuron <m.kuron@gmx.de>
Sat, 15 Oct 2016 09:58:05 +0000 (11:58 +0200)
committerMichael Kuron <m.kuron@gmx.de>
Sat, 15 Oct 2016 10:17:54 +0000 (05:17 -0500)
commite9315791b3df34f90910c57395e37c52bb1ac562
tree12ab356316454178b3edaec9b635321f4886f3e6
parent5df575e16a11a906cd76b21205173da743305777
chan_sip: Only send video on outgoing channel if incoming channel supports it

Previously, the settings videosupport=always and videosupport=yes behaved
identically and unconditionally caused a video offer to be sent in the SDP on
an outgoing call. This was a regression introduced with commit
5a1d90e1fbfc4b48927aad55311f3b38efbf1f54 in Asterisk 1.6.1.

This commit restores correct behavior: videosupport=always causes a video offer
to be sent unconditionally, while videosupport=yes will only offer video on an
outbound channel if the incoming channel it is bridged to also supports video.
That way, the device receiving the outgoing call can display the correct user
interface elements for audio or video and will not unnecessarily show a blank
video window on an audio-only call.

ASTERISK-17470 #close

Change-Id: I782f4409d436114dbc97061c3570c0cd24f7c3ae
channels/chan_sip.c