Mushfiqur Rahman
Mushfiqur Rahman

Reputation: 75

Audio Recording in Background is not working C# UWP

I've checked Background Audio Stop Issue , added <uap3:Capability Name="backgroundMediaPlayback"/> in Package.appxmanifest file. For playing m4a file used MediaPlayer class, it works perfectly in background. but for recording audio it is not working in background. It is being muted. Used AudioGraph to recording.

Do i need to handle externally for recording?

Upvotes: 1

Views: 162

Answers (2)

Luca Lindholm
Luca Lindholm

Reputation: 821

Remember: when we can’t do something directly by using UWP, we can always create an hybrid UWP/Win32 app, using the UWP bridge.

Best regards

Upvotes: 0

Mushfiqur Rahman
Mushfiqur Rahman

Reputation: 75

Didn't find any solution for this. It seems it is system limitation right now.

We cannot record audio in background on UWP platform.

Upvotes: 1

Related Questions