forked from livekit/server-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherrors.go
16 lines (14 loc) · 832 Bytes
/
errors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package lksdk
import "errors"
var (
ErrURLNotProvided = errors.New("URL was not provided")
ErrConnectionTimeout = errors.New("could not connect after timeout")
ErrTrackPublishTimeout = errors.New("timed out publishing track")
ErrCannotDetermineMime = errors.New("cannot determine mimetype from file extension")
ErrUnsupportedFileType = errors.New("ReaderSampleProvider does not support this mime type")
ErrUnsupportedSimulcastKind = errors.New("simulcast is only supported for video")
ErrInvalidSimulcastTrack = errors.New("simulcast track was not initiated correctly")
ErrCannotFindTrack = errors.New("could not find the track")
ErrInvalidParameter = errors.New("invalid parameter")
ErrCannotConnectSignal = errors.New("could not establish signal connection")
)