Ameena Shafeer
Ameena Shafeer

Reputation: 626

Conference Calling in Pjsua android

How to implement Conference calling with pjsip android? I can put my current call on hold and un-hold it successfully. Anybody pls do help with conferencing. It seemed to be a tough nut for me. I know, we can start transmitting various ports using startTransmit() in Audio Media. But, firstly, how to initiate a conference call? anybody pls help.

Upvotes: 1

Views: 881

Answers (2)

user8127814
user8127814

Reputation: 316

In your code in the handleMediaStateChange of the class that extends Call, look for this line (or something similar)

remoteAudio = AudioMedia.typecastFromMedia(media);
remoteAudio.startTransmit(audDevManager.getCaptureDevMedia());

Make sure that remoteAudio is a class variable and not a local variable.

Configure both calls as if they were single calls. The behavior now should be that you can hear both parties, both parties can hear you, but the 2 parties can't hear each other. To fix this add the following code.

call1.remoteAudio.startTransmit(call2.remoteAudio);
call2.remoteAudio.startTransmit(call1.remoteAudio);

Upvotes: 1

Jakir Hossain
Jakir Hossain

Reputation: 3930

Unfortunately, you can't Conference calls using PJSIP Android according to their documentation. See What is missing section.

You can contribute as it is open source.

Upvotes: 0

Related Questions