client, server: print number of lost packets even when using TCP (#269)

This commit is contained in:
Alessandro Ros
2023-05-02 14:30:32 +02:00
committed by GitHub
parent 3bf1725e46
commit a9a7426412
7 changed files with 140 additions and 22 deletions

View File

@@ -3085,7 +3085,7 @@ func TestClientPlayDecodeErrors(t *testing.T) {
}(),
OnPacketLost: func(err error) {
if ca.proto == "udp" && ca.name == "rtp packets lost" {
require.EqualError(t, err, "69 RTP packet(s) lost")
require.EqualError(t, err, "69 RTP packets lost")
}
close(errorRecv)
},