mirror of
https://github.com/livekit/livekit.git
synced 2026-08-28 09:24:08 +00:00
A few more log tweaks (#1159)
This commit is contained in:
@@ -210,7 +210,7 @@ func (d *DynacastManager) update(force bool) {
|
||||
}
|
||||
|
||||
if downgradesOnly {
|
||||
d.params.Logger.Infow("debouncing quality downgrade",
|
||||
d.params.Logger.Debugw("debouncing quality downgrade",
|
||||
"committedMaxSubscribedQuality", d.committedMaxSubscribedQuality,
|
||||
"maxSubscribedQuality", d.maxSubscribedQuality,
|
||||
)
|
||||
|
||||
@@ -535,12 +535,12 @@ func (p *ParticipantImpl) Start() {
|
||||
}
|
||||
|
||||
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) {
|
||||
// already closed
|
||||
return nil
|
||||
}
|
||||
|
||||
p.params.Logger.Infow("participant closing", "sendLeave", sendLeave, "reason", reason.String())
|
||||
p.clearDisconnectTimer()
|
||||
p.clearMigrationTimer()
|
||||
|
||||
|
||||
@@ -200,7 +200,7 @@ func (b *Buffer) Bind(params webrtc.RTPParameters, codec webrtc.RTPCodecCapabili
|
||||
switch fb.Type {
|
||||
case 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:
|
||||
if b.codecType == webrtc.RTPCodecTypeVideo {
|
||||
b.logger.Debugw("Setting feedback", "type", webrtc.TypeRTCPFBTransportCC)
|
||||
|
||||
@@ -222,7 +222,7 @@ func (f *FrameRateCalculatorDD) RecvPacket(ep *ExtPacket) bool {
|
||||
}
|
||||
|
||||
if ep.DependencyDescriptor == nil {
|
||||
f.logger.Infow("dependency descriptor is nil", nil)
|
||||
f.logger.Infow("dependency descriptor is nil")
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user