Add a public API to send RTCP packets

Relates to #63
This commit is contained in:
Sean DuBois
2018-09-22 14:43:27 -07:00
parent 0c0b1dddd1
commit 210db45d44
5 changed files with 66 additions and 7 deletions

7
pkg/rtcp/packet.go Normal file
View File

@@ -0,0 +1,7 @@
package rtcp
// Packet represents an RTCP packet, a protocol used for out-of-band statistics and control information for an RTP session
type Packet interface {
Marshal() ([]byte, error)
Unmarshal(rawPacket []byte) error
}