MediaPlayer.IsVideoFrameServerEnabled MediaPlayer.IsVideoFrameServerEnabled MediaPlayer.IsVideoFrameServerEnabled MediaPlayer.IsVideoFrameServerEnabled MediaPlayer.IsVideoFrameServerEnabled Property

Definition

Gets a value indicating whether video frame server mode is enabled for the MediaPlayer instance.

public : Platform::Boolean IsVideoFrameServerEnabled { get; set; }
bool IsVideoFrameServerEnabled();

void IsVideoFrameServerEnabled(bool isvideoframeserverenabled);
public bool IsVideoFrameServerEnabled { get; set; }
Public ReadWrite Property IsVideoFrameServerEnabled As bool
var bool = mediaPlayer.isVideoFrameServerEnabled;
mediaPlayer.isVideoFrameServerEnabled = bool;

Property Value

bool bool bool

True if video frame server mode is enabled; otherwise, false.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Remarks

When frame server mode is enabled, the media player does not render video content. Instead, your app should register for the VideoFrameAvailable event and call CopyFrameToVideoSurface when the event is raised to get the video frame data.