GIFRecorder
records animated GIF images that loop forever.width
and height
parameters determine the image dimensions in pixels. The frameDuration
parameter determines the amount of time each frame will display for in seconds; a good value to start with is 0.1 seconds.GIFRecorder
ignores all timestamps on committed frames. This is because the frameDuration
parameter overrides these timestamps.GIFRecorder
does not support committing audio frames. Committing audio frames is a null operation.