Questions tagged [background-audio]

Refers to the process of playing audio files in a background agent. Most relevant for Windows Phone and WinRT

142 questions
1
vote
0 answers

Background Audio is enabled but not needed

following the examples, I enabled the Background Audio capability in my app, even though I do not need it. I want simple playback only, with midi triggering sounds (sf2) from the app bundle only, in foreground only. I got everything working and…
Rob Vasvari
  • 101
  • 1
  • 3
1
vote
0 answers

Deezer playback stops when I activate the lock screen

We are currently integrating the Deezer iOS SDK into our podcast player app. We’re playing albums (DZRAlbum) via DZRPlayer, and playback works fine within the app and when the app is in the background without locking the screen. However once we…
Linsey
  • 13
  • 4
1
vote
1 answer

UWP Background Media Playback

I'm trying to follow this tutorial to set up the background audio player in my app but I'm stuck at step one. There is no capability called Background Audio Task in my manifest file. Adding it manually doesn't do any good either since these events…
Reynevan
  • 1,475
  • 1
  • 18
  • 35
1
vote
1 answer

SystemMediaTransportControls - setting properties not working

I'm trying to use the SystemMediaTransportControls in an background audio app. I am using the MediaPlayer class to play the audio. Setting the music properties, thumbnail all seems to work fine, but setting the control buttons (i.e. "next" button)…
1
vote
0 answers

Update UWP LiveTile from BackgroundMediaPlayer

I am using NotificationsExtentions and NotificationsVisualizationLibrary to update my live tile. I don't know how to update my Live tile from a BackgroundMediaPlayer when track changes as I can't use Dispatcher.RunAsync in this Thread and also my…
Ali
  • 67
  • 6
1
vote
0 answers

UnknownError Running ApplicationTrigger only if called while in background

With the new anniversary update sdk i have decided to change my background audio to use the new api. Everything works except that i need to make network calls when a track ends to get the next track or next playlist (8tracks.com app). The new api…
1
vote
1 answer

Running Background Audio in different pages of UWP App

I am making a UWP App where I run Background Audio in the MainPage on a Button Click event. When I move to another page, there's also a different Media to play in Background Audio Task there. How can I stop the currently playing Task to run the…
yalematta
  • 1,389
  • 1
  • 21
  • 36
1
vote
0 answers

Can someone explain me the Background Audio Task?

I'm still struggling with the Background-Audio in UWP. I already found this, but it only explains, how it works, without any code examples. Of course there is the UWP Sample for Background Audio on Github, but its to complex and unclear, so i'm…
1
vote
1 answer

UWP Background Audio fails because RPC server is unavailable

I am implementing the UWP sample for background audio on Github, but with no success. I copy and pasted everything, and while it works in the sample, it doesn't work on my project. Every time the CurrentPlayer object (type is a MediaPlayer), it…
1
vote
2 answers

How can i get current time of background audio? (iOS)

I have audio app. For listening audio i use AVFoundationFramework and make it in background with info by MPNowPlayingInfoCenter. If user making segue to other screen the audio are playing. I want show him info about playing audio on this new screen.…
1
vote
1 answer

Windows Phone, Background audio, Bluetooth and OutOfMemoryException

I am currently developping a Windows Phone 8.1 app providing Flac background audio playback using a custom media Stream source (written in C++) that converts FLAC frames into PCM samples. Everything runs fine, except if a Bluetooth handset (or…
1
vote
1 answer

winrt and uwp webview background audio

Is it possible to keep the audio playing inside a WebView still play when an App is suspended or in background on Windows 10 or Windows Phone 8? Correctly if in Windows 10, if an App is not focus the webview keeps playing, but in tablet mode if goes…
nicruo
  • 508
  • 4
  • 13
1
vote
0 answers

Windows phone 8.1 stream media in background

Can we stream media in the background using the MediaPlayer class in windows phone 8.1? I dont use mediaelement to manually create a player to stream media. Can this be used to implement, background audio in Windows phone 8.1 Here's the…
1
vote
0 answers

Windows 8.1 audio not playing in background

I'm developing the app that plays music in foreground and background in Windows 8.1. I have done all as per msdn article: How to play audio in the background declared background audio task added MediaElement to the page with…
Ku6opr
  • 8,126
  • 2
  • 24
  • 31
1
vote
1 answer

Windows Phone Background Audio current track is resetting

I am developing an WP8 app witch uses background audio agent. i have taken the background audio players sample. i have added the following method to audioplayer.cs public static void playTrackAtIndex(int index) { currentTrackNumber =…
ventura8
  • 554
  • 6
  • 18