New issue
Advanced search Search tips

Issue 880782 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Sep 7
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Getting audio from Android despite loading muted video on page navigation

Reported by jonas.va...@zentrick.com, Sep 5

Issue description

Example URL:
http://cdn.zentrick.com/testing/video-indirect/index.html

Steps to reproduce the problem:
1. Go to the specified URL (http://cdn.zentrick.com/testing/video-indirect/index.html)
2. Click on the 'video' link.
3. Subsequent page includes a regular video element, with muted properties
4. Any background audio is paused, and chrome (?) signals audio on the page, despite the video being muted.

Upon reloading the page (i.e. without page navigation to the video) the page does not signal audio, and does not interrupt background playback as expected.

What is the expected behavior?
The page not using the android audio, because the video is muted - and thus not muting the background audio.

What went wrong?
When playing the video after a page navigation, chrome signals it using audio and pauses background music playback.

When reloading the page with the video, this does not happen. So it only happens on page navigation.

Also, when manually forbidding sound on the domain, it keeps signalling audio. (see attached)

Did this work before? N/A 

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? N/A

Chrome version: 68.0.3440.91  Channel: stable
OS Version: 6.0.1
Flash Version: 

Contents of chrome://gpu: 

Graphics Feature Status
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Disabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Hardware Protected Video Decode: Unavailable
Rasterization: Hardware accelerated
Skia Deferred Display List: Disabled
Skia Renderer: Disabled
Surface Synchronization: Disabled
Video Decode: Hardware accelerated
Viz Service Display Compositor: Disabled
WebGL: Hardware accelerated
WebGL2: Unavailable
Driver Bug Workarounds
clear_uniforms_before_first_program_use
disable_chromium_framebuffer_multisample
disable_depth_texture
disable_framebuffer_cmaa
disable_program_cache
disable_program_caching_for_transform_feedback
disable_timestamp_queries
disallow_large_instanced_draw
dont_disable_webgl_when_compositor_context_lost
force_cube_map_positive_x_allocation
force_update_scissor_state_when_binding_fbo0
max_copy_texture_chromium_size_1048576
max_msaa_sample_count_4
max_texture_size_limit_4096
scalarize_vec_and_mat_constructor_args
unbind_egl_context_to_flush_driver_caches
use_virtualized_gl_contexts
wake_up_gpu_before_drawing
Problems Detected
MSAA and depth texture buggy on Adreno 3xx, also disable WebGL2: 449116, 698197
Disabled Features: accelerated_webgl2
Protected video decoding with swap chain is for Windows and Intel only
Disabled Features: protected_video_decode
Disable depth textures on older Qualcomm GPUs (legacy blacklist entry, original problem unclear): 682075
Applied Workarounds: disable_depth_texture, disable(GL_OES_depth_texture)
Non-virtual contexts on Qualcomm sometimes cause out-of-order frames: 289461
Applied Workarounds: use_virtualized_gl_contexts
The first draw operation from an idle state is slow: 309734
Applied Workarounds: wake_up_gpu_before_drawing
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
EXT_disjoint_timer_query fails after 2 queries on adreno 3xx in lollypop: 477514
Applied Workarounds: disable_timestamp_queries, disable(GL_EXT_disjoint_timer_query), disable(GL_EXT_disjoint_timer_query_webgl2)
glFinish doesn't clear caches on Android: 509727
Applied Workarounds: unbind_egl_context_to_flush_driver_caches
Program binaries contain incorrect bound attribute locations on Adreno 3xx GPUs: 510637
Applied Workarounds: disable_program_cache
Android Adreno crashes on binding incomplete cube map texture to FBO: 518889
Applied Workarounds: force_cube_map_positive_x_allocation
CHROMIUM_copy_texture with 1MB copy per flush to avoid unwanted cache growth on Adreno: 542478
Applied Workarounds: max_copy_texture_chromium_size_1048576
Limit max texure size to 4096 on all of Android
Applied Workarounds: max_texture_size_limit_4096
Use GL_INTEL_framebuffer_CMAA on ChromeOS: 535198
Applied Workarounds: disable_framebuffer_cmaa
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Applied Workarounds: disable(GL_KHR_blend_equation_advanced), disable(GL_KHR_blend_equation_advanced_coherent)
Program binaries don't contain transform feedback varyings on Qualcomm GPUs: 658074
Applied Workarounds: disable_program_caching_for_transform_feedback
Some Adreno 3xx don't setup scissor state correctly when FBO0 is bound, nor support MSAA properly.: 670607, 682075, 696627, 698197, 707839
Applied Workarounds: disable_chromium_framebuffer_multisample, force_update_scissor_state_when_binding_fbo0
Very large instanced draw calls crash on some Adreno 3xx drivers: 701682
Applied Workarounds: disallow_large_instanced_draw
eglSwapBuffers intermittently fails on Android when app goes to background: 744678
Applied Workarounds: dont_disable_webgl_when_compositor_context_lost
glGetQueryObject(GL_QUERY_RESULT_AVAILABLE) blocks unexpectedly on Adreno: 750306, 764526
Applied Workarounds: disable(GL_EXT_disjoint_timer_query), disable(GL_EXT_disjoint_timer_query_webgl2)
Don't expose disjoint_timer_query extensions to WebGL: 808744
Limit MSAA to 4x on Android devices: 797243
Applied Workarounds: max_msaa_sample_count_4
Raster is using a single thread.
Disabled Features: multiple_raster_threads
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Surface synchronization has been disabled by Finch trial or command line.
Disabled Features: surface_synchronization
Viz service display compositor is not enabled by default.
Disabled Features: viz_display_compositor
Skia renderer is not used by default.
Disabled Features: skia_renderer
Skia deferred display list is not used by default.
Disabled Features: skia_deferred_display_list
Version Information
Data exported	2018-09-05T11:33:48.876Z
Chrome version	Chrome/68.0.3440.91
Operating system	Android 6.0.1
Software rendering list URL	https://chromium.googlesource.com/chromium/src/+/8daf58f7f40d22013c59388236c8e71e1117cb2c/gpu/config/software_rendering_list.json
Driver bug list URL	https://chromium.googlesource.com/chromium/src/+/8daf58f7f40d22013c59388236c8e71e1117cb2c/gpu/config/gpu_driver_bug_list.json
ANGLE commit id	ba1627086779
2D graphics backend	Skia/68 7d479192f0bf2a2f0e872d40e3fe3ce9978bf3cc-
Command Line	--top-controls-show-threshold=0.27 --top-controls-hide-threshold=0.17 --enable-pinch --enable-viewport --validate-input-event-stream --enable-longpress-drag-selection --touch-selection-strategy=direction --main-frame-resizes-are-orientation-changes --disable-composited-antialiasing --enable-dom-distiller --flag-switches-begin --flag-switches-end
Driver Information
Initialization time	477
In-process GPU	false
Passthrough Command Decoder	false
Direct Composition	false
Supports overlays	false
Sandboxed	false
GPU0	VENDOR = 0x0000 [Qualcomm], DEVICE= 0x0000 [Adreno (TM) 320] *ACTIVE*
Optimus	false
AMD switchable	false
Driver vendor	
Driver version	127.0
Driver date	
Pixel shader version	3.00
Vertex shader version	3.00
Max. MSAA samples	4
Machine model name	Nexus 7
Machine model version	
GL_VENDOR	Qualcomm
GL_RENDERER	Adreno (TM) 320
GL_VERSION	OpenGL ES 3.0 V@127.0 AU@ (GIT@I96aee987eb)
GL_EXTENSIONS	GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_AMD_program_binary_Z400 GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_robustness GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV GL_NV_fence GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_depth24 GL_OES_EGL_image GL_OES_EGL_sync GL_OES_EGL_image_external GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_fragment_precision_high GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_depth_texture_cube_map GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_vertex_type_10_10_10_2 GL_OES_vertex_array_object GL_QCOM_alpha_test GL_QCOM_binning_control GL_QCOM_driver_control GL_QCOM_perfmon_global_mode GL_QCOM_extended_get GL_QCOM_extended_get2 GL_QCOM_tiled_rendering GL_QCOM_writeonly_rendering GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_texture_sRGB_decode GL_EXT_texture_filter_anisotropic GL_EXT_multisampled_render_to_texture GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_disjoint_timer_query
Disabled Extensions	GL_EXT_disjoint_timer_query GL_EXT_disjoint_timer_query_webgl2 GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_depth_texture
Disabled WebGL Extensions	EXT_disjoint_timer_query EXT_disjoint_timer_query_webgl2
Window system binding vendor	
Window system binding version	
Window system binding extensions	
Direct rendering	Yes
Reset notification strategy	0x8252
GPU process crash count	0
Compositor Information
Tile Update Mode	One-copy
Partial Raster	Enabled
GpuMemoryBuffers Status
ATC	Software only
ATCIA	Software only
DXT1	Software only
DXT5	Software only
ETC1	Software only
R_8	Software only
R_16	Software only
RG_88	Software only
BGR_565	Software only
RGBA_4444	Software only
RGBX_8888	Software only
RGBA_8888	Software only
BGRX_8888	Software only
BGRX_1010102	Software only
RGBX_1010102	Software only
BGRA_8888	Software only
RGBA_F16	Software only
YVU_420	Software only
YUV_420_BIPLANAR	Software only
UYVY_422	Software only
Display(s) Information
Info	Display[0] bounds=[0,0 600x960], workarea=[0,0 600x960], scale=2, external.
Color space information	{primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Bits per color component	8
Bits per pixel	24
Video Acceleration Information
Decode vp8	up to 3840x2160 pixels (encrypted)
Decode vp8	up to 3840x2160 pixels (encrypted)
Decode vp9 profile0	up to 3840x2160 pixels (encrypted)
Decode vp9 profile0	up to 3840x2160 pixels (encrypted)
Decode vp9 profile1	up to 3840x2160 pixels (encrypted)
Decode vp9 profile1	up to 3840x2160 pixels (encrypted)
Decode vp9 profile2	up to 3840x2160 pixels (encrypted)
Decode vp9 profile2	up to 3840x2160 pixels (encrypted)
Decode vp9 profile3	up to 3840x2160 pixels (encrypted)
Decode vp9 profile3	up to 3840x2160 pixels (encrypted)
Decode h264 baseline	up to 3840x2160 pixels
Decode h264 main	up to 3840x2160 pixels
Decode h264 extended	up to 3840x2160 pixels
Decode h264 high	up to 3840x2160 pixels
Decode h264 high 10	up to 3840x2160 pixels
Decode h264 high 4:2:2	up to 3840x2160 pixels
Decode h264 high 4:4:4 predictive	up to 3840x2160 pixels
Decode h264 scalable baseline	up to 3840x2160 pixels
Decode h264 scalable high	up to 3840x2160 pixels
Decode h264 stereo high	up to 3840x2160 pixels
Decode h264 multiview high	up to 3840x2160 pixels
Log Messages
[ERROR:gl_context_virtual.cc(39)] : Trying to make virtual context current without decoder.
[ERROR:gl_context_virtual.cc(39)] : Trying to make virtual context current without decoder.
[ERROR:gl_context_virtual.cc(39)] : Trying to make virtual context current without decoder.
[ERROR:gl_context_virtual.cc(39)] : Trying to make virtual context current without decoder.

We've tried a number of things: 
  - Setting the attributes to muted="true" or adding playsinline="true"
  - Manually setting muted and defaultMuted to true.
  - Delaying the play() call with setInterval (and removing autoplay)
  - Setting volume to 0

In all these scenario's the webpage keeps blocking the background playback, and signalling it's using audio.
 
Screenshot_20180905-123103.png
121 KB View Download
Cc: mlamouri@chromium.org
Labels: Needs-Feedback
Can you reproduce this on Chrome 69?
Components: -Internals>Media Blink>Media>Autoplay
Thanks for the quick response. 

I can't reproduce this on Chrome 69, no.
Project Member

Comment 4 by sheriffbot@chromium.org, Sep 6

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
Cc: chelamcherla@chromium.org
Labels: Needs-triage-Mobile Triaged-Mobile
Status: WontFix (was: Unconfirmed)
As per comment#0 this issue is not reproducible on latest M-69. Hence closing this issue.

Thanks!

Sign in to add a comment