pub struct PackageKnobs {Show 32 fields
pub hls_base_url: Option<String>,
pub hls_media_sequence_number: u64,
pub hls_start_time_offset: Option<f64>,
pub create_session_keys: bool,
pub add_program_date_time: bool,
pub closed_captions: Vec<ClosedCaption>,
pub use_legacy_vp9_codec_string: bool,
pub dash_add_last_segment_number: bool,
pub segment_template_constant_duration: bool,
pub use_dovi_supplemental_codecs: bool,
pub mvex_before_trak: bool,
pub strip_parameter_set_nalus: bool,
pub crypt_byte_block: u8,
pub skip_byte_block: u8,
pub playready_extra_header_data: Option<String>,
pub hls_aes128: bool,
pub labeled_keys: Vec<LabeledKey>,
pub decrypt_input: bool,
pub widevine: Option<WidevineConfig>,
pub cpix: Option<CpixConfig>,
pub ignore_http_output_failures: bool,
pub user_agent: Option<String>,
pub ca_file: Option<PathBuf>,
pub client_cert_file: Option<PathBuf>,
pub client_cert_key_file: Option<PathBuf>,
pub client_cert_key_password: Option<String>,
pub disable_peer_verification: bool,
pub live_rewrite: bool,
pub descriptors: Vec<StreamDescriptor>,
pub max_sd_pixels: u32,
pub max_hd_pixels: u32,
pub max_uhd1_pixels: u32,
}Expand description
HLS / DASH / mux / DRM / IO knobs layered on crate::PackageOptions.
Fields§
§hls_base_url: Option<String>--hls_base_url.
hls_media_sequence_number: u64--hls_media_sequence_number initial value (live window still offsets).
hls_start_time_offset: Option<f64>--hls_start_time_offset.
create_session_keys: bool--create_session_keys.
add_program_date_time: bool--add_program_date_time (also implied for live/event).
closed_captions: Vec<ClosedCaption>--closed_captions.
use_legacy_vp9_codec_string: bool--use_legacy_vp9_codec_string.
dash_add_last_segment_number: bool--dash_add_last_segment_number_when_needed.
segment_template_constant_duration: bool--segment_template_constant_duration.
use_dovi_supplemental_codecs: bool--use_dovi_supplemental_codecs.
mvex_before_trak: bool--mvex_before_trak.
strip_parameter_set_nalus: bool--strip_parameter_set_nalus (avc1/hvc1 vs avc3/hev1). Stored for muxers.
crypt_byte_block: u8--crypt_byte_block (pattern schemes). Default 1.
skip_byte_block: u8--skip_byte_block (pattern schemes). Default 9.
playready_extra_header_data: Option<String>--playready_extra_header_data.
hls_aes128: bool--protection_scheme aes128 — HLS AES-128 full-segment CBC.
labeled_keys: Vec<LabeledKey>--keys label=AUDIO:key_id=…:key=….
decrypt_input: bool--decrypt / --enable_raw_key decryption of encrypted inputs.
widevine: Option<WidevineConfig>Widevine license-server fetch.
cpix: Option<CpixConfig>CPIX / SPEKE.
ignore_http_output_failures: bool--ignore_http_output_failures.
user_agent: Option<String>--user_agent.
ca_file: Option<PathBuf>--ca_file.
client_cert_file: Option<PathBuf>--client_cert_file.
client_cert_key_file: Option<PathBuf>--client_cert_private_key_file.
client_cert_key_password: Option<String>--client_cert_private_key_password.
disable_peer_verification: bool--disable_peer_verification.
live_rewrite: boolKeep rewriting live manifests until interrupted.
descriptors: Vec<StreamDescriptor>Stream descriptors (when non-empty, they replace bare input paths).
max_sd_pixels: u32Pixel thresholds for auto DRM labels (Shaka defaults).
max_hd_pixels: u32§max_uhd1_pixels: u32Trait Implementations§
Source§impl Clone for PackageKnobs
impl Clone for PackageKnobs
Source§fn clone(&self) -> PackageKnobs
fn clone(&self) -> PackageKnobs
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more