Code Monkey home page Code Monkey logo

web-rtc-noob's Introduction

web-rtc-noob

此仓库为入门学习webrtc技术之路的各种demo实现,覆盖web-rtc技术的多个常用方法和场景。

DEMO地址

实现的功能或者涉及的工作

  • 使用nodejs搭建http,https服务器
  • 使用socket.io搭建聊天服务器,也是未来web-rtc直播中的信令服务器
  • web-rtc的本地设备管理
  • web-rtc采集、录制本地的音视频
  • web-rtc实现本地的音视频通信
  • coturn服务器的搭建
  • web-rtc实现一对一P2P直播

使用方法

  • 下载代码
git clone https://github.com/ZWboy97/web-rtc-noob.git
  • 进入目录
cd web-rtc-noob
  • 安装依赖
npm install
  • 启动信令服务器
node server.js

使用

  • basic

    • web-rtc设备管理
    • 音视频采集、录制
    • 聊天服务器
  • localp2p

    • 界面内的音视频通信
    • 用于熟悉web-rtc媒体协商流程
  • remotep2p

    • 真正的远程p2p聊天
    • 使用coturn作为stun以及turn服务器

web-rtc-noob's People

Contributors

zwboy97 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

bangde2021

web-rtc-noob's Issues

443端口无法启动

events.js:183
throw er; // Unhandled 'error' event
^

Error: listen EACCES 0.0.0.0:443
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at Server.setupListenHandle [as _listen2] (net.js:1350:19)
at listenInCluster (net.js:1408:12)
at doListen (net.js:1517:7)
at _combinedTickCallback (internal/process/next_tick.js:141:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
at Function.Module.runMain (module.js:695:11)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.