I'm trying to develop a HTML5 kiosk application with phpdesktop gui on Windows 10.
I can run the app fullscreen but still cannot access the webcam, nor I'm prompted for allowing access to device. On a XAMPP localhost it works fine, it justs asks for permission to access the webcam once. In Phpdesktop, no way to get it work (and no errors in console).
I basically will need never to be prompted to allow access to device, but as of now it would be good enough to just have it work on PHPDesktopGUI.
Any ideas why it may not work ?
Thanks in advance,
Carlo
thanks for your answer.
Tried with 39 RC but still I cannot access the webcam. Still no error in console either.
Here's my JSON settings if it might help :
{
"application": {
"single_instance_guid": "",
"dpi_aware": true
},
"debugging": {
"show_console": true,
"subprocess_show_console": false,
"log_level": "DEBUG4",
"log_file": "debug.log"
},
"main_window": {
"title": "PHP Desktop Chrome",
"icon": "",
"default_size": [1024, 768],
"minimum_size": [800, 600],
"maximum_size": [0, 0],
"disable_maximize_button": false,
"center_on_screen": true,
"start_maximized": true,
"start_fullscreen": true,
"kiosk": true
},
"popup_window": {
"icon": "",
"fixed_title": "",
"center_relative_to_parent": true,
"default_size": [1024, 768]
},
"web_server": {
"listen_on": ["127.0.0.1", 0],
"www_directory": "www",
"index_files": ["index.html", "index.php"],
"cgi_interpreter": "php/php-cgi.exe",
"cgi_extensions": ["php"],
"cgi_temp_dir": "",
"404_handler": "/pretty-urls.php"
},
"chrome": {
"log_file": "debug.log",
"log_severity": "default",
"cache_path": "webcache",
"external_drag": true,
"external_navigation": true,
"reload_page_F5": true,
"devtools_F12": true,
"remote_debugging_port": 0,
"enable_downloads": true,
"kiosk_enabled": true,
"kiosk_only": true,
"context_menu": {
"enable_menu": true,
"navigation": true,
"print": true,
"view_source": true,
"open_in_external_browser": true,
"devtools": true
},
"command_line_switches": {
"enable-media-stream": ""
}
}
}
-------------
I've also tried "enable-media-stream": true without success.
Any ideas ?
Thanks in advance