Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SAT>IP: finish the RTSP OPTIONS command to keep connection consistent
  • Loading branch information
perexg committed Jul 28, 2014
1 parent 9a6940c commit 854327a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/input/mpegts/satip/satip_frontend.c
Expand Up @@ -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);
Expand Down

0 comments on commit 854327a

Please sign in to comment.