[Freeswitch-users] Freeswitch stereo question(s)

Anthony Minessale anthony.minessale at gmail.com
Wed Jun 24 02:58:02 MSD 2015


If you call in and negotiate stereo, it uses stereo, if you try to play a
mono audio stream it will resample and or mux it appropriately.
If you call in with mono to mod_conference in stereo mode it will up-sample
the input and the core will down-sample the output.

If you are not using our verto demo with the stereo checked and calling
with opus, there are not many other ways to turn stereo on.



On Tue, Jun 23, 2015 at 5:46 PM, Chris Mandra <mandra at gmail.com> wrote:

> Hi Anthony - thanks for the info.
> So, "channels" is already set to 2 in
> conf/autoload_configs/conference.conf.xml
>
>  <profile name="video-mcu-stereo">
>
>       <param name="domain" value="$${domain}"/>
>
>       <param name="rate" value="48000"/>
>
>       <param name="channels" value="2"/>
>
>       <param name="interval" value="20"/>
>
>       <param name="energy-level" value="200"/>
>
>
> Does freeswitch test for actual stereo (as opposed to two channel mono)
> and if it sees 2 chan mono does it downsample to mono?
>
> thanks!
>
> chris
>
> On Tue, Jun 23, 2015 at 6:26 PM, Anthony Minessale <
> anthony.minessale at gmail.com> wrote:
>
>> Yes its interleaved.
>>
>> If you are calling into a conference you will have to run the conference
>> in stereo or the channel will be downsampled to mono to match.
>> Set channels to 2 in the mod_conference profile.
>>
>>
>>
>>
>> On Tue, Jun 23, 2015 at 5:21 PM, Chris Mandra <mandra at gmail.com> wrote:
>>
>>> Hi guys, I have another question about freeswitch, conferences and
>>> stereo.
>>>
>>> When I make a webrtc call into 3500 on my freeswitch server, mod_ladspa
>>> is reporting the number of samples as 1920 (20 ms stereo interleaved I
>>> assume) fine for a few seconds, and then the number of samples drops to 960
>>> (20 ms mono) Any idea why this might be happening?
>>>
>>> Also, I have been assuming that stereo in freeswitch is interleaved - is
>>> that the case? Is that assumption incorrect? If not interleaved, how does
>>> fs handle stereo.
>>>
>>>
>>> thanks!
>>> chris
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>
>>
>>
>> --
>> Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
>>
>>http://freeswitch.org/http://cluecon.com/>> http://twitter.com/FreeSWITCH
>> ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
>> <http://freeswitch.org/g+>*
>>
>> ClueCon Weekly Development Call
>> [image: ☎] sip:888 at conference.freeswitch.org  [image: ☎] +19193869900
>>
>> https://www.youtube.com/watch?v=9XXgW34t40s
>> https://www.youtube.com/watch?v=NLaDpGQuZDA
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> --
> mandra
> c:410.258.5281
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

☞ http://freeswitch.org/http://cluecon.com/http://twitter.com/FreeSWITCH
☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
<http://freeswitch.org/g+>*

ClueCon Weekly Development Call
☎ sip:888 at conference.freeswitch.org  ☎ +19193869900

https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150623/13be5494/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 3053 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150623/13be5494/attachment-0001.png 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list