MediaFrameReference.VideoMediaFrame Property


Gets the VideoMediaFrame wrapped by the MediaFrameReference, if that is the type of frame represented.

 property VideoMediaFrame ^ VideoMediaFrame { VideoMediaFrame ^ get(); };
VideoMediaFrame VideoMediaFrame();
public VideoMediaFrame VideoMediaFrame { get; }
var videoMediaFrame = mediaFrameReference.videoMediaFrame;
Public ReadOnly Property VideoMediaFrame As VideoMediaFrame

Property Value

The VideoMediaFrame wrapped by the MediaFrameReference.


If the frame reference wraps a different type of frame, or if the video frame data is in a format that is unsupported, such as RGB24, then this property is null. In this case, you can access the BufferMediaFrame property, which is always non-null.

Applies to