GetResultSP
Function Usage
Obtains the result of the output element (appsink) on the stream. The blocking mode is used. Multi-thread concurrency is not supported.
Prototype
1 | std::shared_ptr<MxstDataOutput> MxStreamManager::GetResultSP(const std::string& streamName, int outPluginId,const uint32_t& msTimeOut = DELAY_TIME); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
streamName |
Input |
Stream name. |
outPluginId |
Input |
ID of the output plugin on the stream, that is, the ID of the appsink element |
msTimeOut |
Input |
Maximum waiting time, in milliseconds. The default value is 3000 ms (3s). |
Response Parameters
Data Structure |
Description |
|---|---|
std::shared_ptr<MxstDataOutput> |
For details about the output data of the inference service, see MxstDataOutput. |
Parent topic: MxStreamManager