Skip to content

jiyeyuran/mediasoup-go-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A demo application for testing mediasoup-go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages