CreateMultipleStreams

Function Usage

Creates multiple streams based on the specified configuration. It must be used together with DestroyAllStreams.

Do not call CreateMultipleStreams and DestroyAllStreams repeatedly in a process.

Prototype

1
APP_ERROR MxStreamManager::CreateMultipleStreams (const std::string& streamsConfig) ;

Parameters

Parameter

Input/Output

Description

streamsConfig

Input

Pipeline configuration file content. 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.