关于webrtc:基于kurento-webRTC构建一个直播系统demo

3次阅读

共计 1099 个字符,预计需要花费 3 分钟才能阅读完成。

webrtc-mcu

  • 一个基于 kurento & webRTC 构建的直播零碎 demo
  • 借鉴了 kurento one2many 示例
  • KMS 作为 offer,用户作为 viewer。
  • 通过游览器上的 kurento util 调用 node 端的 kurento client,实现对 KMS API 的调用,在 KMS 中构建一条媒体管线。
  • 每退出一个 viewe 便在媒体管线中构建一个由 playerEndpoint + WebrtcEndpoint 组成的端点。
  • 目前能够将本地视频文件和 m3u8 直播流作为直播内容。

应用办法

  1. 在 ubuntu 上部署 KMS
  2. 装置 node.js
  3. 运行 sudo npm install

    留神

  4. 在 ubuntu 上,”postinstall”: “cd static && bower install” 要写为 “postinstall”: “cd static && bower install –allow-root”

    参考资料

  5. Kurento Tutorials

    1. Node.js – One to many video call
    2. https://doc-kurento.readthedo…
  6. JavaScript Kurento Client

    • https://doc-kurento-zh-cn.rea…
    • http://www.voidcn.com/article…
  7. kurento_utils_js

    • https://doc-kurento.readthedo…
  8. How to ues coturn

    • https://doc-kurento.readthedo…
  9. 中文教程

    1. 比拟残缺的中文文档

      • https://blog.gmem.cc/webrtc-s…
    2. Kurento Utils JS

      • http://www.voidcn.com/article…
    3. https://my.oschina.net/997155…
  10. chrome webrtc 查看工具 chrome://webrtc-internals/
  11. WebRTC 和相干技术

    1. Learning WebRTC
    2. https://cloud.tencent.com/dev…
    3. P2P ICE https://evilpan.com/2015/12/2…
    4. https://cnodejs.org/topic/547…
    5. https://www.liangzl.com/get-a…
    6. P2P 技术之 STUN、TURN、ICE 详解 http://www.52im.net/thread-55…
    7. 拓展 – WebRTC 多视频网络拓扑之三种架构 https://www.cnblogs.com/baito…
    8. SDP https://www.jianshu.com/p/94b…
正文完
 0