You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Kerri Shotts (JIRA)" <ji...@apache.org> on 2012/07/29 01:25:33 UTC
[jira] [Commented] (CB-571) Check that audio file recording to
using Media.startRecord is of type .wav
[ https://issues.apache.org/jira/browse/CB-571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424456#comment-13424456 ]
Kerri Shotts commented on CB-571:
---------------------------------
Here's my question, based on a recent app that I've been working on:
Why /must/ the file exist? The Apple documentation indicates pretty clearly that the file will be created if it doesn't already exist.
Requiring the existence of the file really throws a monkey-wrench into creating clean, cross-platform code that records audio, so I would be in favor of removing the "file exists" restriction entirely.
> Check that audio file recording to using Media.startRecord is of type .wav
> --------------------------------------------------------------------------
>
> Key: CB-571
> URL: https://issues.apache.org/jira/browse/CB-571
> Project: Apache Cordova
> Issue Type: Improvement
> Components: iOS
> Affects Versions: 1.6.1
> Environment: iOS
> Reporter: Ram Kulkarni
> Assignee: Shazron Abdullah
> Priority: Minor
> Labels: ios, media
>
> As we document in {{startRecord}} on our [docs page|http://docs.phonegap.com/en/1.6.1/cordova_media_media.md.html#media.startRecord], when recording audio in iOS, you need to make sure the file exists and that it is of type .wav.
> It would be nice if the {{startRecordingAudio}} method in CDVSound.m checked that the requested file to record to is of the right type, and throw an error if it is not.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira