1 /* internet audio/video conferencing
16 puts("usage: ivac <options>");
18 puts("-h \t this help");
19 puts("-V \t <video device>");
20 puts("-A \t <audio device>");
21 puts("-v \t verbose debug output");
25 int main(int argc, char **argv) {
28 DFBInputDeviceKeyState quit;
33 strcpy(ivac.video_dev,VIDEO_DEV);
34 strcpy(ivac.audio_dev,AUDIO_DEV);
43 strcpy(ivac.video_dev,argv[++i]);
46 strcpy(ivac.audio_dev,argv[++i]);
49 ivac.flags|=VERBOSE_FLAG;
58 if(dfb_init(argc,argv,&ivac)<0) {
59 puts("dfb init failed");
63 if(dfb_play_video(&ivac)<0) {
64 puts("dfb play video failed");
68 puts("pess button ...");