Fix RTSP MJPEG source quality in some cases #559

This commit is contained in:
Alex X
2024-07-26 07:55:15 +03:00
parent 3762bdbccd
commit c5bc761a52
2 changed files with 64 additions and 22 deletions
+13
View File
@@ -0,0 +1,13 @@
package mjpeg
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestRFC2435(t *testing.T) {
lqt, cqt := MakeTables(71)
require.Equal(t, byte(9), lqt[0])
require.Equal(t, byte(10), cqt[0])
}