Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20080] Windows: Ti.Media.AudioPlayer background audio for Windows 10

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusResolved
ResolutionWon't Do
Resolution Date2020-06-30T14:48:44.000+0000
Affected Version/sRelease 5.1.0
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterKota Iguchi
AssigneeChristopher Williams
Created2015-12-01T05:47:04.000+0000
Updated2020-06-30T14:48:44.000+0000

Description

Per thread from [PR 488](https://github.com/appcelerator/titanium_mobile_windows/pull/488) {quote} The feature (AudioCategory::BackgroundCapableMedia) is supported in Windows 10, but is deprecated and there's a document on using background audio (I think using background tasks). I don't think we want to just remove the line in Win10+. We probably want to disable the deprecation warning on Windows 10 for this specific instance until/unless we use the new API/flow for doing the background audio. I'd suggest we turn off the compiler warning for this file (or stifle it in some way) on Win 10 compiles, and open a ticket for replacing the mechanism to use the new API in the future. See https://msdn.microsoft.com/en-us/library/windows/apps/mt282140.aspx and https://social.msdn.microsoft.com/Forums/windowsapps/en-US/46432468-b968-4570-a0ce-48babe838f2d/uwpbackground-audio-with-mft-in-windows-10 {quote}

Comments

  1. Gary Mathews 2016-02-28

    PR: https://github.com/appcelerator/titanium_mobile_windows/pull/569
  2. Harry Bryant 2016-06-28

    Reopening this ticket until TIMOB-20035 is addressed.
  3. Kota Iguchi 2016-06-30

    So based on the investigation, background audio does not work on Windows 10 Mobile due to the system limitation. (See comments in TIMOB-20035) We could close this ticket as "Won't fix", but I think it's better to just remove "6.0.0" target for now to get more time for further investigation. I will update the API docs to address this limitation.

JSON Source