errors

package
v0.3.14-0...-e82b509 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoConfig            = errors.New("missing config")
	ErrInvalidRPC          = errors.New("invalid request")
	ErrGhostPadFailed      = errors.New("failed to add ghost pad to bin")
	ErrStreamAlreadyExists = errors.New("stream already exists")
	ErrStreamNotFound      = errors.New("stream not found")

	GErrNoURI            = "No URI set before starting"
	GErrFailedToStart    = "Failed to start"
	GErrCouldNotConnect  = "Could not connect to RTMP stream"
	GErrStreamingStopped = "streaming stopped, reason error (-5)"
)

Functions

func ErrIncompatible

func ErrIncompatible(format, codec interface{}) error

func ErrInvalidInput

func ErrInvalidInput(field string) error

func ErrInvalidUrl

func ErrInvalidUrl(url string, protocol livekit.StreamProtocol) error

func ErrNotSupported

func ErrNotSupported(feature string) error

func ErrTrackNotFound

func ErrTrackNotFound(trackID string) error

func ErrUploadFailed

func ErrUploadFailed(status string) error

func New

func New(err string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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