incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Becky Gibson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-35) Sound Playback Problem with PhoneGap 1.2 iOS?
Date Thu, 01 Dec 2011 20:46:40 GMT

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

Becky Gibson commented on CB-35:
--------------------------------

Not sure what to say as I have an example that plays fine:


Found resource '/var/mobile/Applications/AF3406D5-0E26-482E-A23D-FB99ABA8B40A/12Test.app/www/audio/beer.mp3'
in the web folder.
2011-12-01 15:40:56.397 12Test[1233:707] Playing audio sample 'audio/beer.mp3'
2011-12-01 15:40:56.571 12Test[1233:707] [INFO] playAudio():Audio Status: 2
2011-12-01 15:40:57.111 12Test[1233:707] [INFO] Pos=0.495
2011-12-01 15:40:58.112 12Test[1233:707] [INFO] Pos=1.495
2011-12-01 15:40:59.113 12Test[1233:707] [INFO] Pos=2.497
2011-12-01 15:41:00.113 12Test[1233:707] [INFO] Pos=3.497
2011-12-01 15:41:01.114 12Test[1233:707] [INFO] Pos=4.497
2011-12-01 15:41:02.115 12Test[1233:707] [INFO] Pos=5.498
2011-12-01 15:41:03.115 12Test[1233:707] [INFO] Pos=6.498
2011-12-01 15:41:04.116 12Test[1233:707] [INFO] Pos=7.5
2011-12-01 15:41:05.116 12Test[1233:707] [INFO] Pos=8.5
2011-12-01 15:41:06.117 12Test[1233:707] [INFO] Pos=9.5
2011-12-01 15:41:07.115 12Test[1233:707] [INFO] Pos=10.499
2011-12-01 15:41:08.118 12Test[1233:707] [INFO] Pos=11.501
2011-12-01 15:41:09.118 12Test[1233:707] [INFO] Pos=12.502
2011-12-01 15:41:09.573 12Test[1233:707] Finished playing audio sample 'audio/beer.mp3'
2011-12-01 15:41:09.678 12Test[1233:707] [INFO] playAudio():Audio Success
2011-12-01 15:41:09.679 12Test[1233:707] [INFO] playAudio():Audio Status: 4

Note that the [INFO] statements are from console.log() statements displaying the duration
in a loop

Are you sure you that your error callback is not being called?  I made some changes in 1.2
to better detect and report errors.  Here is the submit comment:

fixes #313 - return MediaError in error callback
Also updated so that an invalid file will return an error (previously it did nothing).
No longer return error if press stop/pause when no media is playing/recording 
                
> Sound Playback Problem with PhoneGap 1.2 iOS?
> ---------------------------------------------
>
>                 Key: CB-35
>                 URL: https://issues.apache.org/jira/browse/CB-35
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Shazron Abdullah
>
> reported at: https://github.com/callback/callback-ios/issues/20
> Is anyone else experiencing sound playback problems with v1.2 for iOS? I am seeing the
debug messages in the XCode console that sounds are being located and started but I don't
hear anything. The sound settings on my phone are fine and other apps and native functionality
play audible sounds.
> Here is some sample output from XCode:
> 2011-11-23 16:34:31.778 GWMobile[12352:707] Found resource '/var/mobile/Applications/4FC5BBED-9644-455B-A249-0010B05078AF/GWMobile.app/www/audio/on_tap.mp3'
in the web folder.
> 2011-11-23 16:34:31.932 GWMobile[12352:707] Playing audio sample 'audio/on_tap.mp3'
> 2011-11-23 16:34:32.450 GWMobile[12352:707] Finished playing audio sample 'audio/on_tap.mp3
> But nothing is audible. This was working fine on 1.0.
> Thanks,
> Andy

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