From: Stefano F. <ste...@gm...> - 2006-01-06 09:08:17
|
2006/1/6, taylorluo <tay...@ho...>: > > Hello,Stefano. > > I have build UdpSendRecv.And now I want to try UdpSendRecv.exe.I try the > option but get error. > > Should I build livavcodec also? What option should use at running > udpsendrecv.exe that I can call at local network with two PC? > If you read the C code you can see that the -F option requires 5 parameters= : 1. the codec's *code* defined in iaxcllient.h 2. fps 3. width 4. height 5. maximum frame size (actually only used using ffmpeg codecs) In continuing to reading the files, and the iaxclient-devel ML you can see that you can't use "mixed" devices, i.e. if you sink the video to a file yo= u can't at the same time use the webcam to source video data. This is a TODO. So to make a working demo on a single PC that is using a single webcam and = a single audio board you must correctly use the -F and the -f, -v , -a, -i options. Please read the code. To make a call you must press the 'd' (like dial...) key when the focus is on the black window that appear when the program starts correctly. Again: read the code. Please note that if you run two instances of iaxclient library on the same PC the 4568 port is occuped by the first and the second use the subsequent port, if available. So when you call from an instance to another please specify the port. i.e.: <host address>:<port> -- Cheers, Stefano |