fix vpn notification, add more logs under debug flag
This commit is contained in:
1 parent
d66be97922
commit
2dbc6ea1eb
17 files changed
+90
-27
No files matched your search
@@ -217,7 +217,7 @@ func ReadTrack(track *webrtc.TrackRemote, handler func([]byte), logFn func(strin
|
||||
continue
|
||||
}
|
||||
recvCount++
|
||||
if recvCount <= 3 || recvCount%200 == 0 {
|
||||
if common.Debug && (recvCount <= 3 || recvCount%200 == 0) {
|
||||
logFn("%s: recv vp8 frame #%d %d bytes", prefix, recvCount, len(frameBuf))
|
||||
}
|
||||
if handler != nil {
|
||||
|
||||
Reference in new issue
Block a user