[asterisk-bugs] [JIRA] (ASTERISK-17513) preferred_codec_only=yes disables the video stream from caller to callee

Joshua Colp (JIRA) noreply at issues.asterisk.org
Tue Dec 19 07:05:07 CST 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-17513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp updated ASTERISK-17513:
-----------------------------------

    Affects Version/s: 13.18.4

> preferred_codec_only=yes disables the video stream from caller to callee
> ------------------------------------------------------------------------
>
>                 Key: ASTERISK-17513
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-17513
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Channels/chan_sip/CodecHandling
>    Affects Versions: 1.8.1, 13.18.4
>            Reporter: Angel Kafazov
>            Severity: Trivial
>
> preferred_codec_only=yes in sip.conf causes one-directional video for video calls. This looks like codec negotiation problem since when a codec is selected in ast_codec_choose() only preferred codecs are considered. The problem is that video codecs are never in the preferred list (h263 is always missing from the peers' Codec Order) and therefore are never in the peer capabilities after calling ast_codec_choose(). The caller always gets 200 OK with  m=video 0 RTP/AVP in the SDP.
> I have managed to work around this by modifying ast_codec_choose() to look for video codecs in the peer's capabilities and select it even though it is not in the preferred codec list. However a better solution might be to include video codecs in the Codec Order.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list