[ 
https://issues.apache.org/jira/browse/CB-12004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15577096#comment-15577096
 ] 

salles pro services commented on CB-12004:
------------------------------------------

Hi, this was tested using motorola XT1563 ( Moto X Play ) with Android 6.0.1.
I intend to record audio using cordova-plugin-media. i have also tried to use 
another plugin which seemed to fix Marshmellow bus, but the result was the same.

https://www.npmjs.com/package/cordova-plugin-media-fixed






> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to