[jitsi-users] Can we make multiple call with multiple sound card?


#1

Hi,
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.

Regards

Ismael GUEYE


#2

Hi,

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.

Regards

Ismael GUEYE


#3

Hey Ismael,

(Posting on one list is enough. Sending the same question separately on the
two lists could be viewed as somewhat annoying and it,s better to avoid it)

No this is not possible. The audio device in Jitsi is set globally, for all
calls. Libjitsi does allow for per-call devices though.

Hope this helps,
Emil

--sent from my mobile

···

On Jul 18, 2013 10:28 AM, "Ismael GUEYE" <ismael_jitsi@yahoo.fr> wrote:

Hi,
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.

Regards

Ismael GUEYE

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#4

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\)
    deviceConfiguration  = 

((MediaServiceImpl)mediaService).getDeviceConfiguration();

Then select the new playback device, I change the Playback device of DeviceConfiguration :

deviceConfiguration.getAudioSystem().setDevice(AudioSystem.DataFlow.PLAYBACK,
cdi, true);

My test:
test:

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?

Regards

Ismael GUEYE

···

________________________________
De : Ismael GUEYE <ismael_jitsi@yahoo.fr>
À : "users@jitsi.org" <users@jitsi.org>
Envoyé le : Jeudi 18 juillet 2013 10h27
Objet : Can we make multiple call with multiple sound card?

Hi,
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.

Regards

Ismael GUEYE


#5

Support for the described use case is not currently implemented
neither in Jitsi, nor in libjitsi. We are open to discussions and
contributions on the subject.