StreamTest

HLS playlist mixes encryption methods

More than one encryption method appears in a single playlist, which many players do not handle.

What it means

Segments in this playlist are encrypted with different EXT-X-KEY methods — AES-128 and SAMPLE-AES, for example — rather than one consistent scheme.

Why it matters

Players typically set up decryption once for a playlist. Changing method mid-stream requires re-initialising the decryptor, which many implementations do not do, so playback fails at the point of change rather than at the start — after the viewer has already committed.

How to fix it

  1. Use one encryption method throughout a playlist. Rotating keys within one method is fine and encouraged.
  2. If you must change method, do it at a discontinuity, and test on the specific devices you care about.

Check your own stream

The free HLS analyzer runs this check on every analysis and links each finding straight back here.

Open the HLS analyzer

Frequently asked questions

What does "HLS playlist mixes encryption methods" mean?
Segments in this playlist are encrypted with different EXT-X-KEY methods — AES-128 and SAMPLE-AES, for example — rather than one consistent scheme.
Why does it matter?
Players typically set up decryption once for a playlist. Changing method mid-stream requires re-initialising the decryptor, which many implementations do not do, so playback fails at the point of change rather than at the start — after the viewer has already committed.
How do I fix it?
1. Use one encryption method throughout a playlist. Rotating keys within one method is fine and encouraged. 2. If you must change method, do it at a discontinuity, and test on the specific devices you care about.
How can I detect this automatically?
Paste your HLS streaming URL into StreamTest's free HLS analyzer. It runs this check on every analysis, flags the finding, and links straight back to this page — no sign-up required.

Related HLS checks