API Overview
Top-level module of the BIK decoder.
Call the function createBikDecoder to start decoding a BIK video from a data source. The decoder should throw an exception if the data source can’t be accessed or is not a valid video data source.
The BikDecoder.isSupported property should be checked after creating a decoder to verify that the decoder fully supports the version and sub-version of the BIK format used by the video.
If BikDecoder.isSupported is true then BikDecoder.getNextFrame can be called
repeatedly to get each consecutive frame of the video from the data source. Audio data may
also be supplied with each frame.
Local files and ArrayBuffers can be supplied as data sources in the form of File and Blob respectively. Remote files can be accessed either by supplying either a URL or a Request instance that refers to the remote file. The latter can be used to get more control over the requests that are sent to fetch the file from the data source (such as setting header fields). Note that the decoder may modify the Request instance.
The Fetch API is used to fetch video data from a remote source.