Layer 0 and non-simulacst tracks also can be fully unsubscribed. (#308)
This commit is contained in:
@@ -137,14 +137,17 @@ func (v VideoLayers) GreaterThan(v2 VideoLayers) bool {
|
||||
}
|
||||
|
||||
const (
|
||||
InvalidLayerSpatial = int32(-1)
|
||||
InvalidLayerTemporal = int32(-1)
|
||||
|
||||
DefaultMaxLayerSpatial = int32(2)
|
||||
DefaultMaxLayerTemporal = int32(3)
|
||||
)
|
||||
|
||||
var (
|
||||
InvalidLayers = VideoLayers{
|
||||
spatial: -1,
|
||||
temporal: -1,
|
||||
spatial: InvalidLayerSpatial,
|
||||
temporal: InvalidLayerTemporal,
|
||||
}
|
||||
|
||||
DefaultMaxLayers = VideoLayers{
|
||||
|
||||
Reference in New Issue
Block a user