spydroid-ipcamera icon indicating copy to clipboard operation
spydroid-ipcamera copied to clipboard

MediaRecorder .start() fail - 38 with Android 5.0

Open doanthaibao opened this issue 10 years ago • 2 comments

        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

doanthaibao avatar Nov 17 '14 10:11 doanthaibao

had the same issue, tried on Nexus 4 and 5 with Android 5.0

nocturnalprelude avatar Nov 24 '14 14:11 nocturnalprelude

This problem seem to be resolved in here http://stackoverflow.com/questions/26990816/mediarecorder-issue-on-android-lollipop

doanthaibao avatar Nov 25 '14 16:11 doanthaibao