Correct a bug in initRtcRecorder