SetElementProperty
函数功能
设置元件属性,目前支持设置的元件有mxpi_channelselector、mxpi_channelosdcoordsconverter、mxpi_channelimagesstitcher、mxpi_rtspsrc、mxpi_object2osdinstances、mxpi_class2osdinstances、mxpi_bufferstablizer、mxpi_skipframe。
函数原型
APP_ERROR MxStreamManager::SetElementProperty(const std::string& streamName, const std::string& elementName,const std::string& propertyName,const std::string& propertyValue);
参数说明
参数名 |
输入/输出 |
说明 |
---|---|---|
streamName |
输入 |
流的名称。 |
elementName |
输入 |
元件的名称。 |
propertyName |
输入 |
元件的属性。 |
propertyValue |
输入 |
元件的属性值。 |
返回参数说明
数据结构 |
说明 |
---|---|
APP_ERROR |
程序执行返回的错误码,请参考APP_ERROR说明。 |
父主题: MxStreamManager