mirror of
https://github.com/livekit/livekit.git
synced 2026-05-25 05:55:44 +00:00
Move rtp stats log to info (#752)
This commit is contained in:
@@ -291,7 +291,7 @@ func (b *Buffer) Close() error {
|
||||
|
||||
if b.rtpStats != nil {
|
||||
b.rtpStats.Stop()
|
||||
b.logger.Debugw("rtp stats", "stats", b.rtpStats.ToString())
|
||||
b.logger.Infow("rtp stats", "stats", b.rtpStats.ToString())
|
||||
}
|
||||
|
||||
if b.onClose != nil {
|
||||
|
||||
@@ -675,7 +675,7 @@ func (d *DownTrack) CloseWithFlush(flush bool) {
|
||||
|
||||
d.connectionStats.Close()
|
||||
d.rtpStats.Stop()
|
||||
d.logger.Debugw("rtp stats", "stats", d.rtpStats.ToString())
|
||||
d.logger.Infow("rtp stats", "stats", d.rtpStats.ToString())
|
||||
|
||||
if d.onMaxLayerChanged != nil && d.kind == webrtc.RTPCodecTypeVideo {
|
||||
d.onMaxLayerChanged(d, InvalidLayerSpatial)
|
||||
|
||||
Reference in New Issue
Block a user