简体   繁体   中英

webrtc with node.js inside php based page

I have a website that i want to add some webrtc features to this project.I'm using sockect.io by node.js for signaling. Pages have been coded in php. Users login to their accounts and start to answering the questions.I want the admin of the website beable to control the users using their webcams. So i want to add this feature using webrtc and node.js socket.io...but since node.js and Apache couldn't run in port 80 in a same time so i don't know how to combine these feature..... Anyone doesn't have any idea to overcome this problem?

You should be able to use the apache proxy module to proxy socket requests to the node server that ia running on different port

You can see here: WebSockets and Apache proxy: how to configure mod_proxy_wstunnel?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM