Skip to content
No description or website provided.
JavaScript HTML
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client Show stat Aug 6, 2019
server Check recorded file dir exists Aug 6, 2019
.gitignore Specify save destination Aug 5, 2019
README.md Check recorded file dir exists Aug 6, 2019

README.md

mediasoup-recording

PoC for media recording w/ mediasoup and GStreamer.

Feat

  • send single audio track from client
    • opus audio only
  • return consumer back for local preview
  • create rtpTransport and consumer on server
  • spawn gst-launch-1.0 and record it into .ogg

Dev

You need to install GStreamer beforehand.

# macOS
brew install gstreamer
brew install gst-plugins-base
brew install gst-plugins-good
brew install gst-plugins-bad

After that, setup repos.

cd server
npm i

# create directry for recorded files and specify it in config.js

# run rest+media server on http://127.0.0.1:2345
npm run dev

cd client
npm i

# run web server on http://127.0.0.1:9000
npm run dev
You can’t perform that action at this time.