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.
Meson 0.40 and newer is required.
You can get library and executables built running:
meson build
ninja -C build
There are three modules for connection broker API. Theses module's states are enrolled, activated, deactivated, delisted.
Edge is a connection broker module for srt source devices.
Arbiter is a connection broker module for srt management servers.
Hub is a connection broker module for srt relay servers.
There are dummy files in examples folder. These are helper examples to implement edge/hub/arbiter.
- Run arbiter-dummy : Arbiter's status will go to activated status automatically. It will wait for the messages from edge/hub to enroll/activate.
- Run edge-dummy/hub-dummy : It will send enroll/activate to arbiter-dummy, and will be activated status after get response from arbiter-dummy.
- 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".
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).
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