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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Mar 4 07:03:03 CST 2011


The following issue has been SUBMITTED. 
====================================================================== 
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:                     new
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:              
====================================================================== 
Date Submitted:             2011-03-04 07:03 CST
Last Modified:              2011-03-04 07:03 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-04 07:03 akafazov       New Issue                                    
2011-03-04 07:03 akafazov       Asterisk Version          => 1.8.2.3         
2011-03-04 07:03 akafazov       Regression                => No              
2011-03-04 07:03 akafazov       SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list