mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
remove StreamProtocol from root
This commit is contained in:
11
defs.go
11
defs.go
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user