MediaFrameReference.VideoMediaFrame MediaFrameReference.VideoMediaFrame MediaFrameReference.VideoMediaFrame MediaFrameReference.VideoMediaFrame MediaFrameReference.VideoMediaFrame Property

Definition

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

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

Property Value

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.