You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2016/08/10 15:00:25 UTC

[jira] [Updated] (CB-11564) Windows Phones platform can not play background audio

     [ https://issues.apache.org/jira/browse/CB-11564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Kotikov updated CB-11564:
----------------------------------
    Priority: Major  (was: Blocker)

> Windows Phones platform can not 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 To
>
> There is video demo play background audio for windows and windows phones (version 8.1+) 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 and 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 can not 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