mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
improve coverage
This commit is contained in:
@@ -81,7 +81,7 @@ func TestRTCPReceiverOverflow(t *testing.T) {
|
||||
}
|
||||
v := uint32(0x65f83afb)
|
||||
|
||||
rr := New(500*time.Millisecond, &v, 90000, func(pkt rtcp.Packet) {
|
||||
rr := New(250*time.Millisecond, &v, 90000, func(pkt rtcp.Packet) {
|
||||
require.Equal(t, &rtcp.ReceiverReport{
|
||||
SSRC: 0x65f83afb,
|
||||
Reports: []rtcp.ReceptionReport{
|
||||
@@ -97,6 +97,8 @@ func TestRTCPReceiverOverflow(t *testing.T) {
|
||||
})
|
||||
defer rr.Close()
|
||||
|
||||
time.Sleep(400 * time.Millisecond)
|
||||
|
||||
srPkt := rtcp.SenderReport{
|
||||
SSRC: 0xba9da416,
|
||||
NTPTime: 0xe363887a17ced916,
|
||||
|
Reference in New Issue
Block a user