Project

General

Profile

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

Mono Polimorph, 2017-12-11 13:22

View differences:

src/input/mpegts/satip/satip_frontend.c
1304 1304
  rtsp->hc_efd = efd;
1305 1305

  
1306 1306
  snprintf(b, sizeof(b), "/stream=%li", stream_id);
1307
  tvhtrace(LS_SATIP, "TEARDOWN request");
1307 1308
  r = rtsp_teardown(rtsp, b, NULL);
1308 1309
  if (r < 0) {
1309 1310
    tvhtrace(LS_SATIP, "bad shutdown for session %s stream id %li", session, stream_id);
......
1994 1995
    if (rtsp->hc_ping_time + sec2mono(rtsp->hc_rtp_timeout / 2) < mclk() &&
1995 1996
        rtsp->hc_cmd == HTTP_CMD_NONE) {
1996 1997
      rtsp_options(rtsp);
1998
      tvhtrace(LS_SATIP, "OPTIONS request");
1997 1999
      reply = 1;
1998 2000
    }
1999 2001

  
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) {
(2-2/2)