broadcaster

package
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: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOutboundIP

func GetOutboundIP() string

Get preferred outbound ip of this machine

func TestMain

func TestMain()

Types

type Broadcaster

type Broadcaster struct {
	// contains filtered or unexported fields
}

func NewBroadcaster

func NewBroadcaster(opts *Options) *Broadcaster

func (*Broadcaster) Run

func (b *Broadcaster) Run() (err error)

func (*Broadcaster) Stop

func (b *Broadcaster) Stop()

type Options

type Options struct {
	ServerURL  string
	RoomID     string
	MediaFile  string
	VerifyCert bool
}

func NewOptions

func NewOptions() *Options

func (*Options) Verify

func (options *Options) Verify() error

Jump to

Keyboard shortcuts

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