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:
@@ -1341,6 +1341,7 @@ func (p *ParticipantImpl) onMediaTrack(track *webrtc.TrackRemote, rtpReceiver *w
|
|||||||
"rid", track.RID(),
|
"rid", track.RID(),
|
||||||
"SSRC", track.SSRC(),
|
"SSRC", track.SSRC(),
|
||||||
"mime", track.Codec().MimeType,
|
"mime", track.Codec().MimeType,
|
||||||
|
"trackInfo", logger.Proto(publishedTrack.ToProto()),
|
||||||
)
|
)
|
||||||
|
|
||||||
if !isNewTrack && !publishedTrack.HasPendingCodec() && p.IsReady() {
|
if !isNewTrack && !publishedTrack.HasPendingCodec() && p.IsReady() {
|
||||||
|
|||||||
Reference in New Issue
Block a user