fix(simulation): use automatic NVENC encoder selection for GStreamer (#27944)

This commit is contained in:
Himesh Vijay authored and GitHub committed 2026-08-12 19:55:13 +01:00
1 parent 0bb36a30ed
commit d4ab050e71
1 file changed
+1 -1
@@ -352,7 +352,7 @@ void CameraStream::gstThreadFunc()
GstElement *encoder;
if (_useCuda) {
encoder = gst_element_factory_make("nvh264enc", nullptr);
encoder = gst_element_factory_make("nvautogpuh264enc", nullptr);
if (encoder) {
// Higher quality NVIDIA encoder settings