cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <>
Subject [jira] [Commented] (CB-571) Check that audio file recording to using Media.startRecord is of type .wav
Date Wed, 06 Feb 2013 05:11:13 GMT


Andrew Grieve commented on CB-571:

I don't love android's behaviour here, because there's no way to discover the full path to
the file you've just created. That said, if you want to keep the file (not have it in the
cache dir), then arguably you should just use an absolute URL as an argument anyways.

Since this is already the behaviour on Android, I think it's too late to change (outside of
our grand API audit). I think the equivalent on iOS would be to put the file in the <Application_Home>/tmp
directory. If they want to keep the file, or save it in the Documents directory, then they
should use a full URL.

> Check that audio file recording to using Media.startRecord is of type .wav
> --------------------------------------------------------------------------
>                 Key: CB-571
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>    Affects Versions: 1.6.1
>         Environment: iOS
>            Reporter: Ram Kulkarni
>            Assignee: Becky Gibson
>            Priority: Minor
>              Labels: ios, media
>             Fix For: 2.5.0
> As we document in {{startRecord}} on our [docs page|],
when recording audio in iOS, you need to make sure the file exists and that it is of type
> 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
For more information on JIRA, see:

View raw message