service

package
v0.0.0-...-db02598 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMessageBus

func NewMessageBus(conf *config.Config) (utils.MessageBus, error)

Types

type Status

type Status string
const (
	Available Status = "available"
	Reserved  Status = "reserved"
	Recording Status = "recording"
)

type Worker

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

func InitializeWorker

func InitializeWorker(conf *config.Config, bus utils.MessageBus) *Worker

func (*Worker) Record

func (w *Worker) Record(req *livekit.RecordingReservation) (res *livekit.RecordingResult, err error)

func (*Worker) Start

func (w *Worker) Start() error

func (*Worker) Status

func (w *Worker) Status() Status

func (*Worker) Stop

func (w *Worker) Stop(kill bool)

Jump to

Keyboard shortcuts

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