[asterisk-users] SET SIP_CODEC and Video issues

Kevin P. Fleming kpfleming at digium.com
Tue May 22 09:00:08 CDT 2012


On 05/19/2012 03:52 PM, Tarek Sawah wrote:
>
> Thank you, Any idea how?
> Need to be able to control the codecs in use through soem bandwidth
> tests. so i need to be able to set the SIP_CODEC and still be able to do
> Video.
> any suggestions?

Unfortunately you can't do what you want using SIP_CODEC; if you set 
that variable, the formats (both audio and video) allowed on the channel 
are reset to whatever you specify, and that variable can only hold one 
format name.

It seems odd though that you want to change audio codecs based on 
bandwidth tests, but still allow video. The video stream is going to 
consume vastly more bandwidth than the audio stream.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list