commit 3b1acc9102e2f96d3b40224dee1007a820c89675 from: Oliver Lowe date: Sat Aug 17 01:29:41 2024 UTC rtp: finish header length documentation commit - f7c6ae15d84416d1c6a4d34c1c5a35a35ecbb612 commit + 3b1acc9102e2f96d3b40224dee1007a820c89675 blob - 5c634bae8a2f1f60af2fdb497a11d8d56b6f94fc blob + 242e18c2a2144ff847b36e827ec131dcd5058876 --- rtp/rtp.go +++ rtp/rtp.go @@ -127,6 +127,8 @@ var ErrNoPayload = errors.New("no payload") // - 1 byte (version, padding, extension, contrib count) // - 1 byte (marker + type) // - 2 bytes (sequence) +// - 4 bytes (timestamp) +// - 4 bytes (sync source) const minHeaderLength = 12 func Unmarshal(data []byte, p *Packet) error {