[
https://issues.apache.org/jira/browse/CB-12004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15609554#comment-15609554
]
Joe Bowser edited comment on CB-12004 at 10/26/16 8:21 PM:
-----------------------------------------------------------
This is a problem with the third party plugin and not with our media plugin
that requests permissions. We don't support third party plugin errors such as
this, and you should message the developer of that plugin.
I tested on the same model of phone, just to be sure.
was (Author: bowserj):
This is a problem with the third party plugin and not with our media plugin
that requests permissions. We don't support third party plugin errors such as
this, and you should message the developer of that plugin.
> cordova-plugin-media 2.4.0 : open failed: EROFS (Read-only file system)
> -----------------------------------------------------------------------
>
> Key: CB-12004
> URL: https://issues.apache.org/jira/browse/CB-12004
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.4.0
> Environment: Android 6.0.1
> Reporter: salles pro services
>
> 10-12 20:58:12.549 9230 9291 W System.err: java.io.FileNotFoundException:
> /storage/emulated/0/tmprecording-1476316692548.3gp: open failed: EROFS
> (Read-only file system)
> 10-12 20:58:12.549 9230 9291 W System.err: at
> libcore.io.IoBridge.open(IoBridge.java:452)
> 10-12 20:58:12.549 9230 9291 W System.err: at
> java.io.RandomAccessFile.<init>(RandomAccessFile.java:117)
> 10-12 20:58:12.549 9230 9291 W System.err: at
> java.io.RandomAccessFile.<init>(RandomAccessFile.java:149)
> 10-12 20:58:12.549 9230 9291 W System.err: at
> android.media.MediaRecorder.prepare(MediaRecorder.java:784)
> 10-12 20:58:12.549 9230 9291 W System.err: at
> org.apache.cordova.media.AudioPlayer.startRecording(AudioPlayer.java:159)
> 10-12 20:58:12.549 9230 9291 W System.err: at
> org.apache.cordova.media.AudioHandler.startRecordingAudio(AudioHandler.java:287)
> 10-12 20:58:12.549 9230 9291 W System.err: at
> org.apache.cordova.media.AudioHandler.promptForRecord(AudioHandler.java:543)
> 10-12 20:58:12.549 9230 9291 W System.err: at
> org.apache.cordova.media.AudioHandler.execute(AudioHandler.java:118)
> 10-12 20:58:12.549 9230 9291 W System.err: at
> org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
> 10-12 20:58:12.549 9230 9291 W System.err: at
> org.apache.cordova.PluginManager.exec(PluginManager.java:133)
> 10-12 20:58:12.549 9230 9291 W System.err: at
> org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
> 10-12 20:58:12.549 9230 9291 W System.err: at
> org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
> 10-12 20:58:12.549 9230 9291 W System.err: at
> org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
> 10-12 20:58:12.549 9230 9291 W System.err: at
> org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:39)
> 10-12 20:58:12.549 9230 9291 W System.err: at
> android.os.Handler.dispatchMessage(Handler.java:102)
> 10-12 20:58:12.549 9230 9291 W System.err: at
> android.os.Looper.loop(Looper.java:148)
> 10-12 20:58:12.550 9230 9291 W System.err: at
> android.os.HandlerThread.run(HandlerThread.java:61)
> 10-12 20:58:12.550 9230 9291 W System.err: Caused by:
> android.system.ErrnoException: open failed: EROFS (Read-only file system)
> 10-12 20:58:12.550 9230 9291 W System.err: at libcore.io.Posix.open(Native
> Method)
> 10-12 20:58:12.550 9230 9291 W System.err: at
> libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
> 10-12 20:58:12.550 9230 9291 W System.err: at
> libcore.io.IoBridge.open(IoBridge.java:438)
> 10-12 20:58:12.550 9230 9291 W System.err: ... 16 more
> 10-12 20:58:12.550 9230 9291 W PluginManager: THREAD WARNING: exec() call
> to Media.startRecordingAudio blocked the main thread for 21ms. Plugin should
> use CordovaInterface.getThreadPool()
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]