It could be a CAM issue too.
I think the mods I did (in theory) should be just as safe as the original TsReader code - the TS packet headers are never encrypted, so it's safe to let parsing run to the payload checking stage. At that point it's expecting to find a valid PES packet start code and stream ID - if it doesn't (e.g. because the payload is scrambled) the packet is dropped. I also added a check for PES-level scrambling (which is allowed for DVB, but probably never used), just in case.
Tony
I think the mods I did (in theory) should be just as safe as the original TsReader code - the TS packet headers are never encrypted, so it's safe to let parsing run to the payload checking stage. At that point it's expecting to find a valid PES packet start code and stream ID - if it doesn't (e.g. because the payload is scrambled) the packet is dropped. I also added a check for PES-level scrambling (which is allowed for DVB, but probably never used), just in case.
Tony