MediaFrameReference.VideoMediaFrame Property

Definition

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

public:
 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.

Remarks

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