---
title: StartDecoder
description: "启动解码器，成功后可以开始解码流程。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/240RC2/armnative/kunpengcpsvideo_16_0079.html
sourcePath: /source/zh/kunpengboostkithistory/240RC2/armnative/kunpengcpsvideo_16_0079.html
indexId: c949b2d4275bf0f911f03551b797326a41f29ee5033da6971200a64b6661cc4a79
---
# StartDecoder

#### 函数功能

启动解码器，成功后可以开始解码流程。


#### 约束说明

NA


#### 函数原型

DecoderRetCode StartDecoder()


#### 参数说明

NA


#### 返回值说明

数据类型：DecoderRetCode

取值如下：

- VIDEO_DECODER_SUCCESS：启动成功。
- VIDEO_DECODER_START_FAIL：启动失败。
