mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 07:37:07 +08:00
support tracks without clock rate
This commit is contained in:
@@ -103,6 +103,10 @@ func (rr *RTCPReceiver) report(ts time.Time) rtcp.Packet {
|
||||
return nil
|
||||
}
|
||||
|
||||
if rr.clockRate == 0 {
|
||||
return nil
|
||||
}
|
||||
|
||||
report := &rtcp.ReceiverReport{
|
||||
SSRC: rr.receiverSSRC,
|
||||
Reports: []rtcp.ReceptionReport{
|
||||
|
Reference in New Issue
Block a user