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 playbackaud_med.startTransmit(devMan.getPlaybackDevMedia());devMan.getCaptureDevMedia().startTransmit(aud_med);// Connect other partiesfor (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