summaryrefslogtreecommitdiff
path: root/vendor/github.com/pion/rtp/codecs/error.go
blob: 7f72e7b8e931fc5aa4d3cb93fe9ab57b89d17e74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package codecs

import "errors"

var (
	errShortPacket          = errors.New("packet is not large enough")
	errNilPacket            = errors.New("invalid nil packet")
	errTooManyPDiff         = errors.New("too many PDiff")
	errTooManySpatialLayers = errors.New("too many spatial layers")
	errUnhandledNALUType    = errors.New("NALU Type is unhandled")

	// AV1 Errors
	errIsKeyframeAndFragment = errors.New("bits Z and N are set. Not possible to have OBU be tail fragment and be keyframe")
)