Limit count of concurrent descrambled channels
I have an HD+ Subscription running with oscam r10648 (local smartreader) and tvheadend 3.9.2690. I have configured a CA with OSCam net protocol > 10389.
The good news is : this works.
But: If to many different channels are watched / recorded (more then 2) then the smartcard is too slow and the services are getting ugly.
So I have tried to limit the count of concurrent channels to 2.
I have changed oscam to ratelimit ecms. This works, I can watch two channel concurrently. The 3 subcription did not start and oscam is logging :
Demuxer 2 no enabled matching ecmpids -> decoding is waiting for matching readers!
Good. Even better would be, if tvheadend falls back to the unscrambled SD channel.
So I configured two channels with the same name (e.g. RTL) but with different services (RTL and RTL HD) and gave the HD channel a priority of 1 and the SD channel a priority of 0.
In normal situations the HD service is subscribed : good
When I switch off oscam the SD service is subscribed : good
But when oscam is hitting the ECM ratelimit, tvheadend does not fallback to the SD channel. It is waiting forever for the HD channel.
So how can I force tvheadend to fallback to SD channel in this situation ?
this is exactly what i am searching for. I want oscam not to descramble more than two channels at the same time.
Could you tell me which parameters you used?
I read about ratelimit ecms. What was the value?
edit: not added
I did it with this parameters :
ratelimitecm = 2 // two different srvids
ratelimittime = 1000 // within 1 second (you could rise this)
ecmunique = 1 // only unique ecms
srvidholdtime = 100 // add additional 100 ms before oscam will accept another channel
Thx a lot, searching for months.
Well i general it does not help much if you limit this at server level and you are using
your card for other purpose other than the Tvheadend.Like you record and watch telly via CS and
you get the descrambling from that particular card.
It will be great if Tvheadend could manage limits at user level.