New issue
Advanced search Search tips

Issue 722413 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

https://appr.tc doesn't work with "use-fake-ui-for-media-stream"

Reported by gennady....@gmail.com, May 15 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0

Example URL:
https://appr.tc

Steps to reproduce the problem:
1. run "chrome.exe --use-fake-ui-for-media-stream"
2. navigate to "https://appr.tc"
3. press "JOIN" button
You will get "appr.tc says: Failed to get access to local media..." alert.

What is the expected behavior?
Join to the chat room with audio as it do without "use-fake-ui-for-media-stream"

What went wrong?
Alert with DevicesNotFoundError

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: 58.0.3029.110 (Official Build) (64-bit)  Channel: n/a
OS Version: 10.0
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: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Rasterization: Hardware accelerated
Video Decode: Hardware accelerated
Video Encode: Hardware accelerated
VPx Video Decode: Software only, hardware acceleration unavailable
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
Driver Bug Workarounds
clear_uniforms_before_first_program_use
decode_encode_srgb_for_generatemipmap
disable_discard_framebuffer
disable_framebuffer_cmaa
exit_on_context_lost
force_cube_complete
msaa_is_slow
scalarize_vec_and_mat_constructor_args
texsubimage_faster_than_teximage
Problems Detected
Accelerated VPx decoding is hanging on some videos.: 654111
Disabled Features: accelerated_vpx_decode
Some drivers are unable to reset the D3D device in the GPU process sandbox
Applied Workarounds: exit_on_context_lost
TexSubImage is faster for full uploads on ANGLE
Applied Workarounds: texsubimage_faster_than_teximage
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
ANGLE crash on glReadPixels from incomplete cube map texture: 518889
Applied Workarounds: force_cube_complete
On Intel GPUs MSAA performance is not acceptable for GPU rasterization: 527565
Applied Workarounds: msaa_is_slow
Framebuffer discarding can hurt performance on non-tilers: 570897
Applied Workarounds: disable_discard_framebuffer
Limited enabling of Chromium GL_INTEL_framebuffer_CMAA: 535198
Applied Workarounds: disable_framebuffer_cmaa
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Decode and Encode before generateMipmap for srgb format textures on Windows: 634519
Applied Workarounds: decode_encode_srgb_for_generatemipmap
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Version Information
Data exported	5/15/2017, 7:18:04 PM
Chrome version	Chrome/58.0.3029.110
Operating system	Windows NT 10.0.15063
Software rendering list version	12.20
Driver bug list version	9.36
ANGLE commit id	461d9a3060e3
2D graphics backend	Skia/58 4c81ba6ba3a3270db809bf7d4c3bc782694a56a4
Command Line Args	Files (x86)\Google\Chrome\Application\chrome.exe" --use-fake-ui-for-media-stream --flag-switches-begin --flag-switches-end
Driver Information
Initialization time	102
In-process GPU	false
Passthrough Command Decoder	false
Sandboxed	false
GPU0	VENDOR = 0x8086, DEVICE= 0x0412
Optimus	false
Optimus	false
AMD switchable	false
Desktop compositing	Aero Glass
Diagonal Monitor Size of \\.\DISPLAY1	24.0"
Driver vendor	Intel Corporation
Driver version	20.19.15.4531
Driver date	9-29-2016
Pixel shader version	5.0
Vertex shader version	5.0
Max. MSAA samples	8
Machine model name	
Machine model version	
GL_VENDOR	Google Inc.
GL_RENDERER	ANGLE (Intel(R) HD Graphics 4600 Direct3D11 vs_5_0 ps_5_0)
GL_VERSION	OpenGL ES 3.0 (ANGLE 2.1.0.461d9a3060e3)
GL_EXTENSIONS	GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_pack_reverse_row_order GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_minmax GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_frag_depth GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_norm16 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object
Disabled Extensions	GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
Window system binding vendor	Google Inc. (adapter LUID: 00000000000079da)
Window system binding version	1.4 (ANGLE 2.1.0.461d9a3060e3)
Window system binding extensions	EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture_nv12 EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_EXT_pixel_format_float EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays
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
RG_88	Software only
BGR_565	Software only
RGBA_4444	Software only
RGBX_8888	Software only
RGBA_8888	Software only
BGRX_8888	Software only
BGRA_8888	Software only
YVU_420	Software only
YUV_420_BIPLANAR	Software only
UYVY_422	Software only
Diagnostics
0
b3DAccelerationEnabled	true
b3DAccelerationExists	true
bAGPEnabled	true
bAGPExistenceValid	true
bAGPExists	true
bCanRenderWindow	true
bDDAccelerationEnabled	true
bDriverBeta	false
bDriverDebug	false
bDriverSigned	false
bDriverSignedValid	false
bNoHardware	false
dwBpp	32
dwDDIVersion	12
dwHeight	1200
dwRefreshRate	59
dwWHQLLevel	0
dwWidth	1920
iAdapter	0
lDriverSize	39862848
lMiniVddSize	0
szAGPStatusEnglish	Enabled
szAGPStatusLocalized	Enabled
szChipType	Intel(R) HD Graphics Family
szD3DStatusEnglish	Enabled
szD3DStatusLocalized	Enabled
szDACType	Internal
szDDIVersionEnglish	12
szDDIVersionLocalized	12
szDDStatusEnglish	Enabled
szDDStatusLocalized	Enabled
szDXVAHDEnglish	Supported
szDXVAModes	ModeMPEG2_A ModeMPEG2_C ModeWMV9_C ModeVC1_C
szDescription	Intel(R) HD Graphics 4600
szDeviceId	0x0412
szDeviceIdentifier	{D7B78E66-4752-11CF-4A6A-1D24BAC2D935}
szDeviceName	\\.\DISPLAY1
szDisplayMemoryEnglish	2160 MB
szDisplayMemoryLocalized	2160 MB
szDisplayModeEnglish	1920 x 1200 (32 bit) (59Hz)
szDisplayModeLocalized	1920 x 1200 (32 bit) (59Hz)
szDriverAssemblyVersion	20.19.15.4531
szDriverAttributes	Final Retail
szDriverDateEnglish	2016-09-29 03:00:00
szDriverDateLocalized	9/29/2016 03:00:00
szDriverLanguageEnglish	English
szDriverLanguageLocalized	English
szDriverModelEnglish	WDDM 2.0
szDriverModelLocalized	WDDM 2.0
szDriverName	igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igd12umd64.dll
szDriverNodeStrongName	oem4.inf:5f63e534dd898f5e:iHSWD_w10:20.19.15.4531:pci\ven_8086&dev_0412
szDriverSignDate	Unknown
szDriverVersion	20.19.0015.4531
szKeyDeviceID	Enum\PCI\VEN_8086&DEV_0412&SUBSYS_04121849&REV_06
szKeyDeviceKey	\Registry\Machine\System\CurrentControlSet\Control\Video\{531E2E0C-CCEE-4F1A-ADA2-701A98F51D52}\0000
szManufacturer	Intel Corporation
szMiniVdd	unknown
szMiniVddDateEnglish	Unknown
szMiniVddDateLocalized	unknown
szMonitorMaxRes	Unknown
szMonitorName	Generic PnP Monitor
szNotesEnglish	No problems found.
szNotesLocalized	No problems found.
szOverlayEnglish	Supported
szRankOfInstalledDriver	00D12001
szRegHelpText	Unknown
szRevision	Unknown
szRevisionId	0x0006
szSubSysId	0x04121849
szTestResultD3D7English	Not run
szTestResultD3D7Localized	Not run
szTestResultD3D8English	Not run
szTestResultD3D8Localized	Not run
szTestResultD3D9English	Not run
szTestResultD3D9Localized	Not run
szTestResultDDEnglish	Not run
szTestResultDDLocalized	Not run
szVdd	unknown
szVendorId	0x8086
Log Messages
GpuProcessHostUIShim: The GPU process exited normally. Everything is okay.

I tried to drive access to chat room of reference WebRTC app with Selenium using "use-fake-ui-for-media-stream" as widely recommended.
 
Cc: ligim...@chromium.org
Components: Blink>WebRTC
Labels: Needs-Triage-M58

Comment 2 by guidou@chromium.org, May 16 2017

Components: -Internals>Media -Blink>WebRTC Blink>GetUserMedia

Comment 3 by guidou@chromium.org, May 17 2017

Owner: guidou@chromium.org
Status: Assigned (was: Unconfirmed)
Labels: Needs-Feedback
I could not reproduce on Mac or Linux stable (59) or Canary (61).

gennady.krasnikov@: have you tried on these platforms?
Can you try these versions on Windows?
Checked on win10 after upgrade to the last version:
"Version 59.0.3071.86 (Official Build) (64-bit)"
Problem persists.

It is interest that on one win10 machine Chrome says additionally: "You are using unsupported command line flag..."

Steps are the same:
1. run "chrome.exe --use-fake-ui-for-media-stream"
2. navigate to "https://appr.tc"
3. join channel

The same problem I also see on mac 10.12.5 and Chrome 59.0.3071.86 (Official).

Console output:
apprtc.debug.js:4574 0.571: Initializing; server= undefined.
apprtc.debug.js:4574 0.572: Initializing; room=undefined.
apprtc.debug.js:4574 9.907: Opening signaling channel.
apprtc.debug.js:4574 9.913: Error getting user media: 
apprtc.debug.js:4574 9.913: getUserMedia error: Failed to get access to local media. Error name was DevicesNotFoundError. Continuing without sending a stream.
It is very interest: now (Chrome 59) you can get this error without "--use-fake-ui-for-media-stream". Chrome started by the icon and navigated to "https://appr.tc" shows this error after "join" button press.
DevicesNotFoundErrors is an error you can get if there are no devices available to chrome.
Can you provide the output you get from https://guidou.github.io/enumdemo4.html?
I'm creating webrtc tests, so machines have audio devices.

At the same time I get error when I'm trying to join channel at "https://appr.tc",
and have no issues with sound for another webrtc example: https://webrtc.github.io/samples/src/content/peerconnection/audio/

"https://guidou.github.io/enumdemo4.html" app output is below:
===
Devices:
1 - audioinput - default - - 5a1611ff875928fc42021fbc8d55c47c29587bb13c3f0eb34288bd4d23a25b56
2 - audioinput - communications - - communications
3 - audioinput - a2aa79a1e83b4395fc92ae468aa04597b6e1d1e9ff36289fb63747b669055010 - - 5a1611ff875928fc42021fbc8d55c47c29587bb13c3f0eb34288bd4d23a25b56
4 - audioinput - 4c326d3aee47d1f843202e4b88594e677e3220f307a1d0a3935af9d5ee3c8a49 - - 67b9b0f4711e3fd1f34f1449e700927959358317428753eed471a3311dd3b72e
5 - audioinput - 0345584cc0db1b7643b74b26e1579534c9c3f2681a6c7a5a157b725d71549344 - - 5a1611ff875928fc42021fbc8d55c47c29587bb13c3f0eb34288bd4d23a25b56
6 - audiooutput - default - - 9b381ac39009479e8fd852b85e72c211aa384f51677c13db5dcb90c2ffe63b1e
7 - audiooutput - communications - - communications
8 - audiooutput - 832914399c8f9d52809a0898a55c7da53f6f153771c6df52ce4d6659976585f6 - - 5a1611ff875928fc42021fbc8d55c47c29587bb13c3f0eb34288bd4d23a25b56
9 - audiooutput - b7411818e9fcb777af7286f6f5203976b091c6ba346d1bdf3513c74fb6185bd1 - - 9b381ac39009479e8fd852b85e72c211aa384f51677c13db5dcb90c2ffe63b1e
10 - audiooutput - 1e608b1da402ef52d53558a6e8c60636a2dca5fc42d2bf5b3e2585c92ffffe7d - - 632244ea6afdc1d586f68c9d2be076669c132704d4edf0ddfa74db179fe226e3
11 - audiooutput - ae389d30ca67ea2ed422828cfd83f73bfae4158e6123eff00b880c16b7e5e0f0 - - 67b9b0f4711e3fd1f34f1449e700927959358317428753eed471a3311dd3b72e
===

The reason you're getting a DevicesNotFoundError is that you have no camera, but the getUserMedia call is requesting video.
Install a camera or use a fake one with use-fake-device-for-media-stream.

This behavior might be different from older Chrome versions because 59 is more spec compliant, so it was a bug if it worked in older versions.

I understood. 

It works for me with "no video" parameter from https://apprtc.appspot.com/params.html

No error with this URL:
https://appr.tc?audio=true&video=false

Thank you.
Status: WontFix (was: Assigned)

Sign in to add a comment