publisher

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

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

Publisher stands for a publisher webRTC peer.

func New

func New(
	client mqtt.Client,
	sessions *sync.Map,
	logger *zerolog.Logger,
	config *cfg.PublisherConfigOptions,
) *Publisher

New returns a new Publisher.

func (*Publisher) Signal

func (p *Publisher) Signal()

Signal performs webRTC signaling for all publisher peers.

Jump to

Keyboard shortcuts

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