remove transport modes from root folder

This commit is contained in:
aler9
2020-11-07 12:35:10 +01:00
parent 7e8105e7ff
commit 5f64ced5d4
3 changed files with 12 additions and 23 deletions

12
defs.go
View File

@@ -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
)