rename StreamProtocol and StreamDelivery into TransportProtocol and TransportDelivery

This commit is contained in:
aler9
2021-10-22 17:59:36 +02:00
parent 320c1b6f2c
commit 61c39f9062
14 changed files with 293 additions and 329 deletions

16
streamtype.go Normal file
View 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
)