Skip to content

Commit

Permalink
feat: Always use HLS session keys to improve player startup performan…
Browse files Browse the repository at this point in the history
…ce (#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.
  • Loading branch information
avelad authored Nov 4, 2024
1 parent db55cc6 commit dc56dee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions streamer/packager_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit dc56dee

Please sign in to comment.