HLS single file playback broken when encryption enabled

Description

HLS files generated with encryption enabled and the single segment (byte range) option result in videos that are unplayable in QuickTime? and Safari on OSX. The same videos play without issue when encryption is not utilized.

The specific behavior is that video playback starts, but there are periods where video playback gets stuck and then resumes, get stuck, and then resumes. It seems to be related to the different segment offsets where some segments play without issue while other segments get frozen on a single frame.