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 {
|
if b.rtpStats != nil {
|
||||||
b.rtpStats.Stop()
|
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 {
|
if b.onClose != nil {
|
||||||
|
|||||||
@@ -675,7 +675,7 @@ func (d *DownTrack) CloseWithFlush(flush bool) {
|
|||||||
|
|
||||||
d.connectionStats.Close()
|
d.connectionStats.Close()
|
||||||
d.rtpStats.Stop()
|
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 {
|
if d.onMaxLayerChanged != nil && d.kind == webrtc.RTPCodecTypeVideo {
|
||||||
d.onMaxLayerChanged(d, InvalidLayerSpatial)
|
d.onMaxLayerChanged(d, InvalidLayerSpatial)
|
||||||
|
|||||||
Reference in New Issue
Block a user