Comments (5)
视频和语音走的RTC,本地测试只能在一台机器上,通过localhost或者127.0.0.1进行通讯。
2台不同机器,局域网(通过局域网IP)或者远程(公网IP)需要配置信令服务器。
from go-chat.
请问下相关配置在哪里的?对这块不是很了解,麻烦解答一下谢谢
from go-chat.
@kone-net 对了,项目是部署在阿里云服务器,已经弄了https证书,通过nginx进行访问。2台电脑通过网址访问的
from go-chat.
前端代码:
https://github.com/kone-net/go-chat-web/blob/main/src/chat/panel/right/component/ChatVideoOline.jsx
第29到35行注释掉的代码,就是设置信令服务器
from go-chat.
好的,谢谢
from go-chat.
Related Issues (9)
- 给你点个赞 HOT 1
- 升级为websocket协议时等待了4分钟,从而ws链接失败
- 呜呜一些问题 HOT 2
- 就是界面有点丑辣,还有发消息还得鼠标点击发送,不如enter方便 HOT 3
- 作为小白 看您写的代码完全看入迷了 很适合新手 学习到了很多 在此表示敬佩和感谢🙏 HOT 3
- 部署在服务器上后发消息的两个小问题 HOT 2
- 上传文件必须转换为Uint8Array? 为啥 HOT 1
- 并发安全 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-chat.