Flussonic Media Server documentation

Contents

Managing Flussonic Configuration via the HTTP API

About using the HTTP API to configure Flussonic

You can manage the Flussonic configuration by using the HTTP API. The configuration parameters are sent and get in the JSON format.

Flussonic saves the parameters by updating its configuration file /etc/flussonic/flussonic.conf.

The HTTP API allows you to:

  • Read the existing configuration, and optionally get runtime statistics about Flussonic's work. See read_config.

  • Modify a part of the configuration file and save it on disk in /etc/flussonic/flussonic.conf. See modify_config.

  • Apply the entire configuration to a running Flussonic without saving the new configuration on disk in /etc/flussonic/flussonic.conf. See update_config.

  • Apply the entire configuration to a running Flussonic and save the new configuration on disk in /etc/flussonic/flussonic.conf. See save_config.

When you post requests to Flussonic via HTTP/HTTPS, the basic authentication is used, with credentials specified in the edit_auth option of Flussonic configuration file.