incubator-callback-dev mailing list archives

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


Ram Kulkarni commented on CB-571:


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:
>             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:!default.jspa
For more information on JIRA, see:


View raw message