mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 07:37:07 +08:00
fix docs
This commit is contained in:
12
utils.go
12
utils.go
@@ -10,10 +10,10 @@ type StreamProtocol = headers.StreamProtocol
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// StreamProtocolUDP means that the stream uses the UDP protocol
|
// StreamProtocolUDP means that the stream uses the UDP protocol
|
||||||
StreamProtocolUDP = headers.StreamProtocolUDP
|
StreamProtocolUDP StreamProtocol = headers.StreamProtocolUDP
|
||||||
|
|
||||||
// StreamProtocolTCP means that the stream uses the TCP protocol
|
// StreamProtocolTCP means that the stream uses the TCP protocol
|
||||||
StreamProtocolTCP = headers.StreamProtocolTCP
|
StreamProtocolTCP StreamProtocol = headers.StreamProtocolTCP
|
||||||
)
|
)
|
||||||
|
|
||||||
// StreamCast is the cast method of a stream.
|
// StreamCast is the cast method of a stream.
|
||||||
@@ -21,10 +21,10 @@ type StreamCast = headers.StreamCast
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// StreamUnicast means that the stream is unicasted
|
// StreamUnicast means that the stream is unicasted
|
||||||
StreamUnicast = headers.StreamUnicast
|
StreamUnicast StreamCast = headers.StreamUnicast
|
||||||
|
|
||||||
// StreamMulticast means that the stream is multicasted
|
// StreamMulticast means that the stream is multicasted
|
||||||
StreamMulticast = headers.StreamMulticast
|
StreamMulticast StreamCast = headers.StreamMulticast
|
||||||
)
|
)
|
||||||
|
|
||||||
// StreamType is the stream type.
|
// StreamType is the stream type.
|
||||||
@@ -32,10 +32,10 @@ type StreamType = base.StreamType
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// StreamTypeRtp means that the stream contains RTP packets
|
// StreamTypeRtp means that the stream contains RTP packets
|
||||||
StreamTypeRtp = base.StreamTypeRtp
|
StreamTypeRtp StreamType = base.StreamTypeRtp
|
||||||
|
|
||||||
// StreamTypeRtcp means that the stream contains RTCP packets
|
// StreamTypeRtcp means that the stream contains RTCP packets
|
||||||
StreamTypeRtcp = base.StreamTypeRtcp
|
StreamTypeRtcp StreamType = base.StreamTypeRtcp
|
||||||
)
|
)
|
||||||
|
|
||||||
// TransportMode is a transport mode.
|
// TransportMode is a transport mode.
|
||||||
|
Reference in New Issue
Block a user