Optionaloptions: Partial<CanvasRecorderOptions>Protected_Protected_Protected_Protected_Protected_StaticLIBRARY_Protected_Ends the encoder worker. A recording that runs or encodes is dropped: a pending stop calls back with no recording.
Encodes the frames and calls back with the MP4, or with undefined when the encode fails (the state is then 'error')
Base class for the canvas recorders used by CanvasRecorderPlugin.