In a recent mail on mailing list I asked if it was possible to make severals calls simultaneously with different sound card on each call.
We told me it was possible with Libjitsi (The audio device in Jitsi is set globally, for all calls. Libjitsi does allow for per-call devices though.)
So with Libjitsi, I try to play two audio streams on 2 different devices.
For this I need to select the devices on which to play the sounds.
To set the output device, I first retrieve the Deviceconfiguration, on which is defined PlaybackDevice:
MediaService mediaService = LibJitsi.getMediaService();
if \(mediaService instanceof MediaServiceImpl\)
Then select the new playback device, I change the Playback device of DeviceConfiguration :
I started playing one stream on a device (HP USB). all is OK. My stream is played on the right device.
I run a second stream to play on a second device (Headphones). KO.
The second stream is played on my second device, but the first stream moves on my second device.
So I played the two streams on the last selected playback device.
My problem is that the deviceConfiguration is static, and so I can only have one on a JVM.
So, I can only define one PlayBackDevice in DeviceConfiguration is unique.
How can I have two separate playback device listening in the same JVM?
De : Ismael GUEYE <email@example.com>
À : "firstname.lastname@example.org" <email@example.com>
Envoyé le : Jeudi 18 juillet 2013 10h27
Objet : Can we make multiple call with multiple sound card?
I know that with Jitsi actually we can make a call with only one sound card configured.
Is it possible to use Jitsi to make severals calls simultaneously with different sound card on each call?
If it is possible can you explain me how to use or extend or configure the source or configuration file code to do so.
Is LibJitsi can meet this need.