Skip to content

mktexan/mediasoup_v3_example

 
 

Repository files navigation

mediasoup_v3_example

Examples for WebRTC SFU mediasoup v3 with node.js

Node.jsで動くWebRTC SFU mediasoup v3のサンプルです。

  • v3.x用に作り直しました。v1.xやv2.xでは動作しません。
  • mkhahaniさんのmediasoup-sample-appを参考にしています
  • macOS 10.13 High Sierraで動作確認しています

Installation

git clone

$ https://github.com/mganeko/mediasoup_v3_example.git

install npm modules

$ npm install socket.io
$ npm install express
$ npm install socket.io
$ npm install mediasoup@3
$ npm install mediasoup-client@3
$ npm install browserify

or

$ npm install

build client library

$ npm run build-client

How to use

loopback (single)

$ npm run loopback

open http://localhost:3000/loopback.html with browser

broadcast (1 to many)

$ npm run broadast

open http://localhost:3000/publish.html with browser for publisher

open http://localhost:3000/subscribe.html with browser for subscriber

maltiparty video chat

$ npm run multiparty

open http://localhost:3000/multi.html with browser

License / ライセンス

  • This samples are under the MIT license
  • このサンプルはMITランセンスで提供されます

About

WebRTC SFU mediasoup v3 example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.6%
  • HTML 16.4%