Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions streamer/packager_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ def _setup_encryption(self) -> List[str]:
args.extend(['--iv', encryption.iv])
if encryption.pssh:
args.extend(['--pssh', encryption.pssh])
if encryption.hls_key_uri:
args.extend(['--hls_key_uri', encryption.hls_key_uri])

# Common arguments
args.extend([
Expand Down
3 changes: 3 additions & 0 deletions streamer/pipeline_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ class EncryptionConfig(configuration.Base):
Defaults to the Widevine test account's IV.
"""

hls_key_uri = configuration.Field(str).cast()
"""The URI of the key for HLS."""

protection_scheme = configuration.Field(ProtectionScheme,
default=ProtectionScheme.CENC).cast()
"""The protection scheme (cenc or cbcs) to use when encrypting."""
Expand Down
Loading