GetResult

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 and Parameter Description

def GetResult(streamName: bytes, outPluginId: int, msTimeOut: unsigned int) -> MxDataOutput :
    pass

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

msTimeOut

unsigned int

Timeout interval (ms). The default timeout is 3s.

def GetResult(streamName: bytes, elementName: bytes, dataSourceVec:StringVector, msTimeOut: unsigned int) -> MxDataOutput :
    pass

Parameter

Type

Description

streamName

bytes

Stream name

elementName

bytes

Output element name

dataSourceVec

StringVector

Data source of the metadata to be obtained

msTimeOut

unsigned int

Timeout interval (ms). The default timeout is 3s.