Support per simulcast codec layers. (#3840)

* different layers

* deps
This commit is contained in:
Raja Subramanian
2025-08-08 19:53:38 +05:30
committed by GitHub
parent f275f592ed
commit f2da4444b4
5 changed files with 56 additions and 32 deletions
-4
View File
@@ -208,10 +208,6 @@ func (t *MediaTrack) ToProto() *livekit.TrackInfo {
return t.MediaTrackReceiver.TrackInfoClone()
}
func (t *MediaTrack) UpdateCodecCid(codecs []*livekit.SimulcastCodec) {
t.MediaTrackReceiver.UpdateCodecCid(codecs)
}
// AddReceiver adds a new RTP receiver to the track, returns true when receiver represents a new codec
// and if a receiver was added successfully
func (t *MediaTrack) AddReceiver(receiver *webrtc.RTPReceiver, track sfu.TrackRemote, mid string) (bool, bool) {