addMediaRecorderToCamera

Deprecated

Add MediaRecorder to camera pipeline. This can only be called while the camera is running. Once MediaRecorder is added to camera pipeline camera switch is not allowed. This function can be called from any thread.