StopStream

Function Usage

Destroys the specified stream object.

During stream destruction, all plugins are stopped. Therefore, you need to ensure that the files or results have been saved.

Prototype

APP_ERROR StopStream(const std::string& streamName);

Parameter Description

Parameter

Input/Output

Description

streamName

Input

Stream name

Return Parameter Description

Data Structure

Description

APP_ERROR

Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file.