Project

General

Profile

Bug #5344

No services available when disabling

Added by Pablo R. almost 6 years ago. Updated almost 6 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-11-22
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-1543
Affected Versions:

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

log.txt (4.86 KB) log.txt Pablo R., 2018-11-22 20:42
trace2.txt (5.85 KB) trace2.txt for mux disabling Pablo R., 2018-11-23 14:45
trace.txt (5.84 KB) trace.txt for service disabling Pablo R., 2018-11-23 14:45
sid.txt (11.8 KB) sid.txt Pablo R., 2018-11-24 19:31
sid2.txt (5.98 KB) sid2.txt only tested w/ service this time Pablo R., 2018-11-24 19:59

History

#1

Updated by Pablo R. almost 6 years ago

Something similar happens if we disable mux instead of the service

webui: Stop streaming [...], Subscription overridden
#2

Updated by saen acro almost 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

#3

Updated by Pablo R. almost 6 years ago

I tried to enable "Switch to another service" in the pass profile but it does not seem to work

#4

Updated by Jaroslav Kysela almost 6 years ago

Did you also set "restart on error" ?

#5

Updated by Jaroslav Kysela almost 6 years ago

Anyway, '--trace service,subscription' if this does not work.

#6

Updated by Jaroslav Kysela almost 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.

#7

Updated by Pablo R. almost 6 years ago

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)

#8

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.

#9

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).

#10

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

#11

Updated by Jaroslav Kysela almost 6 years ago

As I wrote, tvh does not support this fallback yet.

#12

Updated by Jaroslav Kysela almost 6 years ago

Retest with v4.3-1554-ge6d3dbaa7 . Use pass profile, set SID rewrite.

#13

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

#14

Updated by Pablo R. almost 6 years ago

#15

Updated by Jaroslav Kysela almost 6 years ago

v4.3-1555-gb65a99a4b

#16

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

#17

Updated by Jaroslav Kysela almost 6 years ago

v4.3-1557-g08df6feea

#18

Updated by Pablo R. almost 6 years ago

Its working now. Thanks a lot! (/)

#19

Updated by Pablo R. almost 6 years ago

Fixed (/)

#20

Updated by Mark Clarkstone almost 6 years ago

  • Status changed from New to Fixed

Pablo R. wrote:

Fixed (/)

Also available in: Atom PDF