SetElementProperty

Function Usage

Sets element properties. Currently, the following elements are supported: mxpi_channelselector, mxpi_channelosdcoordsconverter, mxpi_channelimagesstitcher, mxpi_rtspsrc, mxpi_object2osdinstances, mxpi_class2osdinstances, mxpi_bufferstablizer, and mxpi_skipframe.

Prototype

1
APP_ERROR MxStreamManager::SetElementProperty(const std::string& streamName, const std::string& elementName,const std::string& propertyName,const std::string& propertyValue);

Parameters

Parameter

Input/Output

Description

streamName

Input

Stream name.

elementName

Input

Element name.

propertyName

Input

Element property.

propertyValue

Input

Element property value.

Response Parameters

Data Structure

Description

APP_ERROR

For details about the returned error codes, see APP_ERROR Description.