[asterisk-bugs] [Asterisk 0018928]: preferred_codec_only=yes disables the video stream from caller to callee

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Mar 5 13:41:01 CST 2011


The following issue has been set as DUPLICATE OF issue 0018927. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18928 
====================================================================== 
Reported By:                akafazov
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18928
Category:                   Channels/chan_sip/CodecHandling
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.8.2.3 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 duplicate
Duplicate:                  0
Fixed in Version:           
====================================================================== 
Date Submitted:             2011-03-04 07:03 CST
Last Modified:              2011-03-05 13:41 CST
====================================================================== 
Summary:                    preferred_codec_only=yes disables the video stream
from caller to callee
Description: 
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.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0018927 preferred_codec_only=yes disables the v...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-05 13:41 seanbright     Relationship added       duplicate of 0018927
======================================================================




More information about the asterisk-bugs mailing list