mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-21 03:52:48 +00:00
Properly handle 4K detection on GFE 2.8
This commit is contained in:
parent
6459579f15
commit
67dc2ef9ab
@ -374,13 +374,12 @@ public class NvHTTP {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// GFE 2.7 released without 4K support, even though it claims to have such
|
// GFE 2.8 released without 4K support, even though it claims to have such
|
||||||
// support using the SupportedDisplayMode element. We'll use the new GfeVersion
|
// support using the SupportedDisplayMode element. We'll use the new ServerCodecModeSupport
|
||||||
// element to tell whether 4K is supported or not. For now, we just check the existence
|
// element to tell whether 4K is supported or not. For now, we just check the existence
|
||||||
// of this element. I'm hopeful that the production version that ships with 4K will
|
// of this element. I'm hopeful that the production version that ships with 4K will
|
||||||
// also be the first production version that has this element.
|
// also be the first production version that has this element.
|
||||||
String gfeVersion = getXmlString(serverInfo, "GfeVersion");
|
if (getXmlString(serverInfo, "ServerCodecModeSupport") == null) {
|
||||||
if (gfeVersion == null) {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user