What is maximum conference party in PJSUA2?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

With PJSUA2, what is maximum party can join in one conference with full duplex feature (Each one can talk to all others and can listen to all others)?


public override void onCallMediaState(OnCallMediaStateParam prm)
{
CallInfo ci = getInfo();
for (uint i = 0; i < ci.media.Count; i++)
{
if (ci.media[(int)i].type == pjmedia_type.PJMEDIA_TYPE_AUDIO && getMedia(i) != null)
{
AudioMedia aud_med = getAudioMedia((int)i);

// Connect playback
aud_med.startTransmit(devMan.getPlaybackDevMedia());
devMan.getCaptureDevMedia().startTransmit(aud_med);

// Connect other parties
for (int i=0;i<N;i++)
{
Call call2 = GetCall(i);
AudioMedia *aud_med2 = (AudioMedia *)call2.getMedia(aud_idx);
if (aud_med2) 
{
aud_med.startTransmit(*aud_med2);
aud_med2.startTransmit(*aud_med);
}
}
}
}
}

Thanks,
Quang.
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux