GB_001 Posted August 7, 2008 Share Posted August 7, 2008 Hello, I am inquiring on how I would be able to add a webcam feature to my chat application, can anyone please point me in the right direction? Thankyou. -GB. Quote Link to comment Share on other sites More sharing options...
trq Posted August 7, 2008 Share Posted August 7, 2008 Webcams are client-side, php is server-side. This is the wrong forum. Quote Link to comment Share on other sites More sharing options...
GB_001 Posted August 7, 2008 Author Share Posted August 7, 2008 But isn't a webcam chat partly serverside, since it is virtually allowing a user to see another user on different computers? Quote Link to comment Share on other sites More sharing options...
MasterACE14 Posted August 7, 2008 Share Posted August 7, 2008 not really. And webcams have nothing to do with PHP anyway. Quote Link to comment Share on other sites More sharing options...
GB_001 Posted August 7, 2008 Author Share Posted August 7, 2008 Okay I'll close it. And move it to the javascript section. Quote Link to comment Share on other sites More sharing options...
discomatt Posted August 7, 2008 Share Posted August 7, 2008 Browsers aren't designed to handle this kinda stuff native-ly. You're gonna have to look at active-x if you want to accomplish this in the browser. Quote Link to comment Share on other sites More sharing options...
Third_Degree Posted August 7, 2008 Share Posted August 7, 2008 yeah flash and some sockets. Quote Link to comment Share on other sites More sharing options...
True`Logic Posted August 8, 2008 Share Posted August 8, 2008 Client Side: Request image from webcam, recieve image, send to server along with data detailing who is sending it, and where is it being sent to Serverside: Recieve image and data, sort data, send to the clients needed, the image, aswell as a chizzled down form of data, who it's from Client side: recieve data, load image step 2: ???? step 3: profit for this you will need to PROBABLY (the easiest way) make a downloadable client, very easy to do, if you want simple and fast, I'd go with visual basic, If you want professional and more modern, go with visual c++ express, You could make a java web application to do it, but that would be much more complex, and harder to write a working version that is easy to maintain and update since it has to communicate with the computer and it's hardware, not just software... the server itself simply recieves data, sorts it, decides where to send it, then sends it.. it does not need to handle any of the imagery or hardware communications and therefore can be written in any language easily, whether it is a java command line server, or C++ or (easiest, fastest, but least professional and least respectable) visual basic, the server will be easy to make. another option you might consider is making a chat client in java to put in your webpage with the ability to display images it's sent but make a downloadable program specifically for sending webcam, and even a 3rd program to contain chat and webcam in one downlaodable, these would be good for user interface and keep all customers happy, as well as would be more simple for you. forgive the horrid sentence structure, I'm at a public library and running out of time on the computer ^.^ Quote Link to comment Share on other sites More sharing options...
GB_001 Posted August 11, 2008 Author Share Posted August 11, 2008 Thankyou. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.