[hls] Byterange + AES128 is supported by native downloader

This commit is contained in:
pukkandan 2021-09-19 14:20:20 +05:30
parent 9c1c3ec016
commit 57aa7b8511
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

View File

@ -56,8 +56,6 @@ class HlsFD(FragmentFD):
def check_results():
yield not info_dict.get('is_live')
is_aes128_enc = '#EXT-X-KEY:METHOD=AES-128' in manifest
yield not (is_aes128_enc and r'#EXT-X-BYTERANGE' in manifest)
for feature in UNSUPPORTED_FEATURES:
yield not re.search(feature, manifest)
return all(check_results())