本文主要是介绍mediasoup安装使用,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
https://mediasoup.org/github/
Media soup源码分析(一)信令的传输过
https://blog.csdn.net/frederick_fung/article/details/107063392
Mediasoup源码分析(1)——架构分析
https://blog.csdn.net/cgs1999/article/details/100133917/
Mediasoup源码分析
vscode调试gulp设置
https://www.cnblogs.com/zhumengke/articles/11641381.html
mediasoup-demo解析-服务端
https://www.cnblogs.com/jixiaohua/p/11593549.html
Media soup源码分析(三)传输通道的建立
https://blog.csdn.net/Frederick_Fung/article/details/107105054
mediasoup架构分析及优化
https://www.jianshu.com/p/4b301b598478
Mediasoup库的架构(C++部分)
https://www.pianshen.com/article/97851523061/
mediasoup 源码分析(七)consumer创建过程
https://blog.csdn.net/lcalqf/article/details/108010534
mediasoup主要类分析
https://www.jianshu.com/p/124540d9bd43
MEDIASOUP中文文档(本人尝试翻
https://www.freesion.com/article/2266891784/
ffmpeg和mediasoup怎么配合
http://pingos.me/2019/03/14/ffmpeg-and-WebRTC/
mediasoup 源码分析 (五) Congestion Control 拥塞控制
https://blog.csdn.net/lcalqf/article/details/107913613
producer接收流并转发给consumer
image
- 注意很多类中的Listener,都是回调接口。
- 不同的Transport实现,通过UDP Socket接收到网页端的媒体流,调用Transport::ReceiveRtpPacket方法,然后如上图,找到对应的Producer,Producer调用Transport的回调函数OnProducerRtpPacketReceived。
- 最后由Router找到Producer对应的Consmuers,将媒体流转发给Consumers。
- Consumer通知所属的Transport,将媒体流发送给web端。
作者:DL_4c2c
链接:https://www.jianshu.com/p/124540d9bd43
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
Check out some projects and examples using mediasoup, mediasoup-client and libmediasoup client in the Examples section.
https://mediasoup.org/documentation/examples/
mediasoup中文翻译、代码走读输出文档(后续陆续更新
https://blog.csdn.net/wskzgz/article/details/106811025
ffmpeg推流到mediasoup测试
https://www.jianshu.com/p/637e75e4fb9f
Mediao Soup Demo协议分析
https://www.jianshu.com/p/36078f46a001
流媒体服务器Mediasoup】调试源码以及运行时分析、调试、查看核心信息(三)
https://blog.csdn.net/gjy_it/article/details/104424925
Mediasoup Demo分析
目录 | 作用 |
app | 客户端代码 |
broadcasters | 广播,单向传输,只有去或者只有回 |
server | 服务端Demo |
server.js | Demo主程序 |
config.js | 配置文件 |
cert | 证书及密钥 |
connect.js | 对后面interactiveClient.js封装 |
lib | server.js使用的库文件 |
Logger.js | 打印日志 |
Room.js | 房间管理及信令处理 |
interactiveClient.js | 运行时内部信息查询客户端 |
interactiveServer.js | 运行时内部信息查询服务端 |
mediasoup 管道通信类UnixStreamSocket分析
https://blog.csdn.net/Dreamandpassion/article/details/107774368
https://mediasoup.org/documentation/v3/mediasoup/rtp-parameters-and-capabilities/
Mediasoup_Demo信令过程, client and server
https://www.cnblogs.com/WillingCPP/p/13646225.html
使用 ASP.NET Core 作为 mediasoup 的信令服务器
https://www.cnblogs.com/alby/p/12833679.html
Mediasoup(webrtc) Demo搭建及测试
https://blog.csdn.net/m0_37263637/article/details/89921861
https://blog.csdn.net/qq_34732729/article/details/107512361
mediasoup3-record-demo 简单的音频/视频记录应用程序使用媒体和GStreer或FFmpeg
https://github.com/ethand91/mediasoup3-record-demo.git
具有最简单的信令的示例代码,以及尽可能少的依赖项,用于跨浏览器测试
https://github.com/daily-co/mediasoup-sandbox/tree/master/single-page
包含mediasoup+Kurento集成项目。
https://github.com/Kurento/mediasoup-demos
mediasoup-demo
https://github.com/versatica/mediasoup-demo
haiyangwu/mediasoup-demo-android mediasoup-client-android based Android app to connect to the mediasoup demo
https://github.com/haiyangwu/mediasoup-demo-android
基于libmediasoupClient的C++应用程序,生成系统麦克风和摄像头到mediasoup demo.。
https://github.com/versatica/mediasoup-broadcaster-demo/
mediasoup-website The mediasoup project website at https://mediasoup.org.
https://github.com/versatica/mediasoup-website/
libmediasoupclient 基于libwebrtc的C++库。
https://github.com/versatica/libmediasoupclient/
handler for aiortc Python library.
https://github.com/versatica/mediasoup-client-aiortc.git
使用mediasoup的其他公共项目可在GitHub.
https://github.com/versatica/mediasoup/network/dependents
Mediasoup基本框架学习
https://www.xingmal.com/article/article/1248245945100013568
mediasoup 学习笔记【一】 worker
https://blog.csdn.net/ihtml5/article/details/104628175
mediasoup-demo 实践
https://blog.csdn.net/aggresss/article/details/104858479
基于mediasoup的多方通话研究(一)
https://blog.csdn.net/gupar/article/details/83788934
nodejs安装
https://blog.csdn.net/sun007700/article/details/107693557
npm config ls
$ git clone https://github.com/versatica/mediasoup-demo.git
$ cd mediasoup-demo$ cd server
$ npm install
报错gyp ERR! configure error npm i --unsafe-perm
npm install$ cp config.example.js config.js$ cd app
$ npm install$ npm install -g gulp-cli
npm install -g gulp在server/certs下执行:openssl genrsa > privkey.pem
openssl req -new -x509 -key privkey.pem > fullchain.pem$ cd server
npm start 或者 DEBUG="*mediasoup* *ERROR* *WARN*" node server.jsdebug server 如下执行DEBUG="*mediasoup* *ERROR* *WARN*" node server.jsnpm install pm2 -g
#后台运行
pm2 start server.js
pm2 list
pm2 logs servernpm run connectcd app
npm start 或者 gulp live报错Error: ENOENT: no such file or directory, open '/home/test/code/mediasoup-demo/server/certs/privkey.pem'证书生成参考
https://github.com/aggresss/playground-cpp/blob/master/certs/autogen.shexport HTTPS_CERT_FULLCHAIN="XXX"
export HTTPS_CERT_PRIVKEY="YYY"
其中 XXX 为证书的路径,YYY 为对应证书密钥的路径export MEDIASOUP_LISTEN_IP="X.X.X.X"
export MEDIASOUP_ANNOUNCED_IP="Y.Y.Y.Y"
其中 X.X.X.X 为 https 服务的 IP,Y.Y.Y.Y 为 媒体服务或者 ICE 服务的IP,通常情况下如果是内网测试,IP相同即可。cd app
gulp dist
netstat -nap | grep 4443
tcp 0 0 0.0.0.0:4443 0.0.0.0:* LISTEN 3261/mediasoup-demo
server安装了
npm install mediasoup
app安装了
npm install mediasoup-client
https://blog.csdn.net/hzxOnlineOk/article/details/102459572
https://www.npmjs.com/package/pm2
mediasoup v3 Debugging
https://mediasoup.org/documentation/v3/mediasoup/debugging/
这篇关于mediasoup安装使用的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!