rtsp->hc_efd = efd;
snprintf(b, sizeof(b), "/stream=%li", stream_id);
+ tvhtrace(LS_SATIP, "TEARDOWN request for session %s stream id %li", session, stream_id);
r = rtsp_teardown(rtsp, b, NULL);
if (r < 0) {
tvhtrace(LS_SATIP, "bad shutdown for session %s stream id %li", session, stream_id);
if (rtsp->hc_ping_time + sec2mono(rtsp->hc_rtp_timeout / 2) < mclk() &&
rtsp->hc_cmd == HTTP_CMD_NONE) {
rtsp_options(rtsp);
+ tvhtrace(LS_SATIP, "%s - OPTIONS request", buf);
reply = 1;
}
strcat(buf, ",21");
} else if (flags & SATIP_SETUP_PIDS21)
strcat(buf, "&pids=21");
- tvhtrace(LS_SATIP, "setup params - %s", buf);
+ tvhtrace(LS_SATIP, "SETUP params - %s", buf);
if (hc->hc_rtsp_stream_id >= 0)
snprintf(stream = _stream, sizeof(_stream), "/stream=%li",
hc->hc_rtsp_stream_id);
snprintf(stream = _stream, sizeof(_stream), "/stream=%li",
hc->hc_rtsp_stream_id);
query = htsbuf_to_string(&q);
+ tvhtrace(LS_SATIP, "PLAY params - %s", query);
r = rtsp_play(hc, stream, query);
free(query);
if (r >= 0 && split) {