ion-sfu-simple

command
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: MIT Imports: 9 Imported by: 0

README

Simple

This is a simple example to show:

  • Publishs webm to session
  • Subscribe from session and save to disk

Quick Start

1 run
# save all tracks to disk
go run main.go -addr "localhost:5551" -session "ion"

# add -file to also play a file into the room (while saving tracks)
go run main.go -addr "localhost:5551" -session "ion" -file playback.webm

2 build (optional)
go build main.go
./main -addr "localhost:5551" -session "ion"
3 tips
  • people in the same room will see your movie
  • you will find ogg and ivf on your disk if others publish streams in the same room

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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