[ https://issues.apache.org/jira/browse/CB-11603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kerri Shotts closed CB-11603. ----------------------------- Resolution: Cannot Reproduce No response since last comment; closing. > captureAudio on iOS 9.2+ can't record more than 2 seconds > --------------------------------------------------------- > > Key: CB-11603 > URL: https://issues.apache.org/jira/browse/CB-11603 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Media Capture > Environment: Cordova CLI: 6.1.1 > Gulp version: CLI version 3.9.1 > Gulp local: > Ionic Framework Version: 1.3.1-nightly-3792 > Ionic CLI Version: 1.7.16 > Ionic App Lib Version: 0.7.3 > ios-deploy version: 1.8.2 > ios-sim version: 5.0.8 > OS: Mac OS X El Capitan > Node Version: v5.0.0 > Xcode version: Xcode 7.3.1 Build version 7D1014 > Reporter: James Manlapid > > I'm using > https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-media-capture/ > and on iOS v. 9.2+ it won't allow me to upload recordings greater than 2 > seconds. The same code works for Android and can capture audio for more than > 2 seconds. I'm using a file reader to get the base64 string of the whole > recording and uploading it to a server. > var audioFile = audioFiles[0], > fileReader = new FileReader(), > file; > fileReader.onload = function (readerEvt) { > var base64 = readerEvt.target.result; > saveRecording(base64); > }; > file = new window.File(audioFile.name, audioFile.localURL, > audioFile.type, > audioFile.lastModifiedDate, audioFile.size); > fileReader.readAsDataURL(file); -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org