update docs

This commit is contained in:
aler9
2022-05-10 10:28:52 +02:00
parent edeef85e9e
commit 18f7fab361
8 changed files with 10 additions and 10 deletions

View File

@@ -3,7 +3,7 @@ package aac
// MPEG4AudioType is the type of a MPEG-4 Audio stream.
type MPEG4AudioType int
// standard MPEG-4 Audio types.
// MPEG-4 Audio types.
const (
MPEG4AudioTypeAACLC MPEG4AudioType = 2
)

View File

@@ -19,7 +19,7 @@ const (
// Method is the method of a RTSP request.
type Method string
// standard methods
// methods.
const (
Announce Method = "ANNOUNCE"
Describe Method = "DESCRIBE"

View File

@@ -11,7 +11,7 @@ import (
// StatusCode is the status code of a RTSP response.
type StatusCode int
// standard status codes
// status codes.
const (
StatusContinue StatusCode = 100
StatusOK StatusCode = 200

View File

@@ -7,7 +7,7 @@ import (
// NALUType is the type of a NALU.
type NALUType uint8
// standard NALU types.
// NALU types.
const (
NALUTypeNonIDR NALUType = 1
NALUTypeDataPartitionA NALUType = 2

View File

@@ -14,7 +14,7 @@ import (
// TransportProtocol is a transport protocol.
type TransportProtocol int
// standard transport protocols.
// transport protocols.
const (
TransportProtocolUDP TransportProtocol = iota
TransportProtocolTCP
@@ -23,7 +23,7 @@ const (
// TransportDelivery is a delivery method.
type TransportDelivery int
// standard transport delivery methods.
// transport delivery methods.
const (
TransportDeliveryUnicast TransportDelivery = iota
TransportDeliveryMulticast

View File

@@ -15,7 +15,7 @@ var cases = []struct {
enc []byte
desc SessionDescription
}{
// standard-compliant SDPs
// compliant SDPs
{
"base",
[]byte("v=0\r\n" +
@@ -269,7 +269,7 @@ var cases = []struct {
},
},
},
// non standard-compliant SDPs
// non compliant SDPs
{
"unordered global attributes",
[]byte("v=0\r\n" +

View File

@@ -115,7 +115,7 @@ func setupGetTransport(th headers.Transport) (Transport, bool) {
// ServerSessionState is a state of a ServerSession.
type ServerSessionState int
// standard states.
// states.
const (
ServerSessionStateInitial ServerSessionState = iota
ServerSessionStatePrePlay

View File

@@ -3,7 +3,7 @@ package gortsplib
// Transport is a RTSP transport protocol.
type Transport int
// standard transport protocols.
// transport protocols.
const (
TransportUDP Transport = iota
TransportUDPMulticast