From dc56dee91f32752667ce161604ade2f8553a739b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Velad=20Galv=C3=A1n?= Date: Mon, 4 Nov 2024 19:30:46 +0100 Subject: [PATCH] feat: Always use HLS session keys to improve player startup performance (#181) Since we don't support key rotation, adding this argument is safe, and it also helps ShakaPlayer reduce startup latency, as well as helping a lot in the case where HLS identity is used. --- streamer/packager_node.py | 1 + 1 file changed, 1 insertion(+) diff --git a/streamer/packager_node.py b/streamer/packager_node.py index fcdba55..10df985 100644 --- a/streamer/packager_node.py +++ b/streamer/packager_node.py @@ -250,6 +250,7 @@ def _setup_encryption(self) -> List[str]: '--protection_scheme', encryption.protection_scheme.value, '--clear_lead', str(encryption.clear_lead), + '--create_session_keys', ]) if encryption.protection_systems: