Skip to content

[tʃɑmge] is edible, a small crab that lives in a river.

License

Notifications You must be signed in to change notification settings

wlozano0collabora/chamge

 
 

Repository files navigation

Build Status

Chamge

Chamge[tʃɑmge] is a small crab in Korean and this module aims to provide control channel to the SRT relay server(hwangsae) and Edge(gaeguli).

This software is an AMQP client to gather information about edge and will instanciate the SRT relay on demand according to the current load.

libchamge1-diagram

Getting Started

Install meson and ninja

Meson 0.40 and newer is required.

Build Chamge

You can get library and executables built running:

meson build
ninja -C build

Broker types

There are three modules for connection broker API. Theses module's states are enrolled, activated, deactivated, delisted.

Edge

Edge is a connection broker module for srt source devices.

Arbiter

Arbiter is a connection broker module for srt management servers.

Hub

Hub is a connection broker module for srt relay servers.

Examples

There are dummy files in examples folder. These are helper examples to implement edge/hub/arbiter.

Test Sequence of examples

  1. Run arbiter-dummy : Arbiter's status will go to activated status automatically. It will wait for the messages from edge/hub to enroll/activate.
  2. Run edge-dummy/hub-dummy : It will send enroll/activate to arbiter-dummy, and will be activated status after get response from arbiter-dummy.
  3. Input user-command : arbiter-dummy will send the sample user command according to user's key input. If you want to check what kind command you can use, try "h".

Agents

Role of agents are for communicating with another process. Agents include D-BUS api that is created by code generater from defined xml in the path of chamge/dbus/. Manager server's RESET Api communicate with Arbiter via D-BUS(chamge-arbiter-agent).

PPA nightly builds

Experimental versions of Chamge are daily generated in launchpad.

$ sudo add-apt-repository ppa:hwangsaeul/nightly
$ sudo apt-get update
$ sudo apt-get install libchamge1 libchamge-dev chamge-tools

About

[tʃɑmge] is edible, a small crab that lives in a river.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.1%
  • Meson 3.5%
  • Shell 1.3%
  • Python 0.1%