Megosztás a következőn keresztül:


MediaStreamSample.Processed Event

Definition

Occurs when the MediaStreamSample has been processed by the media pipeline.

// Register
event_token Processed(TypedEventHandler<MediaStreamSample, IInspectable const&> const& handler) const;

// Revoke with event_token
void Processed(event_token const* cookie) const;

// Revoke with event_revoker
MediaStreamSample::Processed_revoker Processed(auto_revoke_t, TypedEventHandler<MediaStreamSample, IInspectable const&> const& handler) const;
public event TypedEventHandler<MediaStreamSample,object> Processed;
function onProcessed(eventArgs) { /* Your code */ }
mediaStreamSample.addEventListener("processed", onProcessed);
mediaStreamSample.removeEventListener("processed", onProcessed);
- or -
mediaStreamSample.onprocessed = onProcessed;
Public Custom Event Processed As TypedEventHandler(Of MediaStreamSample, Object) 

Event Type

Remarks

When this event has been raised, it is safe to reuse the IBuffer from this MediaStreamSample in a new MediaStreamSample. This allows an application to have a pool of buffers which are reused across multiple MediaStreamSample objects, rather than allocating a new buffer for each new MediaStreamSample.

The event is informational. Applications are not required to have a handler for this event.

Applies to