int fe, findex;
const char *ftype;
+ if (satip_server_rtsp_port <= 0) {
+ tvhinfo(LS_SATIPS, "SAT>IP Server inactive");
+ return;
+ }
tvhinfo(LS_SATIPS, "SAT>IP Server %sinitialized", prefix);
tvhinfo(LS_SATIPS, " HTTP %s:%d, RTSP %s:%d",
http_server_ip, http_server_port,
int descramble, rewrite_pmt, muxcnf;
char *nat_ip;
+ if (satip_server_rtsp_port <= 0)
+ return;
+
if (http_server_ip == NULL) {
if (tcp_server_onall(http_server) && satip_server_bindaddr == NULL) {
tvherror(LS_SATIPS, "use --satip_bindaddr parameter to select the local IP for SAT>IP");
http_server_port = ntohs(IP_PORT(http));
}
- if (satip_server_rtsp_port <= 0)
- return;
-
descramble = satip_server_conf.satip_descramble;
rewrite_pmt = satip_server_conf.satip_rewrite_pmt;
muxcnf = satip_server_conf.satip_muxcnf;