RTCP: Add BYE packet type

Relates to #119
This commit is contained in:
Max Hawkins
2018-09-15 17:47:48 -07:00
committed by Sean DuBois
parent 178fb16977
commit 426b2a1fbc
7 changed files with 377 additions and 19 deletions

View File

@@ -2,8 +2,6 @@ package rtcp
import (
"encoding/binary"
"github.com/pkg/errors"
)
// SDESType is the item type used in the RTCP SDES control packet.
@@ -47,11 +45,6 @@ func (s SDESType) String() string {
}
}
var (
errSDESTextTooLong = errors.New("session description must be < 255 octets long")
errSDESMissingType = errors.New("session description item missing type")
)
const (
sdesSourceLen = 4
sdesTypeLen = 1