简体   繁体   English

webrtc 与 node.js 内 php 基于页面

[英]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.我有一个网站,我想在这个项目中添加一些 webrtc 功能。我正在使用 node.js 的 sockect.io 进行信令。 Pages have been coded in php.页面已编码为 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? 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'不知道如何克服这个问题?

You should be able to use the apache proxy module to proxy socket requests to the node server that ia running on different port您应该能够使用 apache 代理模块将套接字请求代理到在不同端口上运行的节点服务器

You can see here: WebSockets and Apache proxy: how to configure mod_proxy_wstunnel?你可以在这里看到: WebSockets 和 Apache 代理:如何配置 mod_proxy_wstunnel?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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