Remove debug prints
This commit is contained in:
parent
096ed8063e
commit
b4272fb408
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user