StopEncoder
Function Usage
Stops the encoder.
Prototype
EncoderRetCode StopEncoder(int32_t fd)
Parameter Description
Parameter |
Input/Output |
Type |
Description |
|---|---|---|---|
fd |
Input |
int32_t |
Encoder descriptor. |
Return Value Description
Data type: EncoderRetCode
The value can be any of the following:
- VIDEO_ENCODER_SUCCESS: The encoder is successfully stopped.
- VIDEO_ENCODER_STOP_FAIL: Failed to stop the encoder.
Parent topic: Encoding APIs (C and C++)