From dfcafff955d6b51796d0611192e57e5f83fccde7 Mon Sep 17 00:00:00 2001 From: Raja Subramanian Date: Mon, 11 Dec 2023 11:20:25 +0530 Subject: [PATCH] Log track info when media published. (#2306) With pending track added moved to Debugw, will be good to have this when track is published. --- pkg/rtc/participant.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/rtc/participant.go b/pkg/rtc/participant.go index cd84440a8..7339e0d2e 100644 --- a/pkg/rtc/participant.go +++ b/pkg/rtc/participant.go @@ -1341,6 +1341,7 @@ func (p *ParticipantImpl) onMediaTrack(track *webrtc.TrackRemote, rtpReceiver *w "rid", track.RID(), "SSRC", track.SSRC(), "mime", track.Codec().MimeType, + "trackInfo", logger.Proto(publishedTrack.ToProto()), ) if !isNewTrack && !publishedTrack.HasPendingCodec() && p.IsReady() {