incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-571) Creating new Media object throws error in iOS
Date Thu, 26 Apr 2012 21:44:49 GMT

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

Filip Maj commented on CB-571:
------------------------------

Ram,

Did you look at the [startRecord documentation|http://docs.phonegap.com/en/1.6.1/cordova_media_media.md.html#media.startRecord]?
Specifically the iOS Quirks section at the bottom:

{quote}
iOS Quirks 

The file to record to must already exist and should be of type .wav. The File API's can be
used to create the file.
{quote}

Can you post the code you are using please?
                
> Creating new Media object throws error in iOS
> ---------------------------------------------
>
>                 Key: CB-571
>                 URL: https://issues.apache.org/jira/browse/CB-571
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.6.1
>         Environment: iOS
>            Reporter: Ram Kulkarni
>            Assignee: Filip Maj
>              Labels: ios, media
>             Fix For: 1.7.0
>
>
> Creating Media for local audio file with following syntax - 
> var media = new Media(src, mediaSuccess, [mediaError], [mediaStatus]); //as per API doc
> throws following error - 
> ERROR: Method 'create:withDict:' not defined in Plugin 'Media'
> I checked CDVSound.m and there is no createWithDict method.

--
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

        

Mime
View raw message