We use this fork of gecko to optimize performance of webrtc for single core devices. It includes H261 software codec and lots of config tweaks to avoid expensive operations.