A few more log tweaks (#1159)

This commit is contained in:
Raja Subramanian
2022-11-11 13:44:14 +05:30
committed by GitHub
parent fe0502c886
commit 379301c0bc
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ func (d *DynacastManager) update(force bool) {
} }
if downgradesOnly { if downgradesOnly {
d.params.Logger.Infow("debouncing quality downgrade", d.params.Logger.Debugw("debouncing quality downgrade",
"committedMaxSubscribedQuality", d.committedMaxSubscribedQuality, "committedMaxSubscribedQuality", d.committedMaxSubscribedQuality,
"maxSubscribedQuality", d.maxSubscribedQuality, "maxSubscribedQuality", d.maxSubscribedQuality,
) )
+1 -1
View File
@@ -535,12 +535,12 @@ func (p *ParticipantImpl) Start() {
} }
func (p *ParticipantImpl) Close(sendLeave bool, reason types.ParticipantCloseReason) error { func (p *ParticipantImpl) Close(sendLeave bool, reason types.ParticipantCloseReason) error {
p.params.Logger.Infow("participant closing", "sendLeave", sendLeave, "reason", reason.String())
if p.isClosed.Swap(true) { if p.isClosed.Swap(true) {
// already closed // already closed
return nil return nil
} }
p.params.Logger.Infow("participant closing", "sendLeave", sendLeave, "reason", reason.String())
p.clearDisconnectTimer() p.clearDisconnectTimer()
p.clearMigrationTimer() p.clearMigrationTimer()
+1 -1
View File
@@ -200,7 +200,7 @@ func (b *Buffer) Bind(params webrtc.RTPParameters, codec webrtc.RTPCodecCapabili
switch fb.Type { switch fb.Type {
case webrtc.TypeRTCPFBGoogREMB: case webrtc.TypeRTCPFBGoogREMB:
b.logger.Debugw("Setting feedback", "type", webrtc.TypeRTCPFBGoogREMB) b.logger.Debugw("Setting feedback", "type", webrtc.TypeRTCPFBGoogREMB)
b.logger.Warnw("REMB not supported, RTCP feedback will not be generated", nil) b.logger.Debugw("REMB not supported, RTCP feedback will not be generated")
case webrtc.TypeRTCPFBTransportCC: case webrtc.TypeRTCPFBTransportCC:
if b.codecType == webrtc.RTPCodecTypeVideo { if b.codecType == webrtc.RTPCodecTypeVideo {
b.logger.Debugw("Setting feedback", "type", webrtc.TypeRTCPFBTransportCC) b.logger.Debugw("Setting feedback", "type", webrtc.TypeRTCPFBTransportCC)
+1 -1
View File
@@ -222,7 +222,7 @@ func (f *FrameRateCalculatorDD) RecvPacket(ep *ExtPacket) bool {
} }
if ep.DependencyDescriptor == nil { if ep.DependencyDescriptor == nil {
f.logger.Infow("dependency descriptor is nil", nil) f.logger.Infow("dependency descriptor is nil")
return false return false
} }