0

I am using GoogleChromeLabs/svgomg-twa as a base for a radio streaming website. The problem is that the audio stops streaming after the app is held in the background for around 15 minutes.

Is there a way to set the WAKE_LOCK or keepScreenOn properties in the Android project?

Žan Ožbot
  • 215
  • 2
  • 7

1 Answers1

0

It's not currently possible, but the Screen Wake Lock API is currently in Origin Trial and should solve that when the feature launches (expected Chrome 84).

andreban
  • 4,621
  • 1
  • 20
  • 49