From 854327aabacb60818f8c2a91a135c92e684c3291 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 28 Jul 2014 18:31:38 +0200 Subject: [PATCH] SAT>IP: finish the RTSP OPTIONS command to keep connection consistent --- src/input/mpegts/satip/satip_frontend.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/input/mpegts/satip/satip_frontend.c b/src/input/mpegts/satip/satip_frontend.c index 85936856..26386900 100644 --- a/src/input/mpegts/satip/satip_frontend.c +++ b/src/input/mpegts/satip/satip_frontend.c @@ -1115,8 +1115,10 @@ satip_frontend_input_thread ( void *aux ) /* We need to keep the session alive */ if (rtsp->hc_ping_time + rtsp->hc_rtp_timeout / 2 < dispatch_clock && - rtsp->hc_cmd == HTTP_CMD_NONE) + rtsp->hc_cmd == HTTP_CMD_NONE) { rtsp_options(rtsp); + reply = 1; + } if (ev[0].data.ptr == lfe->sf_rtcp) { c = recv(lfe->sf_rtcp->fd, rtcp, sizeof(rtcp), MSG_DONTWAIT);