Hi all,
I have debugged also and think that the problem is in TVH that there is no CAPMT update when switching from national to regional. So Descrambler locked on old PIDs but TVH is working with new PIDs. So I made 3 changes to try to correct this problem with existing TVH without patching something. I'm no software developer, just IT guy ;-)
Change 1)
Web-UI - Konfiguration - Stream - Stream Filters - CA Stream Filter:

Fixed PID 2502 for Irdeto ECM stream.
Change 2)
added:
"capmt_full": true,
"capmt_force": true,
"capmt_interval": 5,
"capmt_oscam": true,
"capmt_force_init": true
between {} in file /var/lib/tvheadend/caclient/[some string of your TVH-CA]
Purpose: tells TVH to
- send only full PMT tables, no incremental tables
- forces to send PMT Updates on ANY changes
- sends CAPMT updates every 5s
- activate oscam compatible protocoll
- forces tvh to reinitialize the complete descrambler on capmt updates
Change 3)
added:
"capmt_send_full": true,
"capmt_per_service": true
between {] in file /var/lib/tvheadend/config
And these changes are WORKING in my setup from national to regional swich. Tried it again today and the switch at 18:57:29 worked like a charm with no freeze at all. Would be great if you could try and come back if it works also for you!!
My logs showed, that TVH send new CAPMT (!!!), Oscam updated, and ECM PID is also active. No change to wrong CAIDs, no ECM timeouts.
Then I tried the switch from regional to national and another bug popped up. TVH is sending a CAPMT update, but SID stays the same (13302 for ORF2K in my example). TVH is thinking its just an update not an "new service" and old descrambler is not updating PID mapping. --> no pic, no sound, freeze!
So I will try some workaround by adding:
Change 4)
added:
"capmt_clean_on_close": true
between {} in file /var/lib/tvheadend/caclient/[some string of your TVH-CA]
I will try this change tomorrow when next regional window will be active.
/Mario