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
@@ -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))
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user