mediasoup-go

command module
v0.0.0-...-08a5344 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2021 License: MIT Imports: 6 Imported by: 0

README

mediasoup-go-demo

A demo application of mediasoup-go.

Installation

  • Clone the project:
$ git clone https://github.com/jiyeyuran/mediasoup-go-demo.git
$ cd mediasoup-go-demo
  • Set up the mediasoup-go-demo server:
$ cd server
$ go build
  • Make sure TLS certificates reside in server/certs directory with names fullchain.pem and privkey.pem.

  • Within your server, run the application by setting the DEBUG environment variable according to your needs (more info):

$ DEBUG="*mediasoup* *ERROR* *WARN*" MEDIASOUP_WORKER_BIN="the path of worker bin" ./server
  • Set up the mediasoup-go-demo browser app:
$ cd app
$ npm install

Run it locally

  • Run the Node.js server application in a terminal:
$ cd server
$ MEDIASOUP_WORKER_BIN="the path of worker bin" ./server
  • In a different terminal build and run the browser application:
$ cd app
$ npm start
  • Enjoy.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL