Question about AES-128 encryption method mentioned here.
How exactly is this method applied over HLS media segments? Is it the MPEG-2 TS container that is encrypted (including TS/PES packet headers & PSI (!?) ) or elementary streams inside it, before packetizing them into PES payloads?