add missing methods

This commit is contained in:
aler9
2020-05-03 16:01:57 +02:00
parent 1c9da4217e
commit 11f2fffe5f
2 changed files with 15 additions and 7 deletions

View File

@@ -5,6 +5,12 @@
[![Go Report Card](https://goreportcard.com/badge/github.com/aler9/gortsplib)](https://goreportcard.com/report/github.com/aler9/gortsplib)
[![Build Status](https://travis-ci.org/aler9/gortsplib.svg?branch=master)](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

View File

@@ -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.