2024-06-05 20:10:03 +00:00
|
|
|
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
|
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
|
2022-03-10 09:44:48 +00:00
|
|
|
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")
|
2024-05-15 23:15:00 +00:00
|
|
|
|
|
|
|
// AV1 Errors
|
|
|
|
errIsKeyframeAndFragment = errors.New("bits Z and N are set. Not possible to have OBU be tail fragment and be keyframe")
|
2022-03-10 09:44:48 +00:00
|
|
|
)
|