MediaRecorder sample

video of your device

video of MediaRecorder demo