GetResult
Function Usage
Obtains the result of the output element (appsink) on the stream. The output result does not support multi-thread concurrency.
Prototype
1 2 | def GetResult(streamName: bytes, outPluginId: int, msTimeOut: unsigned int) -> MxDataOutput : pass |
1 2 | def GetResult(streamName: bytes, elementName: bytes, dataSourceVec:StringVector, msTimeOut: unsigned int) -> MxDataOutput : pass |
Input Parameters
Parameter |
Type |
Description |
|---|---|---|
streamName |
bytes |
Stream name. |
outPluginId |
int |
ID of the output plugin on the stream, that is, the ID of the appsink element |
elementName |
bytes |
Output element name. |
dataSourceVec |
StringVector |
dataSource of the metadata to be obtained. |
msTimeOut |
unsigned int |
Timeout interval (ms). The default timeout is 3s. |
Parent topic: StreamManagerApi