FTL-SDK is a cross platform SDK written in C to enable sending audio/video to mixer using our FTL service
- Windows
- iOS/OSX
- Android/Linux
Due to the nature of WebRTC the following audio and video formats are required
- Opus at 48khz
ffmpeg -i input-video.avi -vn -c:a libopus -b:a 160K -ac 2 output-audio.opus
- H.264 (most profiles are supported including baseline, main and high)
- for the lowest delay B Frames should be disabled
ffmpeg -i input-video.avi -an -c:v libx264 -b:v 5000K -tune zerolatency --no-psy output-video.h264
Prerequisites:
- cmake 2.8.0 or later
- gcc or Visual Studio 2015 Community (or better) and many other tool chains
getting the code:
git clone https://github.com/mixer/ftl-sdk
cd ftl-sdk
git submodule update --init
in the directory containing CMakeList.txt (ftl-sdk/) create a folder
mkdir build
cd build
cmake ..
make
in the directory containing CMakeList.txt (ftl-sdk) create a folder
mkdir build
cd build
cmake -G "Visual Studio 14 2015 Win64" ..
msbuild /p:Configuration=Release ALL_BUILD.vcxproj OR open libftl.sln in Visual Studio
ftl_app.exe will be placed in build/release directory
In the directory containing ftl_app
ftl_app -i auto -s "<mixer stream key>" -v output-video.h264 -a output-audio.opus -f 24