This option always closes the RTSP session when muxes are
changed instead reusing of it.
.notify = satip_device_class_tunercfg_notify,
.def.s = "Auto"
},
+ {
+ .type = PT_BOOL,
+ .id = "fast_switch",
+ .name = N_("Fast input switch"),
+ .opts = PO_ADVANCED,
+ .off = offsetof(satip_device_t, sd_fast_switch),
+ },
{
.type = PT_BOOL,
.id = "fullmux_ok",
conf = hts_settings_load("input/satip/adapters/%s", uuid.hex);
/* some sane defaults */
+ sd->sd_fast_switch = 1;
sd->sd_fullmux_ok = 1;
sd->sd_pids_len = 127;
sd->sd_pids_max = 32;
rtcp = rtp = NULL;
lfe_master = NULL;
+ if (rtsp && !lfe->sf_device->sd_fast_switch)
+ satip_frontend_close_rtsp(lfe, efd, &rtsp);
+
memset(ev, 0, sizeof(ev));
ev[0].events = TVHPOLL_IN;
ev[0].fd = lfe->sf_dvr_pipe.rd;
* RTSP
*/
char *sd_bindaddr;
+ int sd_fast_switch;
int sd_fullmux_ok;
int sd_pids_max;
int sd_pids_len;