Simplifying (hopefully) sfu.DownTrack (#213)
* Simplifying (hopefully) sfu.DownTrack * Remove unnecessary check as pdding only packets are dropped before that check * Temporal filtering max layer * - Split out forwarder bits into a separate structure - Address comments from Jie and David * Remove debug and unneeded stuff * Fix test * Remove unneeded default initialization
This commit is contained in:
@@ -75,7 +75,7 @@ func TestVP8Helper_Unmarshal(t *testing.T) {
|
||||
t.Errorf("Unmarshal() error = %v, wantErr %v", err, tt.wantErr)
|
||||
}
|
||||
if tt.checkTemporal {
|
||||
assert.Equal(t, tt.temporalSupport, p.TemporalSupported)
|
||||
assert.Equal(t, tt.temporalSupport, p.TIDPresent == 1)
|
||||
}
|
||||
if tt.checkKeyFrame {
|
||||
assert.Equal(t, tt.keyFrame, p.IsKeyFrame)
|
||||
|
||||
Reference in New Issue
Block a user