Closed lars18th closed 2 years ago
Hi,
Can you please update to the latest and provide the full minisatip and oscam log? Seems oscam is running out of demuxers
Hi @catalinii ,
With the last versions of minisatip the problem continues. Now the problem appears when a second channel is requested by another client to minisatip. This second channel could be from the same or another transponder (I've more than one tuner). In this case, in the Oscam log appears: (dvbapi) ERROR: Received CA PMT list update for unknown program
.
More information for you:
satipc
module.(dvbapi) Demuxer 1 ecmpid 0 CAID: .... ECM_PID: .... PROVID: ......
(dvbapi) Demuxer 1 found 1 ECM pids and 10 STREAM pids in CA PMT
(dvbapi) Demuxer 1 trying to descramble PID 0 CAID .... PROVID ...... ECMPID .... ANY CHID PMTPID .... VPID ....
(ecm) minisatip (...): found ...
(ecm) minisatip (...): found ...
(dvbapi) Demuxer 1 received updated CA PMT for program ....
(dvbapi) Demuxer 1 continues descrambling for program ....
(dvbapi) Demuxer 1 found 1 ECM pids and 10 STREAM pids in CA PMT
(dvbapi) Program .... is not selected for descrambling
(dvbapi) Demuxer 1 stopped descrambling for program ....
So, my assumption is that minisatip is trying to close the second program calling to keys_del()
because it doesn't have the key or it can't test it. But this have a side effect: the oscam will enters in troubles with minisatip as the last doesn't understand correctly the response. Anyway, I feel that the close of the program sending a CMD_ID_NOT_SELECTED command is an error.
Any ideas? Regards.
Hi @catalinii ,
Please, can you check this piece of code? https://github.com/catalinii/minisatip/blob/4ab7ea9dd13a07bd432c5033aad839ea6d8857ff/src/dvbapi.c#L751-L768
The problem is that ed
can't be different to zero if ek
is not different to zero. So the else if (!ed)
never executes. Perhaps here is the bug, because the issue appears when 2 different Demuxer are running, and the minisatip sends the CMD_ID_NOT_SELECTED command.
Regards.
Hi @catalinii ,
I prepared the PR #973 and with it, the error message (dvbapi) ERROR: Received CA PMT list update for unknown program
has gone from my server. Please, check it as I'm not really sure about this change.
Regards.
Hey @lars18th, good catch.
Thanks
Closing this since the PR was merged
Hi,
This error appears in the Oscam log when a second channel on the same transponder is requested from a secondary client to minisatip. The first program continues decoding, but the second never starts. However, if the channel is in another transponder then it will be decoded. Using last versions of minisatip (1.1.67) and oscam (r11693).
Any idea?