mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 23:26:54 +08:00
remove StreamType from base
This commit is contained in:
12
streamtype_test.go
Normal file
12
streamtype_test.go
Normal 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())
|
||||
}
|
Reference in New Issue
Block a user