Updated: October 28, 2024 |
You can create mm-stream instances by providing raw JSON data or making the server read the configuration file named on the command line that started the process.
On the command line, you use the -c option followed by an absolute path to the configuration file. In an mm_stream_set_configuration() API call, you must specify the configuration in JSON format. The syntax details for either method are the same and are shown in the subsequent examples.
At startup, mm-stream reads its configuration file and creates one or more instances, based on the file's content.