Revision 229e2631 libavformat/rtspdec.c
libavformat/rtspdec.c | ||
---|---|---|
340 | 340 |
|
341 | 341 |
/* send dummy request to keep TCP connection alive */ |
342 | 342 |
if ((av_gettime() - rt->last_cmd_time) / 1000000 >= rt->timeout / 2) { |
343 |
if (rt->server_type == RTSP_SERVER_WMS) {
|
|
343 |
if (rt->server_type != RTSP_SERVER_REAL) {
|
|
344 | 344 |
ff_rtsp_send_cmd_async(s, "GET_PARAMETER", rt->control_uri, NULL); |
345 | 345 |
} else { |
346 | 346 |
ff_rtsp_send_cmd_async(s, "OPTIONS", "*", NULL); |
Also available in: Unified diff