Log track info when media published. (#2306)

With pending track added moved to Debugw, will be good to have this when
track is published.
This commit is contained in:
Raja Subramanian
2023-12-11 11:20:25 +05:30
committed by GitHub
parent c766676d36
commit dfcafff955
+1
View File
@@ -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() {