diff --git a/protocol/rtcp/parse.go b/protocol/rtcp/parse.go index be680fa0..458be546 100644 --- a/protocol/rtcp/parse.go +++ b/protocol/rtcp/parse.go @@ -38,9 +38,9 @@ type Timestamp struct { Fraction uint32 } -// Timestamp gets the timestamp from a receiver report and returns it as the most -// significant word, and the least significant word. If the given bytes do not -// represent a valid receiver report, an error is returned. +// ParseTimestamp gets the timestamp from a receiver report and returns it as +// a Timestamp as defined above. If the given bytes do not represent a valid +// receiver report, an error is returned. func ParseTimestamp(buf []byte) (Timestamp, error) { err := checkPacket(buf) if err != nil {