CreateMultipleStreamsFromFile

Function Usage

This function is used to create multiple streams based on the specified configuration file. It must be used together with DestroyAllStreams.

Do not call CreateMultipleStreamsFromFile and DestroyAllStreams repeatedly in a process.

Prototype

1
APP_ERROR MxStreamManager::CreateMultipleStreamsFromFile(const std::string& streamsFilePath);

Parameters

Parameter

Input/Output

Description

streamsFilePath

Input

Pipeline configuration file. The maximum length of the pipeline character string is 10 MB.

The maximum number of sub-pipelines is 256, and the maximum number of plugins and pipeline configuration items for a single pipeline is 5120.

Response Parameters

Data Structure

Description

APP_ERROR

For details about the returned error codes, see APP_ERROR Description.