mirror of https://bitbucket.org/ausocean/av.git
protocol/rtcp/rtcp.go: added placeholder functions for getting sender report timestamp words
This commit is contained in:
parent
81048d1613
commit
8f452e1155
|
@ -2,8 +2,6 @@ package rtcp
|
|||
|
||||
import (
|
||||
"encoding/binary"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
)
|
||||
|
||||
// RTCP packet types.
|
||||
|
@ -148,7 +146,11 @@ func asByte(b bool) byte {
|
|||
}
|
||||
return 0x00
|
||||
}
|
||||
func Handle(r io.Reader) error {
|
||||
io.Copy(ioutil.Discard, r)
|
||||
return nil
|
||||
|
||||
func TimestampMSW(buf []byte) (uint32, error) {
|
||||
return 0, nil
|
||||
}
|
||||
|
||||
func TimestampLSW(buf []byte) (uint32, error) {
|
||||
return 0, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue