Chaging VideoLayers -> VideoLayer (#1591)
There was mixed used. It is a struct. So, it is a singular. Change all the places I could find. There may be more, but can be changed when spotted.
This commit is contained in:
@@ -89,7 +89,7 @@ func (s *Simulcast) Select(extPkt *buffer.ExtPacket, layer int32) (result VideoL
|
||||
if !isActive {
|
||||
result.IsResuming = true
|
||||
}
|
||||
s.SetParked(buffer.InvalidLayers)
|
||||
s.SetParked(buffer.InvalidLayer)
|
||||
if s.currentLayer.Spatial >= s.maxLayer.Spatial {
|
||||
result.IsSwitchingToMaxSpatial = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user