GPU questions

1. I recognize that SDK sometimes uses the graphics card (Nvidia GPU) and sometimes the Intel GPU.

It is right to decide for SDK to use all the time the graphic card Nvidia GPU?

if we do that it will improve the Live video?

2. In our code, we use the parameter

EnvironmentManager.Instance.EnvironmentOptions[EnvironmentOptions.HardwareDecodingMode] = “Only Nvidia”;

we noticed the GPU did not change and used Intel GPU & Nvidia GPU by auto.

Why did that happen or what we can do to set only Nvidia GPU?

The recommendation is “Auto”. It should find the optimal usage of your graphics cards.

I am not aware of any known issues on this.

Note; I suspect “Only Nvidia” to be a mistake, please try “OnlyNvidia”, or better yet use the constant - VideoOS.Platform.EnvironmentOptions.OptionHardwareDecodingModeOnlyNvidia

Ref. https://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_environment_options.html&tree=tree_search.html?search=onlynvidia