Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaStreamSample.Processed | processed event

Applies to Windows and Windows Phone

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

Syntax


function onProcessed(eventArgs) { /* Your code */ }
 
// addEventListener syntax
mediaStreamSample.addEventListener("processed", onProcessed);
mediaStreamSample.removeEventListener("processed", onProcessed);
 
- or -

mediaStreamSample.onprocessed = onProcessed;


Event information

Delegate TypedEventHandler<MediaStreamSample, Object>

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.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.Core
Windows::Media::Core [C++]

Metadata

Windows.winmd

See also

MediaStreamSample

 

 

Show:
© 2014 Microsoft