Share via


MediaPlayer.IsVideoFrameServerEnabled Property

Definition

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

public:
 property bool IsVideoFrameServerEnabled { bool get(); void set(bool value); };
bool IsVideoFrameServerEnabled();

void IsVideoFrameServerEnabled(bool value);
public bool IsVideoFrameServerEnabled { get; set; }
var boolean = mediaPlayer.isVideoFrameServerEnabled;
mediaPlayer.isVideoFrameServerEnabled = boolean;
Public Property IsVideoFrameServerEnabled As Boolean

Property Value

Boolean

bool

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

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

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.

Applies to