Project

General

Profile

Bug #2368

Streaming / Recordinds stop

Added by Luis Alves about 9 years ago. Updated about 9 years ago.

Status:
Fixed
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-10-14
Due date:
% Done:

100%

Estimated time:
Found in version:
latest git
Affected Versions:

Description

Hi,

Using cwc ca client.
When receiving a nok cwc or ca server connection gets broken for a few seconds, the subscription stops and then starts on a new adapter.
After failing a few times (due to the above condition) all adapters are marked as "bad" and then subscription stops.

This happens for streaming and recordings.

When cwc fails (for any reason - server connection breaks, cwc nok) I see no reason to give up on the service subscription.

Regards,
lja

History

#1

Updated by Jaroslav Kysela about 9 years ago

I believe that stop-on-error/timeout and keep-trying behaviours are both correct. It depends on the usage. I exended the stream profiles, so you may specify the stream timeout and set the auto-restart..

It will still jumps through all services, but the reason is to find a working one (for example if you have DVB-T and DVB-S channels and DVB-S is out-of-service because of storm or so)...

#2

Updated by Jaroslav Kysela about 9 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|6b9d0d1c45f92a729b68ef80c387b64c14b62112.

#3

Updated by Luis Alves about 9 years ago

Thanks for the quick enhancement!
But...
I don't agree that when the ca client fails the server should jump adapter (it won't solve anything).
In my opinion it should only jump if the timeout is due to things like tuning failure (not ca client).

If it happens that I only have one adapter, one failure on the ca client will still stop the stream/recording (when timeout is reached)...

For now I'll set the timeout to 'a lot' and see how it behaves, but I loose the functionality of switching adapter when timeout is due to tuning failures.

Once again, Thanks!

#4

Updated by Luis Alves about 9 years ago

Note: If restart is enabled, tvh will keep trying to subscribe any service
from the channel's list until unsubscribed.

Ahh, just read this. Does this mean that it will still cycle on all adapters, but never gives up?
If that is the case then it should be ok :)

Also available in: Atom PDF