Bug #5344
No services available when disabling
0%
Description
I have 2 enabled services for a same channel - IPTV sources. When disabling the one I am reproducing the following error appears:
2018-11-22 20:39:01.449 [WARNING]:webui: Stop streaming [...], No service enabled
Tvheadend doesnt seems to switch to the other network service, after a channel restart it does.
(The service disabled had higher priority than the other)
Files
History
Updated by Pablo R. about 6 years ago
Something similar happens if we disable mux instead of the service
webui: Stop streaming [...], Subscription overridden
Updated by saen acro about 6 years ago
Confirm.
Some STB refuse to switch services immediately if first source gone.
no metter what first source is offered then second on second client
Updated by Pablo R. about 6 years ago
I tried to enable "Switch to another service" in the pass profile but it does not seem to work
Updated by Jaroslav Kysela about 6 years ago
Anyway, '--trace service,subscription' if this does not work.
Updated by Jaroslav Kysela about 6 years ago
I looked to the source and tvh gives up on all error codes for the HTTP streaming (except the one for the stream reconfiguration). The client will reconnect, so I don't think that it's a fatal error, because the stream from another service will be different anyway.
Updated by Pablo R. almost 6 years ago
- File trace2.txt trace2.txt added
- File trace.txt trace.txt added
The problem comes when the user used app does not have automatic reconnection - and for any reason you have to disabling any source, the channel stops until the user interacts.
(Attached traces)
Updated by Jaroslav Kysela almost 6 years ago
Only special mpeg-ts output can be handled in this way (SID must match - thus tvh should rewrite it through the pass muxer/profile - it's the default so it should be fine). This function cannot be activated for matroska or any other container.
The HTTP code can probably ask muxer if this type of streaming is supported and continue.
Updated by Pablo R. almost 6 years ago
Both 'restart on error' and 'switch to another service' are enabled. Also using pass (as seen on log).
Updated by saen acro almost 6 years ago
Mag250 cannot switch to second source
profile=pass restart on error enabled,
on second third retry it correctly use second source
Updated by Jaroslav Kysela almost 6 years ago
As I wrote, tvh does not support this fallback yet.
Updated by Jaroslav Kysela almost 6 years ago
Retest with v4.3-1554-ge6d3dbaa7 . Use pass profile, set SID rewrite.
Updated by Pablo R. almost 6 years ago
I have SID rewrite set to 1.
I just checked it and it seems that the behavior does not change, errors continue to appear and the channel kick continues.
Tested by disabling service and disabling mux. (None of them works)
- Tested with HTS Tvheadend 4.3-1554~ge6d3dba
Updated by Pablo R. almost 6 years ago
It happens the same, it seems as if the new code is not working for some reason.
- Tested with HTS Tvheadend 4.3-1555~gb65a99a
Updated by Mark Clarkstone almost 6 years ago
- Status changed from New to Fixed
Pablo R. wrote:
Fixed