jhuster / rtcstartupdemo Goto Github PK
View Code? Open in Web Editor NEWstartup demo code for webrtc beginners.
License: GNU General Public License v3.0
startup demo code for webrtc beginners.
License: GNU General Public License v3.0
报错如下:
GOPATH =
make[1]: Entering directory '/home/lv/totalWs/multimedia/webrtc/RTCStartupDemo-master/RTCSignalServer'
making for mac
/bin/sh: go: command not found
Makefile:9: recipe for target 'mac' failed
make[1]: *** [mac] Error 127
make[1]: Leaving directory '/home/lv/totalWs/multimedia/webrtc/RTCStartupDemo-master/RTCSignalServer'
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2
如题
报错如下:
GOPATH = /Users/kidjason/Projects/Proj1
making for mac
src/rtc.signal.com/app/main.go:9:2: cannot find package "rtc.signal.com/config" in any of:
/usr/local/go/src/rtc.signal.com/config (from $GOROOT)
/Users/kidjason/Projects/Proj1/src/rtc.signal.com/config (from $GOPATH)
src/rtc.signal.com/app/main.go:10:2: cannot find package "rtc.signal.com/router" in any of:
/usr/local/go/src/rtc.signal.com/router (from $GOROOT)
/Users/kidjason/Projects/Proj1/src/rtc.signal.com/router (from $GOPATH)
make[1]: *** [mac] Error 1
make: *** [all] Error 2
您好,jhuster,最近,我在播放器项目中遇到了一个较为棘手的问题,在播放过程中进行seek,对于gop较大的视频,会造成较大的延时,想请教一下您在这个问题上是否有优化的建议。希望得到您的帮助,谢谢
大佬信令服务器过期了
i want to know how many user can join in 1 room? can handle upto 5000 user in same time?
Android项目里有个bug,如下代码:
@OverRide
public void onIceCandidatesRemoved(IceCandidate[] iceCandidates) {
for (int i = 0; i < iceCandidates.length; i++) {
Log.i(TAG, "onIceCandidatesRemoved: " + iceCandidates[i]);
}
mPeerConnection.removeIceCandidates(iceCandidates);
}
不应在此处调用PeerConnection的removeIceCandidates函数,应该发送remove消息给对方,对方收到该消息后调用PeerConnection的removeIceCandidates。并且同时应在本端接收对方的remove消息,并调用PeerConnection的removeIceCandidates。
不过只是小问题,因为即使不告诉对方自己删除的ice candidates,也仍能照常连通,只是可能影响性能。
为什么测试时apk上只能显示Signal Server Connecting! 不能显示Connected.
并且本地server也没有任何连接接入的信息?
使用作者提供的服务器和使用本地的服务器都是一个效果,是这个服务器代码不能用了吗?
服务端编译:
:/WebRTC/RTCStartupDemo/RTCSignalServer$ source env.sh/WebRTC/RTCStartupDemo/RTCSignalServer$ make linux
:
making for linux
cd bin/linux
~/WebRTC/RTCStartupDemo/RTCSignalServer/bin/linux$ ./app server.conf
Listen on: 10.117.4.178:8080
Listen on: 172.17.0.1:8080
Handle /status
Handle /socket.io
客户端:
var socket = io('http://rtc-signal.jhuster.com:8080/socket.io'); 若直接使用这个,结果如下:
http://rtc-signal.jhuster.com:8080 浏览器直接访问这个,已无法访问
var socket = io('http://10.117.4.178:8080/socket.io'); 换成这个,运行结果如下:
http://10.117.4.178:8080 这个链接在浏览器中可以访问
MacOS Mojave Version 10.14.3 , Safari Version12.0.3, When I open index.html ,[getUserMedia() Error: NotAllowedError].
大佬上线一份iOS的代码呗,谢谢!
1、如题,
2、三星s7可以发出去。大概什么问题。
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.