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