Why I get a PJSUA_INVALID_ID for the window ID from incoming call video stream on iOS? Please help

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

 



In my project, I do as the document says, and get the video stream from the pjsua_call_info, but wid == PJSUA_INVALID_ID

pjsua_acc_config cfg;

pjsua_acc_config_default(&cfg);
cfg.vid_in_auto_show = PJ_TRUE;

int vid_idx;
pjsua_vid_win_id wid;

vid_idx = pjsua_call_get_vid_stream_idx(call_id);
if (vid_idx >= 0) {
    pjsua_call_info ci;

    pjsua_call_get_info(call_id, &ci);
    wid = ci.media[vid_idx].stream.vid.win_in;
}

Do I need to send the video stream from the outgoing call device manually or just invoke pjsua_call_make_call ?
_______________________________________________
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