We are developing a program in c ++ that receives video stream from a milestone recording server.
We want to use the Hardware Acceleration feature to receive the video.
In C #
EnvironmentManager.Instance.EnvironmentOptions [EnvironmentOptions.HardwareDecodingMode] = “Auto”; When given the option, I confirmed that the Hardware Acceleration function works well.
you can use ImRendererToolkit to get the images decoded with hardware acceleration. please note there is an error in the documentation:
decoding_hardware_selection_t does not have AutoIntel as an option any longer. the other values are valid. i recommend that you always use “AutoNvidia” (it is the default), this way we will utilize whatever is available on the system