microsoft / ftl-sdk

Software Development Kit for Mixer's FTL Protocol
MIT License
154 stars 64 forks source link

FTL-SDK FTL-SDK

FTL-SDK is a cross platform SDK written in C to enable sending audio/video to mixer using our FTL service

Support Platforms

Requirements

Due to the nature of WebRTC the following audio and video formats are required

Audio

video

Building

Prerequisites:

getting the code:

git clone https://github.com/mixer/ftl-sdk
cd ftl-sdk
git submodule update --init

Linux/Android/OSX/etc command line instructions

in the directory containing CMakeList.txt (ftl-sdk/) create a folder

mkdir build
cd build
cmake ..
make 

Windows (specifically for Visual Studio 2015) command line instructions

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

Running Test Application

download the following test files:

In the directory containing ftl_app

ftl_app -i auto -s "<mixer stream key>" -v path\to\sintel.h264 -a path\to\sintel.opus -f 24