mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
13 lines
229 B
Go
13 lines
229 B
Go
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())
|
|
}
|