protocol/rtcp/rtcp.go: added placeholder functions for getting sender report timestamp words

This commit is contained in:
Saxon 2019-04-12 16:40:52 +09:30
parent 81048d1613
commit 8f452e1155
1 changed files with 7 additions and 5 deletions

View File

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