# Promise VideoDecoder.start(Object object)
Start from base library version 2.11.0. Please remaining backward compatible.
with Promise style call: Not supported
Mini Program plugin: Support
Start decoding.
# parameter
# Object object
attribute | type | Default values | Required | Introductions |
---|---|---|---|---|
source | string | yes | Need to decode the video source file. Base library 2.13.0 The following versions only support local paths. 2.13.0 Start support http:// and https:// The remote path to the protocol. | |
mode | number | 1 | no | Decoding mode. 0: Press Pts to decode1: Decoding as fast as possible |