mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
remove transport modes from root folder
This commit is contained in:
12
defs.go
12
defs.go
@@ -2,7 +2,6 @@ package gortsplib
|
||||
|
||||
import (
|
||||
"github.com/aler9/gortsplib/base"
|
||||
"github.com/aler9/gortsplib/headers"
|
||||
)
|
||||
|
||||
// StreamProtocol is the protocol of a stream.
|
||||
@@ -37,14 +36,3 @@ const (
|
||||
// StreamTypeRtcp means that the stream contains RTCP packets
|
||||
StreamTypeRtcp StreamType = base.StreamTypeRtcp
|
||||
)
|
||||
|
||||
// TransportMode is a transport mode.
|
||||
type TransportMode = headers.TransportMode
|
||||
|
||||
const (
|
||||
// TransportModePlay is the "play" transport mode
|
||||
TransportModePlay TransportMode = headers.TransportModePlay
|
||||
|
||||
// TransportModeRecord is the "record" transport mode
|
||||
TransportModeRecord TransportMode = headers.TransportModeRecord
|
||||
)
|
||||
|
Reference in New Issue
Block a user