Hi, Roman I use pjsua_call_set_vid_strm after call is established ( PJSIP_INV_STATE_CONFIRMED ), you can obtain call and media state via pjsua_call_get_info or on on_call_state callback. ?????, 17 ???? 2013, 23:10 +03:00 ?? ????? ???????? <gmstima at gmail.com>: >HI Serj, > >thanks for answers. But I'll clarify my second question: >In documentation I didn't find any information about pjsua_call_make_call behaviour: synchronous or asynchronous. Can I use? pjsua_call_set_vid_strm? immediately after? pjsua_call_make_call?or I should wait for some state? If yes where can I check this state? >Can you advice some fully exampless with pjsua account callbacks. > >Best Regards. > > >2013/7/17 ?????? ??????? < potapov_s at inbox.ru > >>1. Default video device can be set in account config (vid_cap_dev), I dont find the way to set video capture device individually for call. >>2. You should use pjsua_call_set_vid_strm to change video stream during the call, all necessary SDP negotiation will be made by pjsip. >>3 I tried to use vidgui example with microsip http://microsip.org.ua/ and it works, try different media settings (ICE STUN ...). >> >> >>?????, 17 ???? 2013, 22:28 +03:00 ?? ????? ???????? < gmstima at gmail.com >: >>>Dear All, >>> >>>I'm sorry that taking up your time. Im new in (PJ)SIP and I can't find an answer to the questions I have. >>> >>>1. I can't find way to change capture device id (video and audio) before calling. >>>2. I can't understand when I should use pjsua_call_set_vid_strm? How can ?I say that SDP negotiation was finished in on_call_media_state? Who should send reinvite/update me or pjsua inside will send? What should I send reinvite or update?? >>>3. I launched vidgui example and I tryed to call with video to another sip client (not pjsip) it doesn't work. I see in log that SDP negotiation was started, but than I have "deadlock" - no more log's messages appears. Where should I investigate? >>> >>>Thanks for any advice.? >>>_______________________________________________ >>>Visit our blog: http://blog.pjsip.org >>> >>>pjsip mailing list >>>pjsip at lists.pjsip.org >>>http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >> >> >>-- >>?????? ??????? >> >>_______________________________________________ >>Visit our blog: http://blog.pjsip.org >> >>pjsip mailing list >>pjsip at lists.pjsip.org >>http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > -- ?????? ??????? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130722/d6b9de32/attachment-0001.html>