remove StreamProtocol from root

This commit is contained in:
aler9
2021-06-05 23:15:18 +02:00
parent 363871d658
commit aeb1958bc1
9 changed files with 129 additions and 140 deletions

11
defs.go
View File

@@ -4,17 +4,6 @@ import (
"github.com/aler9/gortsplib/pkg/base"
)
// StreamProtocol is the protocol of a stream.
type StreamProtocol = base.StreamProtocol
const (
// StreamProtocolUDP means that the stream uses the UDP protocol
StreamProtocolUDP StreamProtocol = base.StreamProtocolUDP
// StreamProtocolTCP means that the stream uses the TCP protocol
StreamProtocolTCP StreamProtocol = base.StreamProtocolTCP
)
// StreamType is the stream type.
type StreamType = base.StreamType