error.go 492 B

1234567891011121314
  1. package codecs
  2. import "errors"
  3. var (
  4. errShortPacket = errors.New("packet is not large enough")
  5. errNilPacket = errors.New("invalid nil packet")
  6. errTooManyPDiff = errors.New("too many PDiff")
  7. errTooManySpatialLayers = errors.New("too many spatial layers")
  8. errUnhandledNALUType = errors.New("NALU Type is unhandled")
  9. // AV1 Errors
  10. errIsKeyframeAndFragment = errors.New("bits Z and N are set. Not possible to have OBU be tail fragment and be keyframe")
  11. )