Windows Dev Center

MediaStreamSample.Processed | processed event

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 (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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:
© 2015 Microsoft