incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ram Kulkarni (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-571) Creating new Media object throws error in iOS
Date Fri, 27 Apr 2012 05:30:19 GMT

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

Ram Kulkarni commented on CB-571:
---------------------------------

Flip,

Thanks for the link. I was creating the file using File APIs before instantiating Media, but
the file name had .mp3 extension. When I changed it to .wav, the recording worked, in spite
of create:withDict method error. 

It would be nice if a console message is logged if the file passed to Media does not exist
and/or if it does not have .wav extension.


                
> 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