How can I have a video chat on my site like Gmail? [closed]
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this questionI'm looking for a free opensource project or just some code I can use to have video chatting capabilities on my site. Anyone know if this can be done easily, I know a lot about PHP and jquery.
This is a jQuery webcam based I know:
http://mackers.com/571-jquery-webcam
Others:
http://www.jquery.wisdomplug.com/jquery-plugins/multimedia-jquery-plugins/best-jquery-video-plugins/
http://www.webresourcesdepot.com/control-webcams-with-javascript-jquery/
http://blogupstairs.com/framework/javascript-framework/jquery/jquery-webcam-jquery-plugin-for-communicate-with-a-camera-in-javascript/
http://www.psd2html.com/blog/jquery-plugins-video.html
I don't think this can be done with PHP because the application which gets your Webcam's videostream must run on the Client, not on the Server. In this case, if you don't want your users to install special Software on their machines, you'll want to do it with Flash or a Java Applet.
I also found a library which uses AJAX and REST to do it.
Native browser support enabled via Javascript APIs is under development and supported by Google, Mozilla, and Opera. The project is called WebRTC (Web Real-Time Communications) and is supported in Chrome.
精彩评论