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.
The maximum number of sub-pipelines is 256, and the maximum number of plugins and pipeline configuration items for a single pipeline is 5120.
Prototype
1 2 | def CreateMultipleStreams(streamsConfig: bytes) -> int: pass |
Input Parameters
Parameter |
Type |
Description |
|---|---|---|
streamsConfig |
bytes |
Pipeline configuration file content |
Response Parameters
Data Structure |
Description |
|---|---|
int |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: StreamManagerApi