SAT>IP: finish the RTSP OPTIONS command to keep connection consistent
This commit is contained in:
parent
9a6940cec3
commit
854327aaba
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue