Issue 429192 in chromium: Android's WebView does not request audio focus

913 views
Skip to first unread message

chro...@googlecode.com

unread,
Oct 31, 2014, 12:38:34 PM10/31/14
to chromi...@chromium.org
Status: Unconfirmed
Owner: ----
Labels: Cr-Internals-Media Pri-2 Via-Wizard Type-Bug OS-Android

New issue 429192 by chidamba...@gmail.com: Android's WebView does not
request audio focus
https://code.google.com/p/chromium/issues/detail?id=429192

Example URL:

Steps to reproduce the problem:
- Start a player that listens to the Audio Focus
- Open Youtube Video in a WebView
- Start playing media from WebView
- You will hear both of the audio simultaneously.

What is the expected behavior?
Once WebView starts playing, it should request audiofocus, so that the
existing audio can be paused

What went wrong?
WebView does not request audio focus

Did this work before? N/A

Is it a problem with Flash or HTML5? N/A

Does this work in other browsers? N/A

Chrome version: 38.0.2125.101 Channel: n/a
OS Version: 4.4.2
Flash Version: Shockwave Flash 15.0 r0

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

chro...@googlecode.com

unread,
Jan 8, 2015, 10:07:20 AM1/8/15
to chromi...@chromium.org

Comment #2 on issue 429192 by chidamba...@gmail.com: Android's WebView does
Hi,
Our app has the capability to play music, following are the steps to
recreate this issue
1. Create a simple Android app which can play music
2. Request Audiofocus when the music starts playing
3. In the same app or in an another app which uses WebView, load a Youtube
URL
4. Once Youtube Video plays, ideally Android should send a AUDIOFOCUS_LOSS
intent to first app which is not happening

we are able to recreate the same issue in lollipop too (Nexus 5)
-Chidambaram

chro...@googlecode.com

unread,
Feb 4, 2015, 3:48:47 PM2/4/15
to chromi...@chromium.org

Comment #4 on issue 429192 by jmen...@pandora.com: Android's WebView does
I'm seeing the same behavior in our app. Our app is a music player and when
we start a webview that is playing a HTML5 video, our audio is lowered 50%
not completely, so there is no audio focus request.

chro...@googlecode.com

unread,
May 7, 2015, 5:33:52 PM5/7/15
to chromi...@chromium.org

Comment #5 on issue 429192 by dema...@amazon.com: Android's WebView does
Proposed fix: https://codereview.chromium.org/1131793004

chro...@googlecode.com

unread,
May 12, 2015, 7:36:09 AM5/12/15
to chromi...@chromium.org
Updates:
Cc: mlamo...@chromium.org

Comment #6 on issue 429192 by mlamo...@chromium.org: Android's WebView does
(No comment was entered for this change.)
Reply all
Reply to author
Forward
0 new messages