Versions in this module Expand all Collapse all v0 v0.0.5 Aug 6, 2021 v0.0.4 Jul 20, 2021 v0.0.3 Jul 20, 2021 Changes in this version + var StatusMessages = statusMessages + func PathSplitQuery(pathAndQuery string) (string, string) + func ReadInterleavedFrameOrRequest(frame *InterleavedFrame, req *Request, br *bufio.Reader) (interface{}, error) + func ReadInterleavedFrameOrResponse(frame *InterleavedFrame, res *Response, br *bufio.Reader) (interface{}, error) + type Header map[string]HeaderValue + type HeaderValue []string + type InterleavedFrame struct + Channel int + Payload []byte + func (f *InterleavedFrame) Read(br *bufio.Reader) error + func (f InterleavedFrame) Write(bw *bufio.Writer) 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) Read(rb *bufio.Reader) error + func (req *Request) ReadIgnoreFrames(rb *bufio.Reader, buf []byte) error + func (req Request) String() string + func (req Request) Write(bw *bufio.Writer) error + type Response struct + Body []byte + Header Header + StatusCode StatusCode + StatusMessage string + func (res *Response) Read(rb *bufio.Reader) error + func (res *Response) ReadIgnoreFrames(rb *bufio.Reader, buf []byte) error + func (res Response) String() string + func (res Response) Write(bw *bufio.Writer) error + 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 StreamDelivery int + const StreamDeliveryMulticast + const StreamDeliveryUnicast + func (sc StreamDelivery) String() string + type StreamProtocol int + const StreamProtocolTCP + const StreamProtocolUDP + func (sp StreamProtocol) String() string + type StreamType int + const StreamTypeRTCP + const StreamTypeRTP + func (st StreamType) String() string + type URL url.URL + func ParseURL(s string) (*URL, error) + func (u *URL) Clone() *URL + func (u *URL) CloneWithoutCredentials() *URL + func (u *URL) RTSPPath() (string, bool) + func (u *URL) RTSPPathAndQuery() (string, bool) + func (u *URL) String() string v0.0.2 Jul 20, 2021