Project

General

Profile

Feature #4610 ยป SAT-IP-Use-configured-server-name.diff

simple patch - Mono Polimorph, 2017-09-19 10:44

View differences:

src/satip/rtsp.c
1251 1251
  char buf[4096];
1252 1252

  
1253 1253
  htsbuf_qprintf(q, "a=control:stream=%d\r\n", rs->stream);
1254
  htsbuf_append_str(q, "a=tool:tvheadend\r\n");
1254
  htsbuf_qprintf(q, "a=tool:%s\r\n", config.http_server_name ?: "HTS/tvheadend");
1255 1255
  htsbuf_append_str(q, "m=video 0 RTP/AVP 33\r\n");
1256 1256
  if (strchr(rtsp_ip, ':'))
1257 1257
    htsbuf_append_str(q, "c=IN IP6 ::0\r\n");
    (1-1/1)