How can I have a video chat on my site like Gmail? [closed]

心不动则不痛 提交于 2019-12-20 09:45:11

问题


I'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.


回答1:


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




回答2:


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.




回答3:


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.



来源:https://stackoverflow.com/questions/5923254/how-can-i-have-a-video-chat-on-my-site-like-gmail

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!