Move UpdateTrackInfo into MediaTrackReceiver (#329)

This commit is contained in:
Raja Subramanian
2022-01-10 19:07:21 +05:30
committed by GitHub
parent 02eb21c2ce
commit d6deb6cfa4
2 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ func (t *MediaTrack) SdpCid() string {
}
func (t *MediaTrack) ToProto() *livekit.TrackInfo {
info := t.params.TrackInfo
info := t.MediaTrackReceiver.TrackInfo()
info.Muted = t.IsMuted()
info.Simulcast = t.IsSimulcast()
layers := t.MediaTrackReceiver.GetVideoLayers()