remove StreamType from base

This commit is contained in:
aler9
2021-10-30 16:39:02 +02:00
committed by Alessandro Ros
parent 6d340cdf39
commit e8e2059b0d
5 changed files with 27 additions and 43 deletions

12
streamtype_test.go Normal file
View File

@@ -0,0 +1,12 @@
package gortsplib
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestStreamType(t *testing.T) {
require.NotEqual(t, "unknown", StreamTypeRTP.String())
require.Equal(t, "unknown", StreamType(4).String())
}