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