Use native-provider modes when you need to force or diagnose a specific selection path.
using MediaPlayer.Controls.Native;
using MediaPlayer.Native.Abstractions;
MediaPlayerNativeRuntime.Configure(new MediaPlayerNativeOptions
{
ProviderMode = MediaPlayerNativeProviderMode.AutoPreferInterop
});
export MEDIAPLAYER_NATIVE_PROVIDER_MODE=AutoPreferInterop
At runtime, inspect:
GpuMediaPlayer.ConfiguredNativeProviderModeGpuMediaPlayer.ActiveNativePlaybackProviderGpuMediaPlayer.NativePlaybackFallbackReasonGpuMediaPlayer.ActiveDecodeApiGpuMediaPlayer.ActiveRenderPath