Disable vp9 for safari 18.4 (#3631)

* Disable vp9 for safari 18.4

safari 18.4's svc encoding is broken

* more flex on test timeout
This commit is contained in:
cnderrauber
2025-04-29 13:17:39 +08:00
committed by GitHub
parent f69ab68045
commit 847239c3f2
4 changed files with 15 additions and 3 deletions
@@ -23,7 +23,7 @@ func TestDataChannelWriter(t *testing.T) {
require.Equal(t, 2000, n)
t1 := time.Now()
mockDC.SetNextWriteCompleteAt(t0.Add(time.Second))
mockDC.SetNextWriteCompleteAt(t0.Add(time.Second * 3 / 2))
n, err = w.Write(buf[:10])
require.NoError(t, err)
require.Equal(t, 10, n)