Thanks for clarifying, but what I don't get is, why Android chrome browser work well without slow down in decoding while crosswalk have that. I tested Cordova on Android and it doesn't have this problem but the problem is its slower and some devices have problems with it.
Any explanation? Ahmed Khalifa Sent from my BlackBerry From: [email protected] Sent: January 3, 2017 9:59 PM To: [email protected]; [email protected] Cc: [email protected]; [email protected] Subject: RE: sound is not playing on android only Hi Ahmed Maybe can't.. sorry. Before enable ffmpeg, Chromium also has the same decode very slow issue, please see the details here, https://bugs.chromium.org/p/chromium/issues/detail?id=424174 However, as the description in https://crosswalk-project.org/jira/browse/XWALK-7307 and my patch https://github.com/crosswalk-project/chromium-crosswalk/pull/398, Crosswalk has to disable ffmpeg for the property codec problem. So the result is that Crosswalk can support mp3 and other property codec, but with the decode slow issue... Best Regards :) Xiaofeng Zhang From: Ahmed Abdelsamea [mailto:[email protected]] Sent: Wednesday, January 4, 2017 10:24 AM To: Zhang, Belem <[email protected]> Cc: [email protected]; Zhang, Xiaofeng <[email protected]>; Fu, Junwei <[email protected]> Subject: Re: sound is not playing on android only One last question, I noticed that long files take very long time to decode (around a min). is there a way to make this faster. (Certain encoding or certain plug-in or certain technology or etc) Thanks in advance :) Ahmed Khalifa Sent from my BlackBerry From: [email protected]<mailto:[email protected]> Sent: January 3, 2017 8:22 PM To: [email protected]<mailto:[email protected]> Cc: [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]> Subject: Re: sound is not playing on android only Thanks for replying, I am using Phaser. Phaser uses WebAudio I tried these stuff and it works thanks I think I will need to handle device events because the game music doesn't stop at all. On Jan 3, 2017, at 8:12 PM, Zhang, Belem <[email protected]<mailto:[email protected]>> wrote: Hi Ahmed, Not sure which way you are using the audio in your game, please refer to: https://crosswalk-project.org/jira/browse/XWALK-7307 AudioContext decodeAudioData() does not work on Crosswalk 19 upwards https://crosswalk-project.org/jira/browse/XWALK-6874 Audio Playback not working with --enable-unified-media-pipeline flag We've fixed some audio issues in Crosswalk 23 beta, please try: <preference name="xwalkVersion" value="org.xwalk:xwalk_core_library_beta:23+" /> BR Belem From: Crosswalk-help [mailto:[email protected]] On Behalf Of Ahmed Abdelsamea Sent: Wednesday, January 4, 2017 8:49 AM To: [email protected]<mailto:[email protected]> Subject: [Crosswalk-help] sound is not playing on android only Hello Everyone, I am Ahmed Khalifa, an indie game developer. I am working on my game C-Square using Phaser but I have problems with compiling the android version using cordova with crosswalk plugin. I compiled my game using cordova and it is working fine but some devices were having performance issues so I decided using crosswalk now everything is super fast but no audio in the whole game. The game works perfectly on iOS. The sound files are mp3 files (32-bit float, Stereo, 44100Hz) here are the parameters using for crosswalk <plugin name="cordova-plugin-crosswalk-webview" spec="~2.2.0"> <variable name="XWALK_VERSION" value="22+" /> <variable name="XWALK_LITEVERSION" value="xwalk_core_library_canary:17+" /> <variable name="XWALK_MODE" value="embedded" /> <variable name="XWALK_MULTIPLEAPK" value="true" /> </plugin> <preference name="xwalkCommandLine" value="--ignore-gpu-blacklist" /> Any help is appreciated as I have been stuck in this problem for more than a week. Thanks Ahmed Khalifa
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
