pub struct Key {
pub method: KeyMethod,
pub uri: Option<String>,
pub iv: Option<String>,
pub keyformat: Option<String>,
pub keyformatversions: Option<String>,
}
Expand description
Media Segments MAY be encrypted. The EXT-X-KEY tag specifies how to decrypt them. It applies to every Media Segment that appears between it and the next EXT-X-KEY tag in the Playlist file with the same KEYFORMAT attribute (or the end of the Playlist file). Two or more EXT-X-KEY tags with different KEYFORMAT attributes MAY apply to the same Media Segment if they ultimately produce the same decryption key.
Fields§
§method: KeyMethod
§uri: Option<String>
§iv: Option<String>
§keyformat: Option<String>
§keyformatversions: Option<String>