Hi Philippe,
you wrote me to look at code in PhApiCallbacks.
How can I call the function callProgress? or how can I compile these
instructions? which are the headers and libraries needed?
PhApiWrapper * p = PhApiWrapper::PhApiWrapperHack;
phVideoFrameReceivedEvent_t * video_data = NULL;
My program is only able to call the sip number 335
owplInit(1, 5060, 0, 0, "", 0);
owplConfigAddAudioCodecByName("PCMA/8000");
owplConfigAddAudioCodecByName("PCMU/8000");
phVideoControlSetWebcamCaptureResolution(320,240);
owplConfigAddVideoCodecByName("H263");
owplAudioSetConfigString("IN=0 OUT=0");
owplLineAdd("xxxxxx","xxxx","voip.wengo.fr", "", 3500, &gVline);
owplLineAddCredential(gVline, "xxxxx", "xxxxx", "voip.wengo.fr");
owplLineRegister(gVline, 1);
and then
owplCallCreate(gVline, &gCall);
owplCallConnect(gCall,"sip:[EMAIL PROTECTED]", VIDEO_FLAGS);
Please help me to have a window with video... thanks.
Regards,
Luigi Bancaro
Philippe BERNERY wrote:
Le 21 mai 07 à 15:29, Luigi Bancaro a écrit :
I know that I have to set one callback with webcam_add_callback.
How could I do it? Do you have any suggestions?
I'm studying the owwebcam-test-visu-c but in this example I directly
see the video from my webcam... not from a generic client.
This method is used only to get the picture of the local webcam, not
the one from the network.
Look at code in PhApiCallback::callProgress near the case
CALLSTATE_VIDEO_EVENT.
Regards
--
Philippe BERNERY <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>
http://dev.openwengo.org
_______________________________________________
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel