Try add sudovda driver support
This commit is contained in:
@@ -334,6 +334,7 @@ namespace nvhttp {
|
||||
launch_session->surround_params = (get_arg(args, "surroundParams", ""));
|
||||
launch_session->gcmap = util::from_view(get_arg(args, "gcmap", "0"));
|
||||
launch_session->enable_hdr = util::from_view(get_arg(args, "hdrMode", "0"));
|
||||
launch_session->virtual_display = util::from_view(get_arg(args, "virtualDisplay", "0"));
|
||||
|
||||
// Encrypted RTSP is enabled with client reported corever >= 1
|
||||
auto corever = util::from_view(get_arg(args, "corever", "0"));
|
||||
@@ -702,6 +703,11 @@ namespace nvhttp {
|
||||
tree.put("root.ExternalPort", net::map_port(PORT_HTTP));
|
||||
tree.put("root.MaxLumaPixelsHEVC", video::active_hevc_mode > 1 ? "1869449984" : "0");
|
||||
|
||||
#ifdef _WIN32
|
||||
tree.put("root.VirtualDisplayCapable", true);
|
||||
tree.put("root.VirtualDisplayDriverReady", proc::vdisplayDriverInitialized);
|
||||
#endif
|
||||
|
||||
// Only include the MAC address for requests sent from paired clients over HTTPS.
|
||||
// For HTTP requests, use a placeholder MAC address that Moonlight knows to ignore.
|
||||
if constexpr (std::is_same_v<SimpleWeb::HTTPS, T>) {
|
||||
|
||||
Reference in New Issue
Block a user