Versions in this module Expand all Collapse all v4 v4.11.2 Oct 11, 2024 v4.11.1 Oct 9, 2024 Changes in this version + const InterleavedFrameMagicByte + var StatusMessages = statusMessages + func PathSplitQuery(pathAndQuery string) (string, string) + type Header map[string]HeaderValue + type HeaderValue []string + type InterleavedFrame struct + Channel int + Payload []byte + func (f *InterleavedFrame) Unmarshal(br *bufio.Reader) error + func (f InterleavedFrame) Marshal() ([]byte, error) + func (f InterleavedFrame) MarshalSize() int + func (f InterleavedFrame) MarshalTo(buf []byte) (int, error) + type Method string + const Announce + const Describe + const GetParameter + const Options + const Pause + const Play + const Record + const SetParameter + const Setup + const Teardown + type Request struct + Body []byte + Header Header + Method Method + URL *URL + func (req *Request) Unmarshal(br *bufio.Reader) error + func (req Request) Marshal() ([]byte, error) + func (req Request) MarshalSize() int + func (req Request) MarshalTo(buf []byte) (int, error) + func (req Request) String() string + type Response struct + Body []byte + Header Header + StatusCode StatusCode + StatusMessage string + func (res *Response) Unmarshal(br *bufio.Reader) error + func (res Response) Marshal() ([]byte, error) + func (res Response) MarshalSize() int + func (res Response) MarshalTo(buf []byte) (int, error) + func (res Response) String() string + type StatusCode int + const StatusAggregateOperationNotAllowed + const StatusBadGateway + const StatusBadRequest + const StatusConnectionAuthorizationRequired + const StatusConnectionCredentialsNotAccepted + const StatusContinue + const StatusDataTransportNotReadyYet + const StatusDestinationProhibited + const StatusDestinationUnreachable + const StatusFailureToEstablishSecureConnection + const StatusForbidden + const StatusFound + const StatusGatewayTimeout + const StatusGone + const StatusHeaderFieldNotValidForResource + const StatusInternalServerError + const StatusInvalidRange + const StatusKeyManagementError + const StatusMethodNotAllowed + const StatusMethodNotValidInThisState + const StatusMovedPermanently + const StatusNotAcceptable + const StatusNotEnoughBandwidth + const StatusNotFound + const StatusNotImplemented + const StatusNotModified + const StatusNotificationReasonUnknown + const StatusOK + const StatusOnlyAggregateOperationAllowed + const StatusOptionNotSupported + const StatusParameterIsReadOnly + const StatusParameterNotUnderstood + const StatusPaymentRequired + const StatusPreconditionFailed + const StatusProxyAuthRequired + const StatusProxyUnavailable + const StatusRTSPVersionNotSupported + const StatusRequestEntityTooLarge + const StatusRequestTimeout + const StatusRequestURITooLong + const StatusSeeOther + const StatusServiceUnavailable + const StatusSessionNotFound + const StatusUnauthorized + const StatusUnsupportedMediaType + const StatusUnsupportedTransport + const StatusUseProxy + type URL url.URL + func ParseURL(s string) (*URL, error) + func (u *URL) Clone() *URL + func (u *URL) CloneWithoutCredentials() *URL + func (u *URL) Hostname() string + func (u *URL) Port() string + func (u *URL) RTSPPathAndQuery() (string, bool) + func (u *URL) String() string