#[non_exhaustive]pub struct DashIsoEncryptionSettingsBuilder { /* private fields */ }
Expand description
A builder for DashIsoEncryptionSettings
.
Implementations§
source§impl DashIsoEncryptionSettingsBuilder
impl DashIsoEncryptionSettingsBuilder
sourcepub fn playback_device_compatibility(
self,
input: DashIsoPlaybackDeviceCompatibility
) -> Self
pub fn playback_device_compatibility( self, input: DashIsoPlaybackDeviceCompatibility ) -> Self
This setting can improve the compatibility of your output with video players on obsolete devices. It applies only to DASH H.264 outputs with DRM encryption. Choose Unencrypted SEI only to correct problems with playback on older devices. Otherwise, keep the default setting CENC v1. If you choose Unencrypted SEI, for that output, the service will exclude the access unit delimiter and will leave the SEI NAL units unencrypted.
sourcepub fn set_playback_device_compatibility(
self,
input: Option<DashIsoPlaybackDeviceCompatibility>
) -> Self
pub fn set_playback_device_compatibility( self, input: Option<DashIsoPlaybackDeviceCompatibility> ) -> Self
This setting can improve the compatibility of your output with video players on obsolete devices. It applies only to DASH H.264 outputs with DRM encryption. Choose Unencrypted SEI only to correct problems with playback on older devices. Otherwise, keep the default setting CENC v1. If you choose Unencrypted SEI, for that output, the service will exclude the access unit delimiter and will leave the SEI NAL units unencrypted.
sourcepub fn get_playback_device_compatibility(
&self
) -> &Option<DashIsoPlaybackDeviceCompatibility>
pub fn get_playback_device_compatibility( &self ) -> &Option<DashIsoPlaybackDeviceCompatibility>
This setting can improve the compatibility of your output with video players on obsolete devices. It applies only to DASH H.264 outputs with DRM encryption. Choose Unencrypted SEI only to correct problems with playback on older devices. Otherwise, keep the default setting CENC v1. If you choose Unencrypted SEI, for that output, the service will exclude the access unit delimiter and will leave the SEI NAL units unencrypted.
sourcepub fn speke_key_provider(self, input: SpekeKeyProvider) -> Self
pub fn speke_key_provider(self, input: SpekeKeyProvider) -> Self
If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead.
sourcepub fn set_speke_key_provider(self, input: Option<SpekeKeyProvider>) -> Self
pub fn set_speke_key_provider(self, input: Option<SpekeKeyProvider>) -> Self
If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead.
sourcepub fn get_speke_key_provider(&self) -> &Option<SpekeKeyProvider>
pub fn get_speke_key_provider(&self) -> &Option<SpekeKeyProvider>
If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead.
sourcepub fn build(self) -> DashIsoEncryptionSettings
pub fn build(self) -> DashIsoEncryptionSettings
Consumes the builder and constructs a DashIsoEncryptionSettings
.
Trait Implementations§
source§impl Clone for DashIsoEncryptionSettingsBuilder
impl Clone for DashIsoEncryptionSettingsBuilder
source§fn clone(&self) -> DashIsoEncryptionSettingsBuilder
fn clone(&self) -> DashIsoEncryptionSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DashIsoEncryptionSettingsBuilder
impl Default for DashIsoEncryptionSettingsBuilder
source§fn default() -> DashIsoEncryptionSettingsBuilder
fn default() -> DashIsoEncryptionSettingsBuilder
source§impl PartialEq for DashIsoEncryptionSettingsBuilder
impl PartialEq for DashIsoEncryptionSettingsBuilder
source§fn eq(&self, other: &DashIsoEncryptionSettingsBuilder) -> bool
fn eq(&self, other: &DashIsoEncryptionSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DashIsoEncryptionSettingsBuilder
Auto Trait Implementations§
impl Freeze for DashIsoEncryptionSettingsBuilder
impl RefUnwindSafe for DashIsoEncryptionSettingsBuilder
impl Send for DashIsoEncryptionSettingsBuilder
impl Sync for DashIsoEncryptionSettingsBuilder
impl Unpin for DashIsoEncryptionSettingsBuilder
impl UnwindSafe for DashIsoEncryptionSettingsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more