You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@ Advanced Interactive Streaming SDK is a C++ library that provides building block
4
4
Virtual and Augmented Reality, etc. using AMD Radeon graphics. It allows you to build a complete streaming solution including video and audio capture, video and audio encoder/decoder/pre-post-processing pipelines, a robust and secure network stack, or use some of its components, while implementing the rest yourself.
5
5
6
6
## Changelog:
7
+
- v1.0.2 - bug fixes:
8
+
- Encoder frame rate wasn't being set correctly when display capture mode was set to *present* or when QoS was turned off
7
9
- v1.0.1 - bug fixes:
8
10
- System mouse cursor doesn't get hidden correctly in some games
9
11
- Deadlock on server exit when streaming at high (8K) resolution
AMFTraceError(AMF_FACILITY, L"QoS failed to set video capture frame rate for stream %lld to %5.2f, result=%s", streamID, framerate, amf::AMFGetResultText(result));
466
466
}
467
-
468
-
result = videoOutput->SetFramerate(framerate);
469
-
if (result == AMF_OK)
470
-
{
471
-
AMFTraceDebug(AMF_FACILITY, L"Encoder frame rate for stream %lld has been changed to %5.2f by QoS", streamID, framerate);
472
-
}
473
-
else
474
-
{
475
-
AMFTraceError(AMF_FACILITY, L"QoS failed to set encoder frame rate for stream %lld to %5.2f, result=%s", streamID, framerate, amf::AMFGetResultText(result));
AMFTraceWarning(AMF_FACILITY, L"Selected video capture method does not support capture at a fixed frame rate, -%s %S ignored", PARAM_NAME_CAPTURE_MODE, CAPTURE_MODE_FRAMERATE);
485
+
AMFTraceWarning(AMF_FACILITY, L"Selected video capture method does not support capture at a fixed frame rate, -%s %s ignored", PARAM_NAME_CAPTURE_MODE, CAPTURE_MODE_FRAMERATE);
m_VideoStreamDescriptor.SetFramerate(60.0); // Set the initial frame rate to 60fps, it will be adjusted automatically in a few seconds to the actual frame rate determined by capture
m_VideoStreamDescriptor.SetFramerate(60.0); // Set the initial frame rate to 60fps, it will be adjusted automatically in a few seconds to the actual frame rate determined by capture
500
502
}
501
503
if (result != true)
502
504
{
503
505
if (amfResult == AMF_OK)
504
506
{
505
-
AMFTraceInfo(AMF_FACILITY, L"Capture mode is set to %S", captureMode.c_str());
507
+
AMFTraceInfo(AMF_FACILITY, L"Capture mode is set to %s", captureMode.c_str());
506
508
}
507
509
else
508
510
{
509
-
AMFTraceError(AMF_FACILITY, L"Failed to set video capture mode to %S, result=%s", captureMode.c_str(), amf::AMFGetResultText(amfResult));
511
+
AMFTraceError(AMF_FACILITY, L"Failed to set video capture mode to %s, result=%s", captureMode.c_str(), amf::AMFGetResultText(amfResult));
if (abs(fps.num - prevFps) > prevFps * 0.1) // We don't want to change the encoder's frame rate too frequently by a small amount because it can reduce image quality, but when the frame changes significantly, we want to reflect that for a more optimal compression
0 commit comments