Source Media Frame Reader Class
Provides access to time-correlated frames from multiple MediaFrameSource and provides notifications when new frames arrive. This is useful if you need to process frames from different sources, such as a depth camera and an rbg camera, and you need to make sure that the frames from each source were captured close to each other in time.
public ref class MultiSourceMediaFrameReader sealed : IClosable
class MultiSourceMediaFrameReader sealed : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)] [Windows.Foundation.Metadata.DualApiPartition(version=167772163)] [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)] [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)] public sealed class MultiSourceMediaFrameReader : System.IDisposable
Public NotInheritable Class MultiSourceMediaFrameReader Implements IDisposable
Windows 10 requirements
Windows 10 Creators Update (introduced in 10.0.15063.0)
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|Windows version||SDK version||Value added|
Specifies the way that the system should manage frames acquired from a MultiSourceMediaFrameReader when a new frame arrives before the app has finished processing the previous frame.
Disposes of the object and associated resources.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Asynchronously starts the reading of time-corellated frames from one or more MediaFrameSource objects.
Asynchronously stops the reading of time-corellated frames from one or more MediaFrameSource objects.
Occurs when a new frame arrives from all of the media frame sources associated with the MultiSourceMediaFrameReader.