-
Notifications
You must be signed in to change notification settings - Fork 1
Installing and Building Streaming SDK
Clone the Streaming SDK Git repo along with its dependencies using the following command:
git clone --recurse-submodules https://github.com/GPUOpen-LibrariesAndSDKs/StreamingSDK.git
This would clone the Streaming SDK repo and pull AMF and MbedTLS submodules. Pre-compiled Ffmpeg DLLs/shared libraries are located in the AMF repo under Thirdparty/ffmpeg, so including Ffmpeg as a separate submodule is unnecessary. The Ffmpeg libraries contain code compiled for various platforms taken straight from Ffmpeg Github repo without any modifications.
To update an existing clone to the latest version use the following command:
git pull --recurse-submodules
Streaming SDK uses Cmake as the build system. CMake creates projects for various build systems and calls them behind the scene depending on your target platform. Follow the instructions below for the respective operating system to build AMD Interactive Streaming SDK and its samples.
On Windows we build it using Microsoft Visual Studio or Visual Studio Code. You can also build it using Visual Studio Code with the C/C++ extension. Make sure that you have Cmake installed.
AMF also depends on these prerequisites:
- The latest Vulkan SDK
- Windows SDK* version 10.0.26100.0 (Windows only)
- OCL SDK Lite
Once the Git repository has been cloned, open the StreamingSDK folder in Visual Studio or Visual Studio Code and build the entire project. This will build the Streaming SDK library, its dependencies and sample applications.
On Windows Streaming SDK can be built using Visual Studio 2022.
In Visual Studio set the 'CMake configuration file' option under Tools->Options...->CMake->General to Never Use CMake Presets.
NOTE: Streaming SDK uses the Windows SDK version which is the latest at the time of posting. It is possible, however, that by the time you clone the Streaming SDK repo, Microsoft might post a newer version of Windows SDK. If the current version of Windows SDK differs from the specified above, edit the root CMakeLists.txt file and change the value of the WINDOWS_SDK_VERSION variable to match the version of Windows SDK you have installed.
Streaming SDK is an open source project, hence binaries can always be compiled from source and therefore ABI compatibility between different versions of Streaming SDK does not need to be maintained. We will make every effort to maintain consistency of the API between versions, however circumstances justifying some API changes may arise in the future.
We also highly recommend to include Streaming SDK repository as a Git submodule of your project's repository rather than cloning Streaming SDK and adding your application directly to it. This will make updates of Streaming SDK easier to handle in the future, as we fix bugs and add new functionality and platforms.