Source Media Frame Reader Class
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)] /// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)] /// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)] class MultiSourceMediaFrameReader final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)] [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
Object Platform::Object IInspectable MultiSourceMediaFrameReader
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.