Created
November 7, 2014 08:52
-
-
Save hiroeorz/c94388c116c8ac5a1df4 to your computer and use it in GitHub Desktop.
PJSIP Video User's Guide 日本語訳 ref: http://qiita.com/hiroeorz@github/items/f0c6e1eebc1238fcaa31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pjsua_acc_config cfg; | |
pjsua_acc_config_default(&cfg); | |
cfg.vid_in_auto_show = PJ_TRUE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment