Attempt to avoid out-of-order max subscribed layer notifications. (#1882)

* Check for request layer lock only in the goroutine

* check before sending PLI

* max layer notifier worker

* test cleanup

* clean up

* do notification in the callback
This commit is contained in:
Raja Subramanian
2023-07-16 23:28:20 +05:30
committed by GitHub
parent 06d8459234
commit 11e1eb00fa
8 changed files with 183 additions and 172 deletions
@@ -10,9 +10,6 @@ type VideoLayerSelectorResult struct {
IsRelevant bool
IsSwitching bool
IsResuming bool
IsSwitchingToRequestSpatial bool
IsSwitchingToMaxSpatial bool
MaxSpatialLayer int32
RTPMarker bool
DependencyDescriptorExtension []byte
}