Store initial track MimeType in TrackInfo (#1065)
This commit is contained in:
@@ -1677,6 +1677,7 @@ func (p *ParticipantImpl) mediaTrackReceived(track *webrtc.TrackRemote, rtpRecei
|
||||
return nil, false
|
||||
}
|
||||
|
||||
ti.MimeType = track.Codec().MimeType
|
||||
mt = p.addMediaTrack(signalCid, track.ID(), ti)
|
||||
newTrack = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user