bugger…. sounds complicated

On 13 Dec 2012, at 09:44, Xijing Dai wrote:

hey guys,


Have anyone try to implement stereo support in freeswitch to streaming the music?

I tried, but only 1 channel is hardcoded inside freeswitch code everywhere, i can't make it work properly, just wonder if any1 tried before?

Can we share some experiences?


What I tried:

File IO needs to support 2 channels
shout module needs to support 2 channels
L16 needs to support 2 channels
it should auto convert between 1 channel codec and 2 channel codec for encoding/decoding.

The problems I had are:

* some random RTP sending error. (using PCMA codec, before encode, i did convert audio from stereo into mono).

* music voice becomes noise. ( I tried to use MPG123_FORCE_STEREO to convert 1 channel music to 2 channel music).



Cheers
Xijing
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org

Richard Screene
Senior Developer
Drum Web Meetings 
+44 1273 936125
www.thisisdrum.com
Drum is the collaboration solution by NetDev Ltd.
Registered in England and Wales 
Company Number 04741258