You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Phuong Too (JIRA)" <ji...@apache.org> on 2016/07/13 02:53:20 UTC
[jira] [Updated] (CB-11564) Windows Phones platform cannot play
background audio
[ https://issues.apache.org/jira/browse/CB-11564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phuong Too updated CB-11564:
----------------------------
Description:
There is video demo play background audio for windows and windows platform: https://youtu.be/zYY6NKf7KQM
1. Use the plugin https://github.com/apache/cordova-plugin-media
cordova plugin add cordova-plugin-media@2.3.0
2. There is some reference material here for the additional requirements:
http://blogs.technet.com/b/chadduffey/archive/2014/06/27/implement-background-audio-for-modern-windows-applications.aspx
=> It just work only for windows platform.
It does not work for windows phones platform.
3. There is some reference How to play audio in the background:
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/jj841209.aspx
Instructions
I follow this reference to declare the background audio task.
Open the package.phone.appxmanifest file in theplatforms/windows.
Addition in <Extensions> tag.
<Extension Category="windows.backgroundTasks" StartPage="www/index.html">
<BackgroundTasks>
<Task Type="audio" />
</BackgroundTasks>
</Extension>
After that, build app but it doesn't build and got a message:
"Severity Code Description Project File Line Suppression State
Error DEP0001 : Unexpected Error: Package could not be registered. (Exception from HRESULT: 0x80073CF6)"
Severity Code Description Project File Line Suppression State
Error DEP6701 : Bootstrapping failed with unexpected error: 'DEP6700 : LaunchMsvsmon failed on the device side with error code 0x80070019'.
Severity Code Description Project File Line Suppression State
Error DEP6700 : LaunchMsvsmon failed on the device side with error code 0x80070019
was:
1. Use the plugin https://github.com/apache/cordova-plugin-media
cordova plugin add cordova-plugin-media@2.3.0
2. There is some reference material here for the additional requirements:
http://blogs.technet.com/b/chadduffey/archive/2014/06/27/implement-background-audio-for-modern-windows-applications.aspx
=> It just work only for windows platform.
It does not work for windows phones platform.
3. There is some reference How to play audio in the background:
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/jj841209.aspx
Instructions
I follow this reference to declare the background audio task.
Open the package.phone.appxmanifest file in theplatforms/windows.
Addition in <Extensions> tag.
<Extension Category="windows.backgroundTasks" StartPage="www/index.html">
<BackgroundTasks>
<Task Type="audio" />
</BackgroundTasks>
</Extension>
After that, build app but it doesn't build and got a message:
"Severity Code Description Project File Line Suppression State
Error DEP0001 : Unexpected Error: Package could not be registered. (Exception from HRESULT: 0x80073CF6)"
Severity Code Description Project File Line Suppression State
Error DEP6701 : Bootstrapping failed with unexpected error: 'DEP6700 : LaunchMsvsmon failed on the device side with error code 0x80070019'.
Severity Code Description Project File Line Suppression State
Error DEP6700 : LaunchMsvsmon failed on the device side with error code 0x80070019
> Windows Phones platform cannot play background audio
> ----------------------------------------------------
>
> Key: CB-11564
> URL: https://issues.apache.org/jira/browse/CB-11564
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Media
> Environment: Windows Phones
> Reporter: Phuong Too
> Priority: Blocker
>
> There is video demo play background audio for windows and windows platform: https://youtu.be/zYY6NKf7KQM
> 1. Use the plugin https://github.com/apache/cordova-plugin-media
> cordova plugin add cordova-plugin-media@2.3.0
> 2. There is some reference material here for the additional requirements:
> http://blogs.technet.com/b/chadduffey/archive/2014/06/27/implement-background-audio-for-modern-windows-applications.aspx
> => It just work only for windows platform.
> It does not work for windows phones platform.
> 3. There is some reference How to play audio in the background:
> https://msdn.microsoft.com/en-us/library/windows/apps/xaml/jj841209.aspx
> Instructions
> I follow this reference to declare the background audio task.
> Open the package.phone.appxmanifest file in theplatforms/windows.
> Addition in <Extensions> tag.
> <Extension Category="windows.backgroundTasks" StartPage="www/index.html">
> <BackgroundTasks>
> <Task Type="audio" />
> </BackgroundTasks>
> </Extension>
> After that, build app but it doesn't build and got a message:
> "Severity Code Description Project File Line Suppression State
> Error DEP0001 : Unexpected Error: Package could not be registered. (Exception from HRESULT: 0x80073CF6)"
> Severity Code Description Project File Line Suppression State
> Error DEP6701 : Bootstrapping failed with unexpected error: 'DEP6700 : LaunchMsvsmon failed on the device side with error code 0x80070019'.
> Severity Code Description Project File Line Suppression State
> Error DEP6700 : LaunchMsvsmon failed on the device side with error code 0x80070019
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org