package
0.7.0
Repository: https://github.com/pion/ion-sdk-go.git
Documentation: pkg.go.dev

# README

Save to disk

This example will take an audio and video track and save it into a local file.

Quick Start

  1. Start ion-sfu allrpc, and run pubsubtest example in your browser and you join with your web camera to add an audio/video track to the "test session" room.

  2. Run the RTP forwarder

go run main.go -addr "localhost:5551" -session "ion"
  1. The contents of your video or audio stream will be written into the output file. You can also convert the file to another format using FFMPEG.
ffmpeg -i output.ivf  -codec copy output.webm