# VideoDecoder

Start from base library version 2.11.0. Please remaining backward compatible.

Can be passed wx.createVideoDecoder Create.

VideoDecoder Video decoder, video decoding can be related to operations, frame by frame to obtain decoding data

# method

# Promise VideoDecoder.start(Object object)

Start decoding.

# Promise VideoDecoder.seek(number position)

Jump to a point in time to decode

# Promise VideoDecoder.stop()

Stop decoding.

# Promise VideoDecoder.remove()

Remove decoder

# Object VideoDecoder.getFrameData()

Get the decoded data for the next frame

# VideoDecoder.on(string eventName, function callback)

Registers callback functions for listening to recorded events. When the corresponding event triggers, the callback function is executed

# VideoDecoder.off(string eventName, function callback)

Cancels listening recording events. This callback is no longer executed when the corresponding event triggers