pub trait INDStreamParserNotifier_Impl: Sized {
// Required methods
fn OnContentIDReceived(
&self,
licensefetchdescriptor: Option<&INDLicenseFetchDescriptor>
) -> Result<()>;
fn OnMediaStreamDescriptorCreated(
&self,
audiostreamdescriptors: Option<&IVector<AudioStreamDescriptor>>,
videostreamdescriptors: Option<&IVector<VideoStreamDescriptor>>
) -> Result<()>;
fn OnSampleParsed(
&self,
streamid: u32,
streamtype: NDMediaStreamType,
streamsample: Option<&MediaStreamSample>,
pts: i64,
ccformat: NDClosedCaptionFormat,
ccdatabytes: &[u8]
) -> Result<()>;
fn OnBeginSetupDecryptor(
&self,
descriptor: Option<&IMediaStreamDescriptor>,
keyid: &GUID,
probytes: &[u8]
) -> Result<()>;
}
Required Methods§
fn OnContentIDReceived( &self, licensefetchdescriptor: Option<&INDLicenseFetchDescriptor> ) -> Result<()>
fn OnMediaStreamDescriptorCreated( &self, audiostreamdescriptors: Option<&IVector<AudioStreamDescriptor>>, videostreamdescriptors: Option<&IVector<VideoStreamDescriptor>> ) -> Result<()>
fn OnSampleParsed( &self, streamid: u32, streamtype: NDMediaStreamType, streamsample: Option<&MediaStreamSample>, pts: i64, ccformat: NDClosedCaptionFormat, ccdatabytes: &[u8] ) -> Result<()>
fn OnBeginSetupDecryptor( &self, descriptor: Option<&IMediaStreamDescriptor>, keyid: &GUID, probytes: &[u8] ) -> Result<()>
Object Safety§
This trait is not object safe.