Software Development Kit for Mixer's FTL Protocol
Перейти к файлу
NathanielvonSprecken-MS d0c8469f66
Merge pull request #88 from mixer/v_9_14
9.14 rev. adding new best endpoint for ingest selection.

Added Docker Build
Added call to new Best v2 endpoint
Added more verbose logging and error handling
Added use of linter
Increase the length of vendor name and version
2020-02-18 09:21:01 -08:00
ftl_app feat(ftl-sdk): updating to new best endpoint and docker builds 2020-02-14 13:55:43 -08:00
libcurl@44b9b4d4f5 better fix to disconnect race, added mutex trylock for windows and posix 2017-02-03 09:17:49 -08:00
libftl feat(ftl-sdk): updating to new best endpoint and docker builds 2020-02-14 13:55:43 -08:00
libjansson@bc5741fb1a added jansson library 2016-10-24 22:04:05 -07:00
scripts adding execute into git for scripts 2020-02-18 08:40:57 -08:00
.dockerignore feat(ftl-sdk): updating to new best endpoint and docker builds 2020-02-14 13:55:43 -08:00
.gitignore feat(ftl-sdk): updating to new best endpoint and docker builds 2020-02-14 13:55:43 -08:00
.gitmodules Converting all tabs to 2 spaces. 2017-02-17 14:45:27 -08:00
CMakeLists.txt Adding a cmake flag to make the SDK build as a static library. 2018-03-10 16:05:05 -08:00
Dockerfile feat(ftl-sdk): updating to new best endpoint and docker builds 2020-02-14 13:55:43 -08:00
Doxyfile Updating all text and urls to mixer.com. 2017-06-28 10:59:02 -07:00
Jenkinsfile Fixing a rounding error in the update timestamp code that caused the stream timestamps to drift about 10ms per minute. This would only happen if the incoming timestamps had a lot of variance in them. 2017-03-02 15:25:52 -08:00
LICENSE Updating all text and urls to mixer.com. 2017-06-28 10:59:02 -07:00
README.md Updating all text and urls to mixer.com. 2017-06-28 10:59:02 -07:00
build.bat adding execute into git for scripts 2020-02-18 08:40:57 -08:00
get-audio adding execute into git for scripts 2020-02-18 08:40:57 -08:00
get-video adding execute into git for scripts 2020-02-18 08:40:57 -08:00
make-deployment-yml adding execute into git for scripts 2020-02-18 08:40:57 -08:00
start-stream adding execute into git for scripts 2020-02-18 08:40:57 -08:00

README.md

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

  • Windows
  • iOS/OSX
  • Android/Linux

Requirements

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

Audio

  • Opus at 48khz

video

  • H.264 (most profiles are supported including baseline, main and high)
  • for the lowest delay B Frames should be disabled

Building

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

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