Remove debug prints

This commit is contained in:
Ingo Oppermann 2024-05-23 21:35:14 +02:00
parent 096ed8063e
commit b4272fb408

View File

@ -248,13 +248,11 @@ func (prober *Prober) Probed() (ok bool) {
if prober.HasAudio || prober.HasVideo { if prober.HasAudio || prober.HasVideo {
if prober.HasAudio == prober.GotAudio && prober.HasVideo == prober.GotVideo { if prober.HasAudio == prober.GotAudio && prober.HasVideo == prober.GotVideo {
fmt.Printf("probed %d packets\n", prober.PushedCount)
return true return true
} }
} }
if prober.PushedCount == prober.MaxProbePacketCount { if prober.PushedCount == prober.MaxProbePacketCount {
fmt.Printf("probed max. %d packets\n", prober.PushedCount)
return true return true
} }