Repository navigation
Replies: 1 comment 1 reply
|
Hi, feel free to create a PR |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
@hi miniSATIP devs,
I’m Gleb S. CTO at SATLINE.TV.
I’ve built my own SAT>IP server product (satip-server-pro, closed-source) based on the miniSATIP codebase, and I’m very thankful for this project. I don’t want to keep stability fixes private — I want to contribute them upstream so miniSATIP is more stable for everyone.
Problem (what I see)
Proposed fix (2 small changes)
last_scrambled: timestamp when we still see scrambled TS packets for that PMTlast_descramble_ok: timestamp when we successfully decrypted a batchCMD_ID_OK_DESCRAMBLING)Default timings in the patch (easy to tune):
MAX_CW_TIME)DVBAPI_CA_SET_DESCR, keep CWs for 180s (send_cw(..., 180, ...))What the patch changes (files)
src/pmt.h: add watchdog state fields toSPMTsrc/pmt.cpp:last_scrambledwhen scrambled TS packets are seen for a PMTlast_descramble_okon successful decryptdescramble_watchdog(adapter*)and call it inpmt_process_stream()src/dvbapi.cpp: implementdvbapi_enabled()+ extend CW lifetime to 180ssrc/dvbapi.h: exposedvbapi_send_pmt(SKey*, int)so the watchdog can resend CAPMTPatch link (single clean commit)
https://raw.githubusercontent.com/mrgs83/minisatip-dvbapi-descramble-watchdog/main/minisatip-dvbapi-descramble-watchdog.patch
https://github.com/mrgs83/minisatip-dvbapi-descramble-watchdog
Thanks a lot for maintaining miniSATIP
Best regards,
Gleb Sazanov
CEO / CTO at SATLINE.TV
All reactions