update core to 0.0.5 (#1540)

* update core

* sort imports

* fix typos

* redundant types
This commit is contained in:
David Colburn
2023-03-22 16:53:23 -07:00
committed by GitHub
parent 0ea88e4025
commit 191a9e8014
41 changed files with 272 additions and 263 deletions
+3 -3
View File
@@ -518,7 +518,7 @@ func TestForwarderProvisionalAllocate(t *testing.T) {
}
expectedResult = VideoAllocation{
bandwidthRequested: bitrates[1][3],
bandwidthDelta: bitrates[1][3] - 1, // 1 is the last allocation bandwith requested
bandwidthDelta: bitrates[1][3] - 1, // 1 is the last allocation bandwidth requested
bitrates: bitrates,
targetLayers: expectedTargetLayers,
requestLayerSpatial: expectedTargetLayers.Spatial,
@@ -562,7 +562,7 @@ func TestForwarderProvisionalAllocate(t *testing.T) {
expectedResult = VideoAllocation{
pauseReason: VideoPauseReasonFeedDry,
bandwidthRequested: bitrates[0][2],
bandwidthDelta: bitrates[0][2] - 8, // 8 is the last allocation bandwith requested
bandwidthDelta: bitrates[0][2] - 8, // 8 is the last allocation bandwidth requested
bitrates: bitrates,
targetLayers: expectedTargetLayers,
requestLayerSpatial: expectedTargetLayers.Spatial,
@@ -787,7 +787,7 @@ func TestForwarderProvisionalAllocateGetCooperativeTransition(t *testing.T) {
require.Equal(t, expectedLayers, f.TargetLayers())
//
// Test continuting at current layers when feed is dry
// Test continuing at current layers when feed is dry
//
bitrates = Bitrates{
{0, 0, 0, 0},