Lines Matching defs:method
146 const char *method)
157 ff_rtsp_parse_line(s, request, rbuf, rt, method);
165 if (rt->session_id[0] && strcmp(method, "OPTIONS")) {
382 char *method, int methodsize,
390 av_log(s, AV_LOG_ERROR, "Error parsing method string\n");
398 memcpy(method, line, linept - line);
399 method[linept - line] = '\0';
401 if (!strcmp(method, "ANNOUNCE"))
403 else if (!strcmp(method, "OPTIONS"))
405 else if (!strcmp(method, "RECORD"))
407 else if (!strcmp(method, "SETUP"))
409 else if (!strcmp(method, "PAUSE"))
411 else if (!strcmp(method, "TEARDOWN"))
415 /* Check method with the state */
487 unsigned char method[10];
498 ret = parse_command_line(s, rbuf, rbuflen, uri, sizeof(uri), method,
499 sizeof(method), &methodcode);
505 ret = rtsp_read_request(s, &request, method);
659 unsigned char method[10];
700 ret = parse_command_line(s, rbuf, rbuflen, uri, sizeof(uri), method,
701 sizeof(method), &methodcode);