camera fixes and add wav header to audio record