The GIF recording support in RecordRTC is broken and unmaintained it seems. Replace it with a library that is maintained like [gifshot](https://github.com/yahoo/gifshot).