mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 15:46:51 +08:00
add missing methods
This commit is contained in:
@@ -5,6 +5,12 @@
|
||||
[](https://goreportcard.com/report/github.com/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.
|
||||
|
||||
## 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
|
||||
|
||||
const (
|
||||
OPTIONS Method = "OPTIONS"
|
||||
ANNOUNCE Method = "ANNOUNCE"
|
||||
DESCRIBE Method = "DESCRIBE"
|
||||
SETUP Method = "SETUP"
|
||||
GET_PARAMETER Method = "GET_PARAMETER"
|
||||
OPTIONS Method = "OPTIONS"
|
||||
PAUSE Method = "PAUSE"
|
||||
PLAY Method = "PLAY"
|
||||
PLAY_NOTIFY Method = "PLAY_NOTIFY"
|
||||
PAUSE Method = "PAUSE"
|
||||
TEARDOWN Method = "TEARDOWN"
|
||||
GET_PARAMETER Method = "GET_PARAMETER"
|
||||
SET_PARAMETER Method = "SET_PARAMETER"
|
||||
RECORD Method = "RECORD"
|
||||
REDIRECT Method = "REDIRECT"
|
||||
SETUP Method = "SETUP"
|
||||
SET_PARAMETER Method = "SET_PARAMETER"
|
||||
TEARDOWN Method = "TEARDOWN"
|
||||
)
|
||||
|
||||
// Request is a RTSP request.
|
||||
|
Reference in New Issue
Block a user