Theora.core.encodeVideoFrame
From GiderosMobile
Available since: Gideros 2017.10
Class: Ogg
Description
Encodes one video frame taken from a render target and writes it into the recording file.
theora.core.encodeVideoFrame(streamId,framePosition,renderTarget,endOfStream)
Parameters
streamId: (number) stream id of the recording sound
framePosition: (number) zero based position of the frame, in frames
renderTarget: (RenderTarget) the picture to encode, it must have the width and height given to beginVideo()
endOfStream: (boolean) true for the last frame of the recording