MediaRecorder .start() fail - 38 with Android 5.0
doanthaibao opened this issue · comments
Bao Doan commented
mMediaRecorder.setOutputFile(mSender.getFileDescriptor());
mMediaRecorder.prepare();
mMediaRecorder.start();
With above code lines, throw a IllegalStateException If mSender is a socket, I see it work fine with mMediaRecorder.setOutputFile(local_file). I think it a bug of Google API. Please help me check it.
Thank
Bao Doan
nocturnalprelude commented
had the same issue, tried on Nexus 4 and 5 with Android 5.0
Bao Doan commented
This problem seem to be resolved in here
http://stackoverflow.com/questions/26990816/mediarecorder-issue-on-android-lollipop