Obtains the result from the specified output plugin (appsink).
1 | MxstBufferAndMetadataOutput Stream::GetResult(const std::string& elementName, const std::vector<std::string>& dataSourceVec, const uint32_t& msTimeOut = DELAY_TIME); |
Parameter |
Input/Output |
Description |
|---|---|---|
elementName |
Input |
Name of the output plugin appsink |
dataSourceVec |
Input |
dataSource corresponding to the metadata, which is used to obtain the specified metadata. |
msTimeOut |
Input |
Timeout interval (ms). The default timeout is 3s. |
Data Structure |
Description |
|---|---|
MxstBufferAndMetadataOutput |
Obtained buffer and metadata. |