fix vpn notification, add more logs under debug flag

This commit is contained in:
kulikov0 committed 2026-07-25 12:23:41 +02:00
1 parent d66be97922
commit 2dbc6ea1eb
17 files changed
+90 -27

No files matched your search

+1 -1
View File
@@ -271,7 +271,7 @@ func (r *SFURelay) readTrack(track *webrtc.TrackRemote) {
continue
}
recvCount++
if recvCount <= 3 || recvCount%200 == 0 {
if common.Debug && (recvCount <= 3 || recvCount%200 == 0) {
log.Printf("[video] recv vp8 frame #%d %d bytes", recvCount, len(frameBuf))
}