diff --git a/lib/media/streaming_engine.js b/lib/media/streaming_engine.js index 83f1dffd68..0ba273a3a6 100644 --- a/lib/media/streaming_engine.js +++ b/lib/media/streaming_engine.js @@ -1261,10 +1261,9 @@ shaka.media.StreamingEngine = class { stream.mimeType == 'audio/mp4'; const isReadableStreamSupported = window.ReadableStream; // Enable MP4 low latency streaming with ReadableStream chunked data. - // Disabled when AES-128 is present, as we cannot decrypt part of a - // segment. + // And only for DASH. if (this.config_.lowLatencyMode && isReadableStreamSupported && isMP4 && - !reference.hlsAes128Key) { + this.manifest_.type != shaka.media.ManifestParser.HLS) { let remaining = new Uint8Array(0); let processingResult = false; let callbackCalled = false;