Documentation ¶
Index ¶
Constants ¶
View Source
const ( // status code OK = "200 OK" BadRequest = "400 Bad Request" Forbidden = "403 Forbidden" NotFound = "404 Not Found" MethodNotAllowed = "405 Method Not Allowed" NotAcceptable = "406 Not Acceptable" Gone = "410 Gone" RequestTooLarge = "413 Request Message Body Too Large" UnsupportedMedia = "415 Unsupported Media Type" SessionNotFound = "453 Session Not Found" NotValidState = "455 Method Not Valid in This State" HeaderNotValid = "456 Header Field not Valid for Resource" InvalidRange = "457 Invalid Range" UnsupportedTransport = "461 Unsupported Transport" InternalError = "500 Internal Server Error" NotImplemented = "501 Not Implemented" BadGateway = "502 Bad Gateway" VersionNotSupported = "505 RTSP Version Not Supported" OptionNotSupported = "551 Option Not Supported" )
View Source
const ( CRLF = "\r\n" VERSION = "RTSP/1.0" )
View Source
const ( UNDEFINED = iota REQUEST RESPONSE )
Variables ¶
View Source
var ServerPort int = 40400
View Source
var (
UdpPort = flag.String("udp", "47000", "rtp packet port")
)
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
// contains filtered or unexported fields
}
func (*Message) AppendHeader ¶
func (*Message) AppendToBody ¶
type RTSP ¶
type RTSP struct { Router // contains filtered or unexported fields }
RTSP main type Manage Requests/Responses and Sessions
type Session ¶
type Session struct { Streamer // contains filtered or unexported fields }
func (*Session) ParseTransport ¶
Click to show internal directories.
Click to hide internal directories.