Move rtp stats log to info (#752)

This commit is contained in:
Raja Subramanian
2022-06-06 22:20:48 +05:30
committed by GitHub
parent c62def3fdf
commit e72fd80ca0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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)