Documentation
¶
Index ¶
- Variables
- func As(err error, target any) bool
- func ErrCPUExhausted(usage float64) error
- func ErrCouldNotParseConfig(err error) error
- func ErrGstPipelineError(err error) error
- func ErrIncompatible(format, codec interface{}) error
- func ErrInvalidInput(field string) error
- func ErrInvalidUrl(url string, reason string) error
- func ErrNotSupported(feature string) error
- func ErrPadLinkFailed(src, sink, status string) error
- func ErrPageLoadFailed(err string) error
- func ErrParticipantNotFound(identity string) error
- func ErrProcessStartFailed(err error) error
- func ErrStreamNotFound(url string) error
- func ErrTrackNotFound(trackID string) error
- func ErrUploadFailed(location string, err error) error
- func Is(err, target error) bool
- func New(err string) error
- type ErrArray
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoConfig = psrpc.NewErrorf(psrpc.Internal, "missing config") ErrGhostPadFailed = psrpc.NewErrorf(psrpc.Internal, "failed to add ghost pad to bin") ErrBinAlreadyAdded = psrpc.NewErrorf(psrpc.Internal, "bin already added to pipeline") ErrWrongHierarchy = psrpc.NewErrorf(psrpc.Internal, "pipeline can contain bins or elements, not both") ErrPipelineFrozen = psrpc.NewErrorf(psrpc.Internal, "pipeline frozen") ErrSinkNotFound = psrpc.NewErrorf(psrpc.Internal, "sink not found") )
View Source
var ( ErrNonStreamingPipeline = psrpc.NewErrorf(psrpc.InvalidArgument, "UpdateStream called on non-streaming egress") ErrNoCompatibleCodec = psrpc.NewErrorf(psrpc.InvalidArgument, "no supported codec is compatible with all outputs") ErrNoCompatibleFileOutputType = psrpc.NewErrorf(psrpc.InvalidArgument, "no supported file output type is compatible with the selected codecs") ErrEgressNotFound = psrpc.NewErrorf(psrpc.NotFound, "egress not found") ErrSubscriptionFailed = psrpc.NewErrorf(psrpc.Unavailable, "failed to subscribe to track") ErrNotEnoughCPU = psrpc.NewErrorf(psrpc.Unavailable, "not enough CPU") ErrShuttingDown = psrpc.NewErrorf(psrpc.Unavailable, "server is shutting down") )
Functions ¶
func ErrCPUExhausted ¶ added in v1.8.1
func ErrCouldNotParseConfig ¶
func ErrGstPipelineError ¶ added in v1.5.5
func ErrIncompatible ¶
func ErrIncompatible(format, codec interface{}) error
func ErrInvalidInput ¶
func ErrInvalidUrl ¶
func ErrNotSupported ¶
func ErrPadLinkFailed ¶
func ErrPageLoadFailed ¶ added in v1.8.4
func ErrParticipantNotFound ¶ added in v1.4.2
func ErrProcessStartFailed ¶ added in v1.5.5
func ErrStreamNotFound ¶
func ErrTrackNotFound ¶
func ErrUploadFailed ¶
This can have many reasons, some related to invalid parameters, other because of system failure. Do not provide an error code until we have code to analyze the error from the underlying upload library further.
Types ¶
Click to show internal directories.
Click to hide internal directories.