Project

General

Profile

Bug #4754 » SAT-IP-Client-trace-improvement.diff

Mono Polimorph, 2017-11-30 20:39

View differences:

src/input/mpegts/satip/satip_frontend.c
2015 2015
    if (rtsp->hc_ping_time + sec2mono(rtsp->hc_rtp_timeout / 2) < mclk() &&
2016 2016
        rtsp->hc_cmd == HTTP_CMD_NONE) {
2017 2017
      rtsp_options(rtsp);
2018
      tvhtrace(LS_SATIP, "OPTIONS request");
2018 2019
      reply = 1;
2019 2020
    }
2020 2021

  
src/input/mpegts/satip/satip_rtsp.c
233 233
      strcat(buf, ",21");
234 234
  } else if (flags & SATIP_SETUP_PIDS21)
235 235
    strcat(buf, "&pids=21");
236
  tvhtrace(LS_SATIP, "setup params - %s", buf);
236
  tvhtrace(LS_SATIP, "SETUP params - %s", buf);
237 237
  if (hc->hc_rtsp_stream_id >= 0)
238 238
    snprintf(stream = _stream, sizeof(_stream), "/stream=%li",
239 239
             hc->hc_rtsp_stream_id);
......
309 309
    snprintf(stream = _stream, sizeof(_stream), "/stream=%li",
310 310
             hc->hc_rtsp_stream_id);
311 311
  query = htsbuf_to_string(&q);
312
  tvhtrace(LS_SATIP, "PLAY params - %s", query);
312 313
  r = rtsp_play(hc, stream, query);
313 314
  free(query);
314 315
  if (r >= 0 && split) {
(1-1/2)