Coder Social home page Coder Social logo

danstiner / janus-ftl-orchestrator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from glimesh/janus-ftl-orchestrator

0.0 2.0 0.0 135 KB

A service used to manage multiple instances of janus-ftl-plugin for use at scale.

License: GNU Affero General Public License v3.0

C++ 99.16% Meson 0.84%

janus-ftl-orchestrator's Introduction

Janus FTL Orchestrator

This is a work-in-progress service meant to manage multiple instances of Janus running the Janus FTL Plugin.

By orchestrating many Janus instances with this service, load from ingest and viewers can be distributed and greater scale can be achieved.

These are early days, so we're still in the process of standing up the architecture and establishing basic connections.

Protocol

Please see PROTOCOL.md

Dependencies

These are available in Ubuntu's package repos:

  • openssl

Building

meson build/
ninja -C build/

Running

After building, you can fire up janus-ftl-orchestrator and connect to it with a pre-shared key using an openssl test client utility.

Server

./build/janus-ftl-orchestrator

OpenSSL Test Client

This command provides the default pre-shared key with the -psk flag. If you decide to set your own PSK with the FTL_ORCHESTRATOR_PSK env var, just provide the same one here.

openssl s_client -connect 127.0.0.1:8085 -psk 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f -tls1_3 -ciphersuites TLS_AES_128_GCM_SHA256

After you connect, you can send arbitrary ASCII messages and see them reflected on the server. To gracefully disconnect, just type Q followed by a line break.

Configuration

Configuration is achieved through environment variables.

Environment Variable Supported Values Notes
FTL_ORCHESTRATOR_PSK String of arbitrary hex values (ex. 001122334455ff) This is the pre-shared key used to establish a secure TLS1.3 connection.

Testing

Tests are written with the help of Catch2 and are located in the test/ directory. They are built into the janus-ftl-orchestrator-test binary.

./build/janus-ftl-orchestrator-test

janus-ftl-orchestrator's People

Contributors

danstiner avatar haydenmc avatar

Watchers

 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.