Trait INDStreamParserNotifier_Impl
pub trait INDStreamParserNotifier_Impl: IUnknownImpl {
// Required methods
fn OnContentIDReceived(
&self,
licenseFetchDescriptor: Ref<'_, INDLicenseFetchDescriptor>,
) -> Result<()>;
fn OnMediaStreamDescriptorCreated(
&self,
audioStreamDescriptors: Ref<'_, IVector<AudioStreamDescriptor>>,
videoStreamDescriptors: Ref<'_, IVector<VideoStreamDescriptor>>,
) -> Result<()>;
fn OnSampleParsed(
&self,
streamID: u32,
streamType: NDMediaStreamType,
streamSample: Ref<'_, MediaStreamSample>,
pts: i64,
ccFormat: NDClosedCaptionFormat,
ccDataBytes: &[u8],
) -> Result<()>;
fn OnBeginSetupDecryptor(
&self,
descriptor: Ref<'_, IMediaStreamDescriptor>,
keyID: &GUID,
proBytes: &[u8],
) -> Result<()>;
}
Required Methods§
fn OnContentIDReceived( &self, licenseFetchDescriptor: Ref<'_, INDLicenseFetchDescriptor>, ) -> Result<()>
fn OnMediaStreamDescriptorCreated( &self, audioStreamDescriptors: Ref<'_, IVector<AudioStreamDescriptor>>, videoStreamDescriptors: Ref<'_, IVector<VideoStreamDescriptor>>, ) -> Result<()>
fn OnSampleParsed( &self, streamID: u32, streamType: NDMediaStreamType, streamSample: Ref<'_, MediaStreamSample>, pts: i64, ccFormat: NDClosedCaptionFormat, ccDataBytes: &[u8], ) -> Result<()>
fn OnBeginSetupDecryptor( &self, descriptor: Ref<'_, IMediaStreamDescriptor>, keyID: &GUID, proBytes: &[u8], ) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.