New issue
Advanced search Search tips

Issue 874844 link

Starred by 1 user

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

TTS stops working when app in background

Reported by mvolm...@gmail.com, Aug 16

Issue description

Steps to reproduce the problem:
1. Create a small app that makes uses of speech synthesis (TTS).
2. Enqueue several utterances. Start playing.
3. Let the device dims out the screen.

What is the expected behavior?
The speech continues even after the screen dimes out.

What went wrong?
When the screen dimes out and the current utterance ends, no new utterance is being spoken.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 67.0.3396.87  Channel: stable
OS Version: 5.1.1
Flash Version: Shockwave Flash 28.0 r0

I'm developing a PWA that makes use of the TTS feature. The app is already installed (so, everything is in place: manifest, https, etc). Everything works perfect until the screen dimes out (on a mobile device - specifically several Samsung devices.. don't have any others at hand to check).

If speech is playing an utterance, after it ends playing it, even if there are others utterances enqueued, nothing happens. If I try to start a new utterance (with the screen dimmed out), nothing plays.

I understand that the above may/should happen on a website, but I don't get why this should happen on an installed app. Since I'm using the TTS to provide audible queues to people that are not actually looking at the screen, having them not working properly makes them not useful.
 
Labels: Needs-triage-Mobile
Cc: jbanavatu@chromium.org chelamcherla@chromium.org
Labels: Triaged-Mobile Needs-Feedback
@mvolmaro: Please provide test url/app that makes uses of speech synthesis (TTS) to test this issue from TE end. This would help in better triaging of the issue.

Thanks!
@jbanavatu: I'm not comfortable giving the app in a public forum. Does a simple page (without workers) work for you?
I'm asking because I don't know the play policy of TTS in a browser and/or in a PWA.
The app I've made works fine on Chrome/Windows, both as webpage and PWA. TTS is not interrupted when the app/browser/tab changes to background.
Project Member

Comment 4 by sheriffbot@chromium.org, Aug 17

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment