Packet represents an RTCP packet, a protocol used for out-of-band statistics and control information for an RTP session.
| 6 | // Packet represents an RTCP packet, a protocol used for out-of-band statistics |
| 7 | // and control information for an RTP session. |
| 8 | type Packet interface { |
| 9 | // DestinationSSRC returns an array of SSRC values that this packet refers to. |
| 10 | DestinationSSRC() []uint32 |
| 11 | |
| 12 | Marshal() ([]byte, error) |
| 13 | Unmarshal(rawPacket []byte) error |
| 14 | MarshalSize() int |
| 15 | } |
| 16 | |
| 17 | // Unmarshal takes an entire udp datagram (which may consist of multiple RTCP packets) and |
| 18 | // returns the unmarshaled packets it contains. |
no outgoing calls
no test coverage detected
searching dependent graphs…