GetResult

Function Usage

Obtains the result from the specified output plugin (appsink).

Prototype

1
MxstBufferAndMetadataOutput Stream::GetResult(const std::string& elementName, const std::vector<std::string>& dataSourceVec, const uint32_t& msTimeOut = DELAY_TIME);

Parameters

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.

Response Parameters

Data Structure

Description

MxstBufferAndMetadataOutput

Obtained buffer and metadata.