ezP and Web cam : possible ?

Author Message

laurent le cadet

Wednesday 08 December 2004 8:14:30 am

Hi,

I have a client which want a web cam on his site.
I want to make this site with ezP but I never used a web cam before.
Is there someone who experiment this before ?
Is it compatible ?

Thanks.

Laurent.

Alex Jones

Wednesday 08 December 2004 8:30:35 am

While I don't know which interface your client's camera needs to use, I don't know of any reason why this wouldn't work. At the very least you could use an iframe to include the camera feed.

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

laurent le cadet

Wednesday 08 December 2004 8:52:05 am

Hi Alex,

I don't know which interface is use and what's the process between the camera and the server which host the site (I'm completly new about this).

I presume that the camera sends .jpg every x minutes via an interface but I can manage to imagine how this images can be store dynamically on an eZ site.

But your right. A "magic" Iframe can do the trick.

Thanks.

Laurent

Ps : I'm still interest on informations about the process between the cam and the server.

Alex Jones

Wednesday 08 December 2004 9:14:11 am

Well, the only time I have worked with a web camera was 6+ years ago, so I'm sure a lot has changed. That particular camera had it's own server within it, so it dealt with everything internally. Hopefully someone with more recent knowledge will speak up. :)

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

laurent le cadet

Wednesday 08 December 2004 9:24:41 am

Thanks again for your fresh info ;))

For my opinion, webcams are gadgets and it's better to concentrate on more usefull content.
But "clients are kings" as we say here (France) !

So everything will be welcome.

Laurent.

Marko Žmak

Wednesday 08 December 2004 5:32:24 pm

As far se my experience goes, the web cam can send you data in two (most popular) ways. The first is sending a jpeg image as you mentioned, and the second is using live streaming.

In the first case the mechanism usually works like this: the picture is sent to the server and then stored somewhere. In which way it depends on the server. It could be done via email, ftp, web form or some other way. If this case is your case, check out how it's done and where the picture is stored. Then you should just include this image somwhere in your page, it can be done independently, without using any of the eZ mechanism.

In the second case you shuld use a server that supports live streaming. For this purpose you can use live streaming on the server where your site is located (if it exists) or on some other server. I've never done it, but it should be easy. In my opinion, you should basically, only put a link to the live streaming URL of your camera somwhere on your site.

In general using a web cam should be totally independent of eZ mechanism.

Hope this helps.

I'm planning to do something like this in the future so I would be glad to see what are your results and experiences. Hope you make it.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Paul Forsyth

Thursday 09 December 2004 12:43:18 am

We built a site for webcams a year or so ago. Its a private site so we cant give a url.

Its certainly possible. As Marko suggests keep the webcam part separate from eZ. Use eZ to view the pictures in some way, such as an iframe. You will likely need to write a module to handle the image interaction.

paul

laurent le cadet

Thursday 09 December 2004 12:46:53 am

thanks guys.
Laurent.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.