mirror of https://bitbucket.org/ausocean/av.git
protocol/rtcp/parse.go: updated comment for ParseTimestamp(...)
This commit is contained in:
parent
ecc0ab8664
commit
d7d205a7a9
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue