Hello Omar,

Omar Yoong wrote:
Hello,
i just managed to compile and install SEMS Wideband Version. I've read in older posts that it should support stereo but when i set up a conference call the other participant can not hear anything (using L16 stereo). When using mono everything is fine... Do i have to change some settings in a configure file or modify the source code? I've seen there's a file called AmMultiPartyMixer.cpp. Is this maybe the one to have an eye on? Would be nice if you could give me some detailed informations because my C++ knowledge is quite rusty.
indeed, the source code needs to be adapted to support stereo in wideband branch conference.

In the AmConferenceChannel, which is the AmAudio implementation to connect to a conference, you can find out the number of channels by inspecting fmt->channels. You can then either use different conference channels from the mixer for right and left (e.g. with different channel_id, like channel_id+"_0" and channel_id+"_1", ...), or pass the channel count to PutChannelPacket/GetChannelPacket and have the conference channels handle stereo channels.

The samples in the audio buffer are interleaved for more than one channel. Yo you get in *buffer something like
<sample0_left><sample0_right><sample1_left><sample1_right>...
In apps/examples/jack/AmAudioJackAudio you can find code to interleave/deinterleave them to separate buffers; with jack the samples of the channels need to be separate, i.e.
<sample0_left><sample1_left>...<sample0_right><sample1_right>...

hth
Stefan


Thanks

Omar


------------------------------------------------------------------------

_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems


--
Stefan Sayer
VoIP Services Consulting and Development

Warschauer Str. 24
10243 Berlin

tel:+491621366449
sip:[email protected]
email/xmpp:[email protected]


_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to