Fix client fps
This commit is contained in:
@@ -424,7 +424,10 @@ namespace nvhttp {
|
||||
}
|
||||
if (x == 2) {
|
||||
auto fps = atof(segment.c_str());
|
||||
launch_session->fps = (int)(fps * 1000);
|
||||
if (fps < 1000) {
|
||||
fps *= 1000;
|
||||
};
|
||||
launch_session->fps = (int)fps;
|
||||
break;
|
||||
}
|
||||
x++;
|
||||
@@ -437,10 +440,6 @@ namespace nvhttp {
|
||||
launch_session->fps = 60000; // 60fps * 1000 denominator
|
||||
}
|
||||
|
||||
if (launch_session->fps < 1000) {
|
||||
launch_session->fps *= 1000;
|
||||
}
|
||||
|
||||
launch_session->device_name = named_cert_p->name.empty() ? "ApolloDisplay"s : named_cert_p->name;
|
||||
launch_session->unique_id = named_cert_p->uuid;
|
||||
launch_session->perm = named_cert_p->perm;
|
||||
|
||||
Reference in New Issue
Block a user