protocol/rtcp/parse.go: updated comment for ParseTimestamp(...)

This commit is contained in:
Saxon 2019-05-23 14:07:19 +09:30
parent ecc0ab8664
commit d7d205a7a9
1 changed files with 3 additions and 3 deletions

View File

@ -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 {