Cleanup pass through logging (#1073)
* added filtering for noisy pion logs * demoted some logs to debug * using consistent trackID / participant / publisher / subscriber terminology * removed ice candidate log lines, deferring to combined log
This commit is contained in:
@@ -289,7 +289,7 @@ func (f *Forwarder) Mute(muted bool) (bool, VideoLayers) {
|
||||
return false, f.maxLayers
|
||||
}
|
||||
|
||||
f.logger.Infow("setting mute", "muted", muted)
|
||||
f.logger.Infow("setting forwarder mute", "muted", muted)
|
||||
f.muted = muted
|
||||
|
||||
// resync when muted so that sequence numbers do not jump on unmute
|
||||
|
||||
+1
-1
@@ -352,7 +352,7 @@ func (w *WebRTCReceiver) AddDownTrack(track TrackSender) error {
|
||||
}
|
||||
|
||||
if w.downTrackSpreader.HasDownTrack(track.SubscriberID()) {
|
||||
w.logger.Infow("subscriberID already exists, replace the downtrack", "subscriberID", track.SubscriberID())
|
||||
w.logger.Infow("subscriberID already exists, replacing downtrack", "subscriberID", track.SubscriberID())
|
||||
}
|
||||
|
||||
if w.Kind() == webrtc.RTPCodecTypeVideo {
|
||||
|
||||
@@ -69,7 +69,7 @@ func (r *RedPrimaryReceiver) AddDownTrack(track TrackSender) error {
|
||||
}
|
||||
|
||||
if r.downTrackSpreader.HasDownTrack(track.SubscriberID()) {
|
||||
r.logger.Infow("subscriberID already exists, replace the downtrack", "subscriberID", track.SubscriberID())
|
||||
r.logger.Infow("subscriberID already exists, replacing downtrack", "subscriberID", track.SubscriberID())
|
||||
}
|
||||
|
||||
r.downTrackSpreader.Store(track)
|
||||
|
||||
Reference in New Issue
Block a user