From: Alan Humpherys <alangh@us...> - 2003-03-14 16:59:13
Webcams and Yahoo,
Just to fill you all in, there is some good work going on to get WebCam
support into the Yahoo library that we use in Fire. The images are
transmitted in JPEG2000 format which is now supported by QuickTime 6
(which makes our lives a bit easier!)
The hardest thing is going to be getting the images from a locally
attached webcam, so that they can be converted to JPEG2000 by
QuickTime. There will also be some work to get the timing and
framerate right, but there is hope that we could make this happen!
Unfortunately the audio portion of Yahoo messenger uses a CODEC
(Coder/Decoder) which is only available on the PC. It is apparently
also patented, so an open source library is unlikely. Our only hope
would be if Apple somehow licenses this CODEC and makes it available in
a future version of QuickTime.
Begin forwarded message:
> From: Mik <the_mik@...>
> Date: Thu Mar 13, 2003 5:46:40 AM US/Mountain
> To: libyahoo2-users@...
> Subject: [Libyahoo2-users] Preliminary webcam support
> Preliminary webcam support has been added to CVS. So
> far I added mainly code for viewing webcams. I've
> added a start for webcam uploading but it's far from
> complete at the moment.
> Here's a short explanantion for anyone who wants to
> test the webcam viewing.
> First you need to get a key from the server which is
> used for authentication:
> void yahoo_webcam_get_key(int id, const char *who);
> Once the key is obtained the following function is
> void YAHOO_CALLBACK_TYPE(ext_yahoo_got_webcam_key)(int
> id, char *key);
> Next we need to connect to the master webcam server
> and find out which server the user we want to view is
> void yahoo_webcam_get_server(int id, char *who);
> Once the server is obtained the following function is
> id, char *ip);
> After filling in a webcam struct we can connect to the
> void yahoo_webcam_connect(int id, struct webcam *wcm);
> The following function is called when we get image
> id, unsigned char *image, unsigned int image_size,
> unsigned int real_size, unsigned int timestamp);
> This can be either a complete image or a part of an
> image. The real_size parameter defines how many bytes
> of the image have actually been read.
> When there is no image sent because there was no
> movement this function still gets called with a new
> timestamp which can be used to stay in sync.
> You can send an invitation to a user with the
> following function:
> void yahoo_webcam_invite(int id, const char *who);
> I modified the sample_client.c file to support the
> basics for all of this so you might want to check how
> it's done there.
> Do you Yahoo!?
> Yahoo! Web Hosting - establish your business online
> This SF.net email is sponsored by:Crypto Challenge is now open!
> Get cracking and register here for some mind boggling fun and
> the chance of winning an Apple iPod:
> Libyahoo2-users mailing list