mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 23:52:46 +08:00
add missing methods
This commit is contained in:
@@ -5,6 +5,12 @@
|
|||||||
[](https://goreportcard.com/report/github.com/aler9/gortsplib)
|
[](https://goreportcard.com/report/github.com/aler9/gortsplib)
|
||||||
[](https://travis-ci.org/aler9/gortsplib)
|
[](https://travis-ci.org/aler9/gortsplib)
|
||||||
|
|
||||||
RTSP primitives for the Go programming language.
|
RTSP 1.0 primitives for the Go programming language.
|
||||||
|
|
||||||
See [rtsp-simple-server](https://github.com/aler9/rtsp-simple-server) and [rtsp-simple-proxy](https://github.com/aler9/rtsp-simple-proxy) for examples on how to use this library.
|
See [rtsp-simple-server](https://github.com/aler9/rtsp-simple-server) and [rtsp-simple-proxy](https://github.com/aler9/rtsp-simple-proxy) for examples on how to use this library.
|
||||||
|
|
||||||
|
## Links
|
||||||
|
|
||||||
|
IETF Standard
|
||||||
|
* (1.0) https://tools.ietf.org/html/rfc2326
|
||||||
|
* (2.0) https://tools.ietf.org/html/rfc7826
|
||||||
|
14
request.go
14
request.go
@@ -15,16 +15,18 @@ const (
|
|||||||
type Method string
|
type Method string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
OPTIONS Method = "OPTIONS"
|
ANNOUNCE Method = "ANNOUNCE"
|
||||||
DESCRIBE Method = "DESCRIBE"
|
DESCRIBE Method = "DESCRIBE"
|
||||||
SETUP Method = "SETUP"
|
GET_PARAMETER Method = "GET_PARAMETER"
|
||||||
|
OPTIONS Method = "OPTIONS"
|
||||||
|
PAUSE Method = "PAUSE"
|
||||||
PLAY Method = "PLAY"
|
PLAY Method = "PLAY"
|
||||||
PLAY_NOTIFY Method = "PLAY_NOTIFY"
|
PLAY_NOTIFY Method = "PLAY_NOTIFY"
|
||||||
PAUSE Method = "PAUSE"
|
RECORD Method = "RECORD"
|
||||||
TEARDOWN Method = "TEARDOWN"
|
|
||||||
GET_PARAMETER Method = "GET_PARAMETER"
|
|
||||||
SET_PARAMETER Method = "SET_PARAMETER"
|
|
||||||
REDIRECT Method = "REDIRECT"
|
REDIRECT Method = "REDIRECT"
|
||||||
|
SETUP Method = "SETUP"
|
||||||
|
SET_PARAMETER Method = "SET_PARAMETER"
|
||||||
|
TEARDOWN Method = "TEARDOWN"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Request is a RTSP request.
|
// Request is a RTSP request.
|
||||||
|
Reference in New Issue
Block a user