ddssingsong / webrtc_server_node Goto Github PK
View Code? Open in Web Editor NEWvideoCall VideoConference 视频通话 视频会议
Home Page: https://blog.csdn.net/u011077027/article/details/86225524
videoCall VideoConference 视频通话 视频会议
Home Page: https://blog.csdn.net/u011077027/article/details/86225524
Hi @ddssingsong ,
I tried deploying the webrtc server using this repository but it seems there are some missing caused the Android app could not connect to it while this same Android app can connect to above server ("42.192.40.58:5000"),
It'd be great if you can share with me the source codes of this server? (I can see Android app mentioned this server is written in Java Spring Boot instead of NodeJS),
Many thanks in advance,
你好,我的只能显示本地的画面,不能显示对方的画面。而且火狐控制台报:ICE failed, your TURN server appears to be broken, see about:webrtc for more details和TypeError: Either sdpMid or sdpMLineIndex must be specified的错误,我的实在局域网中搭建的,没有设置外网ip
现在测试好像之间并不相通
直接下载项目,使用http访问是无法调用摄像头的,看了那份文档那个代理https没怎么看懂,coturn穿透和转发服务器还有nginx代理这快不怎么会
I hava try twice, but it didn't work, I config my /etc/turnserver.conf based this github guidance, but then:
air@air-G3-3590:~/webRTC/webrtc_server$ node server.js
/home/air/webRTC/webrtc_server/node_modules/express/lib/router/index.js:458
throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn))
^
TypeError: Router.use() requires a middleware function but got a Null
at Function.use (/home/air/webRTC/webrtc_server/node_modules/express/lib/router/index.js:458:13)
at Function. (/home/air/webRTC/webrtc_server/node_modules/express/lib/application.js:220:21)
at Array.forEach ()
at Function.use (/home/air/webRTC/webrtc_server/node_modules/express/lib/application.js:217:7)
at Object. (/home/air/webRTC/webrtc_server/server.js:9:5)
at Module._compile (internal/modules/cjs/loader.js:1147:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1167:10)
at Module.load (internal/modules/cjs/loader.js:996:32)
at Function.Module._load (internal/modules/cjs/loader.js:896:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
air@air-G3-3590:~/webRTC/webrtc_server$ node server.js
Your help will be appreciated!
hi my friends
im getting nothing in node js server
im getting this log in android side and i know im connected to local server:
dds_SocketManager: socket is open!
but enter button doesnt work and cant loggin
Hello All
can you please tell me , how to setup server side code & how to create connection with database & used in android side application
getUserList & getRoomList method not found in this node side server code.
Please help me
Thanks is advance!!
some errors come out when I have done proceeding the last procedure of the steps as your blog says:
`
[root@webrtc-server webrtc_server_node]# node server.js
/root/webrtc_server_node/node_modules/express/lib/router/index.js:458
throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn))
^
TypeError: Router.use() requires a middleware function but got a Null
at Function.use (/root/webrtc_server_node/node_modules/express/lib/router/index.js:458:13)
at Function. (/root/webrtc_server_node/node_modules/express/lib/application.js:220:21)
at Array.forEach ()
at Function.use (/root/webrtc_server_node/node_modules/express/lib/application.js:217:7)
at Object. (/root/webrtc_server_node/server.js:9:5)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
`
你好,我的只能显示本地的画面,不能显示对方的画面。而且火狐控制台报:TypeError: Argument 1 of RTCPeerConnection.addStream is not an object.
群已经满员了有其他群或者交流平台吗?谢谢
Server Running perfectly fine on IP = "52.167.201.188";
Tested on webrtc_android app:-
webSocket.connect(); returns connectFlag=false & socket not opening in webrtc_android app.So that login was unsuccessful after input the user name & tapping enter.
You can replace the IP like this in Android webrtc_android app.
`public class Urls {
// private final static String IP = "192.168.2.111";
public final static String IP = "52.167.201.188";`
in Android webrtc_android app & Test.
Please guide.
Thanks in advance
i run node server.js cmd
but i got the error.
D:\intelj\webrtc_server_node\node_modules\express\lib\router\index.js:464
throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn))
^
TypeError: Router.use() requires a middleware function but got a Null
at Function.use (D:\intelj\webrtc_server_node\node_modules\express\lib\router\index.js:464:13)
at Function.<anonymous> (D:\intelj\webrtc_server_node\node_modules\express\lib\application.js:220:21)
at Array.forEach (<anonymous>)
at Function.use (D:\intelj\webrtc_server_node\node_modules\express\lib\application.js:217:7)
at Object.<anonymous> (D:\intelj\webrtc_server_node\server.js:9:5)
at Module._compile (node:internal/modules/cjs/loader:1165:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10)
at Module.load (node:internal/modules/cjs/loader:1043:32)
at Function.Module._load (node:internal/modules/cjs/loader:878:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.