STANAG 4609 Player .NET SDK  Version 3.9.1
On-the-fly Video Resolution Change

By default, the player will scale the video to the application's window size. The aspect ratio will be set at the beginning of the playback (only once). If your stream's video resolution changes on-the-fly, overlay tools (VMTI, measurements, etc) may not work correctly.

To support on-the-fly resolution changes you should do the following:

  1. Enable DirectX mode (make sure you have the prerequisites installed - see Direct3D rendering)
  2. Enable Dynamic Resolution monitoring. The Width and Height are the maximal expected video resolution*
m_KlvPlayer.MaxCapturedVideoResolution = new VideoResolutionWr()
{
Width = 1920,
Height = 1080
};

There is no need to set an exact resolution, but as these numbers define memory allocation you should not set them to be much more than you expect in your stream.

Untitled 1




 Copyright 2019,    IMPLEOTV SYSTEMS LTD