[Freeswitch-dev] Stereo support?

Xijing Dai dxj19831029 at gmail.com
Thu Dec 13 12:44:09 MSK 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20121213/86e165bb/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list