ingress

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrIngressOutOfDate        = psrpc.NewErrorf(psrpc.FailedPrecondition, "trying to ovewrite an ingress with an older version")
	ErrIngressTimedOut         = psrpc.NewErrorf(psrpc.DeadlineExceeded, "ingress timed out")
	ErrNoResponse              = psrpc.NewErrorf(psrpc.Unavailable, "no response from ingress service")
	ErrInvalidOutputDimensions = NewInvalidVideoParamsError("invalid output media dimensions")
	ErrInvalidIngressType      = psrpc.NewErrorf(psrpc.InvalidArgument, "invalid ingress type")
)

Functions

func BuildIngressToken added in v1.0.2

func BuildIngressToken(apiKey, secret, roomName, participantIdentity, participantName string) (string, error)

func ErrInvalidIngress added in v1.5.2

func ErrInvalidIngress(s string) psrpc.Error

func NewInvalidAudioParamsError added in v1.5.1

func NewInvalidAudioParamsError(s string) error

func NewInvalidTranscodingBypassError added in v1.5.8

func NewInvalidTranscodingBypassError(s string) error

func NewInvalidVideoParamsError added in v1.2.0

func NewInvalidVideoParamsError(s string) error

func Validate added in v1.5.2

func Validate(info *livekit.IngressInfo) error

func ValidateAudioEncodingOptionsConsistency added in v1.5.2

func ValidateAudioEncodingOptionsConsistency(options *livekit.IngressAudioEncodingOptions) error

func ValidateAudioOptionsConsistency added in v1.5.2

func ValidateAudioOptionsConsistency(options *livekit.IngressAudioOptions) error

func ValidateBypassTranscoding added in v1.5.8

func ValidateBypassTranscoding(info *livekit.IngressInfo) error

func ValidateForSerialization added in v1.5.3

func ValidateForSerialization(info *livekit.IngressInfo) error

Sparse info with not all required fields populated are acceptable for serialization, provided values are consistent

func ValidateVideoEncodingOptionsConsistency added in v1.5.2

func ValidateVideoEncodingOptionsConsistency(options *livekit.IngressVideoEncodingOptions) error

func ValidateVideoOptionsConsistency added in v1.2.0

func ValidateVideoOptionsConsistency(options *livekit.IngressVideoOptions) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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