Configuration Overview
Before you begin processing a file or stream, you must create a configuration that instructs Media Server how to process the media.
You cannot configure ingestion, analysis, encoding, data transformation, event stream processing, or output in the Media Server configuration file (mediaserver.cfg). Instead, pass a session configuration to Media Server in the process action, when you start processing. This allows you to process media from different sources and run different analysis tasks for different types of media.
To provide a session configuration to Media Server you can:
- Send the configuration with the
processaction, when you start processing. Use theConfigaction parameter to send the configuration base64 encoded, or upload it as multipart form data. - Create a configuration and save the file in the directory specified by the
ConfigDirectoryparameter, in the[Paths]section of the Media Server configuration file. When you run theprocessaction to start processing, use theConfigNameaction parameter to specify the name of the configuration file to use. - Create a configuration and save the file somewhere that is accessible to Media Server. When you run the
processaction to start processing, use theConfigPathaction parameter to specify the path of the configuration file to use.