diff --git a/README.md b/README.md index fbb9db02..04eb9f92 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/request.go b/request.go index 19599b2c..a5eacf2c 100644 --- a/request.go +++ b/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.