[
https://issues.apache.org/jira/browse/CB-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176808#comment-13176808
]
Amrit Batra commented on CB-142:
--------------------------------
Here is the console log from gapexample app.
'UI Task' (Managed): Loaded 'mscorlib.dll'
'UI Task' (Managed): Loaded 'System.Windows.RuntimeHost.dll'
'UI Task' (Managed): Loaded 'System.dll'
'UI Task' (Managed): Loaded 'System.Windows.dll'
'UI Task' (Managed): Loaded 'System.Net.dll'
'UI Task' (Managed): Loaded 'System.Core.dll'
'UI Task' (Managed): Loaded 'System.Xml.dll'
'UI Task' (Managed): Loaded
'\Applications\Install\16782D49-B494-4F58-BEC6-7D2E7846E16B\Install\GapExample.dll',
Symbols loaded.
'UI Task' (Managed): Loaded 'Microsoft.Phone.dll'
'UI Task' (Managed): Loaded 'Microsoft.Phone.Interop.dll'
'UI Task' (Managed): Loaded
'\Applications\Install\16782D49-B494-4F58-BEC6-7D2E7846E16B\Install\WP7GapClassLib.dll',
Symbols loaded.
'UI Task' (Managed): Loaded 'System.Xml.Linq.dll'
'UI Task' (Managed): Loaded 'System.Runtime.Serialization.dll'
Updating IsolatedStorage for APP:DeviceID :: xxxxxxxxxxxxxxxxxxxxxx
Writing data for app\www\accelerometer.html and length = 4783
Writing data for app\www\accelerometer2.html and length = 3724
Writing data for app\www\audio.html and length = 8843
Writing data for app\www\calculator.html and length = 2810
Writing data for app\www\camera.html and length = 4276
Writing data for app\www\capture.html and length = 7925
Writing data for app\www\compass.html and length = 4452
Writing data for app\www\contacts.html and length = 5733
Writing data for app\www\events.html and length = 4593
Writing data for app\www\file.html and length = 9779
Writing data for app\www\index.html and length = 3412
Writing data for app\www\location.html and length = 5667
Writing data for app\www\master.css and length = 2440
Writing data for app\www\network.html and length = 2909
Writing data for app\www\notification.html and length = 3536
Writing data for app\www\phonegap-1.3.0.js and length = 108553
Writing data for app\www\storage.html and length = 2444
GapBrowser_Navigating to :: app\www/index.html
GapBrowser_Navigated :: app\www/index.html
ScriptNotify :: Installed console !
'UI Task' (Managed): Loaded 'System.ServiceModel.Web.dll'
'UI Task' (Managed): Loaded 'System.ServiceModel.dll'
ScriptNotify :: document.addEventListener event named DOMContentLoaded
The thread '<No Name>' (0xf74006a) has exited with code 0 (0x0).
ScriptNotify :: GotDeviceInfo :: 7.10.7720
ScriptNotify :: Installing capture
ScriptNotify :: PhoneGap.addConstructor is working
ScriptNotify :: document.addEventListener event named deviceready
The thread '<No Name>' (0xed3006a) has exited with code 0 (0x0).
ScriptNotify :: deviceready event fired!
ScriptNotify :: document.addEventListener event named backbutton
GapBrowser_Navigating to :: app/www/audio.html
GapBrowser_Navigated :: app/www/audio.html
ScriptNotify :: Installed console !
ScriptNotify :: document.addEventListener event named DOMContentLoaded
ScriptNotify :: Installing capture
The thread '<No Name>' (0xe48008a) has exited with code 0 (0x0).
ScriptNotify :: document.addEventListener event named deviceready
ScriptNotify :: GotDeviceInfo :: 7.10.7720
The thread '<No Name>' (0xf71008e) has exited with code 0 (0x0).
ScriptNotify :: Device=WinCE 7.10.7720
ScriptNotify :: playAudio()
ScriptNotify :: -- media=null
ScriptNotify :: Start creating media...
ScriptNotify :: Start play audio...
'UI Task' (Managed): Loaded 'Microsoft.Xna.Framework.dll'
The thread '<No Name>' (0xe99009a) has exited with code 0 (0x0).
A first chance exception of type 'System.Exception' occurred in
WP7GapClassLib.dll
GapBrowser_Navigating to :: app/www/audio.html#
ScriptNotify :: playAudio():Audio Error: 5
The thread '<No Name>' (0xe57007e) has exited with code 0 (0x0).
ScriptNotify :: Pos=-1
The thread '<No Name>' (0xeba008e) has exited with code 0 (0x0).
ScriptNotify :: Pos=-1
The thread '<No Name>' (0xec6006a) has exited with code 0 (0x0).
ScriptNotify :: Pos=-1
The thread '<No Name>' (0xe64009a) has exited with code 0 (0x0).
ScriptNotify :: Pos=-1
The thread '<No Name>' (0xe230086) has exited with code 0 (0x0).
ScriptNotify :: Pos=-1
The thread '<No Name>' (0xe68009a) has exited with code 0 (0x0).
ScriptNotify :: Pos=-1
ScriptNotify :: stopAudio()
GapBrowser_Navigating to :: app/www/audio.html#
The thread '<No Name>' (0xfc1009e) has exited with code 0 (0x0).
ScriptNotify :: playAudio():Audio Error: 8
> Play media gives error 5 Test case sample project while trying to play mp3
> file using a web url.
> -------------------------------------------------------------------------------------------------
>
> Key: CB-142
> URL: https://issues.apache.org/jira/browse/CB-142
> Project: Apache Callback
> Issue Type: Bug
> Components: WP7
> Affects Versions: 1.3.0
> Environment: WP7 emulator and Samsung Focus
> Reporter: Amrit Batra
> Assignee: Jesse MacFadyen
> Priority: Blocker
> Labels: newbie
> Fix For: 1.3.0
>
>
> While trying to play a MP3 file using a web URL, it fails to play and gives
> an error #5. Same url works with HTML5 audio tag. Same error can be found in
> the exampleGap project where it play/pause option.
--
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