EncryptionConfig
Details required to encrypt a stream.
| Field | Type | Label | Description |
|---|---|---|---|
| encryption_keys | EncryptionKey | repeated | List of encryption keys and associated information. |
EncryptionKey
A single encryption key and associated information.
| Field | Type | Label | Description |
|---|---|---|---|
| key_id | string | Unique identifier for the key, as identified by your DRM provider, represented as 32 hexadecimal digits in UUID 8-4-4-4-12 format (for example, d569cb35-bd05-48c7-a99d-92feb381df13) or plain 32 hexadecimal digits (for example, d569cb35bd0548c7a99d92feb381df13). | |
| key_uri | string | URI of the key. This URI is inserted into the M3U8 header. | |
| key | string | 128-bit encryption key represented as 32 hexadecimal digits (for example, f828863735a2d93fd538f4b8e9b8bd80). |
|
| iv | string | 128-bit encryption IV represented as 32 hexadecimal digits (for example, 217719cae3ffc905b62a248956c9321f). |
|
| matchers | EncryptionKeyMatcher | repeated | A list of rules indicating which muxStream(s) in your channel should use this key. A muxStream will use the first matching key it finds. If this field is omitted, all muxStreams will treat the key as a match. |
EncryptionKeyMatcher
A single rule indicating which muxStream(s) in your channel should use the key.
| Field | Type | Label | Description |
|---|---|---|---|
| mux_streams | string | repeated | A list of muxStream IDs which should use the key. |