Giter VIP home page Giter VIP logo

janus-ftl-plugin's Introduction

Janus FTL Plugin

This is a work-in-progress Janus plugin to support the FTL "Faster-Than-Light" protocol developed for the Mixer live streaming service.

This protocol lets streamers deliver media to browser viewers with very low, often sub-second latency.

See my notes on the FTL protocol here.

Building

Dependencies

First, compile and install Janus.

Get Meson for building.

Building

By default during build we look for Janus in /opt/janus (the default install path), but this can be configured with the JANUS_PATH env var.

mkdir build/
meson build/
cd build
ninja

Installing

(from build/ directory)

sudo ninja install

Running

Just fire up Janus (/opt/janus/bin/janus), and the FTL plugin should automatically load - you should see this output:

FTL: Plugin initialized!
[...]
FTL: Ingest server is listening on port 8084

Now you ought to be able to point an FTL client at the ingest server and start streaming.

The default stream key is 123456789-aBcDeFgHiJkLmNoPqRsTuVwXyZ123456.

123456789 can be whatever "Channel ID" you'd like.

See DummyCredStore.cpp for the default stream key retrieval mechanism.

For watching your stream from a browser, see janus-ftl-player.

Misc Notes

Include paths

If you use VS code with the C++ extension, these include paths should make intellisense happy.

"includePath": [
    "${workspaceFolder}/**",
    "/opt/janus/include/janus",
    "/usr/include/glib-2.0",
    "/usr/lib/x86_64-linux-gnu/glib-2.0/include"
]

janus-ftl-plugin's People

Contributors

haydenmc avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.