Prevent multiple resume notifications on track (#334)
* Prevent multiple resume notifications on track When returning previous allocation as is, reset change to none. Ideally, would like to have change as a separate return and not in last allocation. But, also prefer to have last allocation state. For now, resetting change. * log bandwidth estimate only on decrease
This commit is contained in:
@@ -227,7 +227,7 @@ func TestForwarderAllocate(t *testing.T) {
|
||||
}
|
||||
expectedResult = VideoAllocation{
|
||||
state: VideoAllocationStateAwaitingMeasurement,
|
||||
change: VideoStreamingChangeNone,
|
||||
change: VideoStreamingChangeResuming,
|
||||
bandwidthRequested: 0,
|
||||
bandwidthDelta: 0,
|
||||
availableLayers: []uint16{0},
|
||||
|
||||
Reference in New Issue
Block a user