mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
client, server: print number of lost packets even when using TCP (#269)
This commit is contained in:
@@ -1218,7 +1218,7 @@ func TestServerRecordDecodeErrors(t *testing.T) {
|
||||
},
|
||||
onPacketLost: func(ctx *ServerHandlerOnPacketLostCtx) {
|
||||
if ca.proto == "udp" && ca.name == "rtp packets lost" {
|
||||
require.EqualError(t, ctx.Error, "69 RTP packet(s) lost")
|
||||
require.EqualError(t, ctx.Error, "69 RTP packets lost")
|
||||
}
|
||||
close(errorRecv)
|
||||
},
|
||||
|
Reference in New Issue
Block a user