support go 1.18

This commit is contained in:
aler9
2022-04-07 12:28:00 +02:00
committed by Alessandro Ros
parent 6c6c6c68c9
commit 9d12c345f8
15 changed files with 33 additions and 19 deletions

View File

@@ -48,7 +48,8 @@ type RTCPReceiver struct {
// New allocates a RTCPReceiver.
func New(period time.Duration, receiverSSRC *uint32, clockRate int,
writePacketRTCP func(rtcp.Packet)) *RTCPReceiver {
writePacketRTCP func(rtcp.Packet),
) *RTCPReceiver {
rr := &RTCPReceiver{
period: period,
receiverSSRC: func() uint32 {