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
3 answers

How to reuse BackgroundAudioPlayer after Close method called

I’m using MediaElement for playing videos and BackgroundAudioPlayer for playing audio. Here is a case. I’m playing remote audio via BackgroundAudioPlayer. Then I want to play video and before MediaElement begins playing video I’m calling…
Nazar Grynko
  • 561
  • 1
  • 5
  • 26
1
vote
1 answer

WP7 background audio resources are no longer available

I'm using BackgroundAudioPlayer for my Windows Phone 7 music & video application. After I play some music, I play video using MediaPlayerLauncher, then press Back to return to my app. There whenever I use BackgroundAudioPlayer.Instance. I receive…
onmyway133
  • 45,645
  • 31
  • 257
  • 263
1
vote
0 answers

WP7 BackgroundAudioPlayer error code

When using BackgroundAudioPlayer in Windows Phone 7 application. It sometimes cause errors, and OnError will handle it. The problem is that it show only the error code, and we can't know about it. When reading Paul Annets's article. I found meaning…
onmyway133
  • 45,645
  • 31
  • 257
  • 263
1
vote
0 answers

WP7 BackgroundAudioAgent: get Meta data from Icecast

I have a Windows Phone project that streams radio stations from an Icecast server. I am using Background Audio Agent to play the streams. The Icecast stream provides Track Title - Artist name as the metadata. Is there any way I can fetch the…
0
votes
2 answers

BackgroundAudioPlayer- Buffering & MediaStreamSource

I have created a MediaStreamSource to decode an live internet audio stream and pass it to the BackgroundAudioPlayer. This now works very well on the device. However I would now like to implement some form of buffering control. Currently all works…
0
votes
1 answer

how to execute a method BackgroundAudioPlayer fastforward?

Tell me please how to execute a method BackgroundAudioPlayer fastforward? That is, how to do that when you long press the button, fast forward, and then release the button, the track nchinal play, in general as well as buttons work in the locked…
0
votes
0 answers

Play Background Audio using Turbo Native Android

I'm developing an app for a radio station using Turbo from a website also using Turbo but I'm experiencing a problem with background audio streaming. When the screen is turned off or the user uses other apps, the audio eventually stops playing. Is…
Erick Filho
  • 1,962
  • 3
  • 18
  • 31
0
votes
1 answer

How to make `just_audio` not interrupt the playback of whatever audio is playing in the background in Flutter?

I'm using just audio package to play 1-second beeping sounds in my Flutter app which is aimed mainly at iOS. The problem I'm having is that other audio (music, audiobooks, etc) is stopped whenever this beep sound gets played and it stays stopped,…
Alex Lomia
  • 6,705
  • 12
  • 53
  • 87
0
votes
0 answers

Flutter flutter_tts how do I lower the volume of audio in the background while playing tts?

I'm using the plugin flutter_tts. await flutterTts.setIosAudioCategory(IosTextToSpeechAudioCategory.playback, [ //I've tried all of these options IosTextToSpeechAudioCategoryOptions.mixWithOthers, …
Cedric
  • 470
  • 6
  • 20
0
votes
1 answer

Recognize speech from microphone while audio plays in the background

I want my app to recognize speech from the microphone and allow audio in the background to keep playing. My app recognizes speech coming in through the microphone and converts it to text. When my app launches it shuts down any audio playing in the…
0
votes
0 answers

How To Get Background Audio Info using React Native (iOS)

I am wondering how to access the now playing info of a track that is playing in the background of an iOS device using React Native. I know that there are many packages, such as react-native-track-player, which can play music on the player and get…
Raamiz Abbasi
  • 261
  • 4
  • 14
0
votes
0 answers

Unable to play mp3 files from asset in background(when locked) in iOS flutter

There is a weird bug that occurs when I try to play an audio file(.mp3) from assets, in iOS. I'm using audioplayers plugin for this. My task is to play an audio file (either from local storage or assets), after some delay, while the app is not in…
0
votes
1 answer

Background music in Flutter does not work

I'm trying to add background music to my app. if i start my app the music starts rightly, but if i press a button which should have no impact to the music, the music starts from new. i code in Flutter.Here is my code i cutted the unimportant things…
0
votes
1 answer

UWP Background audio not working when switched to Holographic mode

I'm quite new to UWP. The app I'm designing in a tester app (2D) that launches a Holographic App (using deep link - LaunchUriAsync) followed by some audio playback. The audio playback mechanism is done through a background task. I have followed the…
Sabarish
  • 174
  • 4
  • 15