[evrtsp] Add support for SETPEERS and GET

This commit is contained in:
ejurgensen 2020-12-10 13:23:12 +01:00
parent 4621d25aaa
commit 8b842be17f
2 changed files with 10 additions and 0 deletions

View File

@ -64,6 +64,8 @@ enum evrtsp_cmd_type {
EVRTSP_REQ_FLUSH,
EVRTSP_REQ_TEARDOWN,
EVRTSP_REQ_POST,
EVRTSP_REQ_GET,
EVRTSP_REQ_SETPEERS,
};
enum evrtsp_request_kind { EVRTSP_REQUEST, EVRTSP_RESPONSE };

View File

@ -264,6 +264,14 @@ evrtsp_method(enum evrtsp_cmd_type type)
method = "POST";
break;
case EVRTSP_REQ_GET:
method = "GET";
break;
case EVRTSP_REQ_SETPEERS:
method = "SETPEERS";
break;
default:
method = NULL;
break;