Stream allocator fixes (#212)
* Stream allocator fixes - Treat simple track like simulcast track with one layer to make it stream allocator friendly. * Address David's comments
This commit is contained in:
@@ -707,6 +707,7 @@ func (p *ParticipantImpl) GetConnectionQuality() livekit.ConnectionQuality {
|
||||
if subTrack.IsMuted() {
|
||||
continue
|
||||
}
|
||||
// LK-TODO: maybe this should check CurrentSpatialLayer as target may not have been achieved
|
||||
if subTrack.DownTrack().TargetSpatialLayer() < subTrack.DownTrack().MaxSpatialLayer() {
|
||||
reducedQualitySub = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user