mirror of
https://github.com/aler9/gortsplib
synced 2025-10-11 10:00:25 +08:00
rename StreamProtocol and StreamDelivery into TransportProtocol and TransportDelivery
This commit is contained in:
16
streamtype.go
Normal file
16
streamtype.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package gortsplib
|
||||
|
||||
import (
|
||||
"github.com/aler9/gortsplib/pkg/base"
|
||||
)
|
||||
|
||||
// StreamType is the stream type.
|
||||
type StreamType = base.StreamType
|
||||
|
||||
const (
|
||||
// StreamTypeRTP means that the stream contains RTP packets
|
||||
StreamTypeRTP StreamType = base.StreamTypeRTP
|
||||
|
||||
// StreamTypeRTCP means that the stream contains RTCP packets
|
||||
StreamTypeRTCP StreamType = base.StreamTypeRTCP
|
||||
)
|
Reference in New Issue
Block a user