godot/platform/web
Fabio Alessandrelli 9d329f54c0 [Web] Restore ScriptProcessorNode audio driver fallback
Godot has a ScriptProcessorNode audio driver implementation for the
(deprecated) Web API.

As reported by some users, this fallback was not properly re-added
during the Godot 4 transition, and was left as "dead code".

While the API is deprecated, it is still supported by most browsers, and
some WebView may not implement AudioWorklet correctly (the new
recommended API).

This commit re-adds the ScriptProcessorNode implementation as a fallback
if the AudioWorklet driver fails to initialized (and can be forced if
desired via project settings as usual).
2024-12-10 18:22:03 +01:00
..
api [Web] Fix Web Editor plugin being added to SCons multiple times 2024-11-18 18:34:29 +01:00
doc_classes
editor [Web] Fix Web Editor plugin being added to SCons multiple times 2024-11-18 18:34:29 +01:00
export Merge pull request #99044 from Sticksman/bug-fix-98873 2024-11-22 14:54:41 -06:00
js [Web] Restore ScriptProcessorNode audio driver fallback 2024-12-10 18:22:03 +01:00
audio_driver_web.cpp [Web] Restore ScriptProcessorNode audio driver fallback 2024-12-10 18:22:03 +01:00
audio_driver_web.h [Web] Restore ScriptProcessorNode audio driver fallback 2024-12-10 18:22:03 +01:00
detect.py [Web] Disable UNIX sockets 2024-11-13 10:28:08 +01:00
display_server_web.cpp [DisplayServer] Add feature flag for native file dialog access to user/res and options 2024-10-30 14:13:43 +05:30
display_server_web.h [Web] Remove warnings when setting vsync mode and screen keep on 2024-11-07 14:06:34 -05:00
dom_keys.inc
emscripten_helpers.py Merge pull request #98901 from adamscott/add-editor-ensure-crossorigin-isolation-headers 2024-11-27 10:47:13 -06:00
eslint.config.cjs
godot_audio.h
godot_js.h
godot_webgl2.h
http_client_web.cpp
http_client_web.h
javascript_bridge_singleton.cpp Add JavaScriptBridge buffer methods 2024-09-16 12:13:34 -04:00
os_web.cpp [Web] Restore ScriptProcessorNode audio driver fallback 2024-12-10 18:22:03 +01:00
os_web.h
package-lock.json Update JavaScript/Java plugins to solve known vulnerabilities 2024-11-12 16:06:35 +01:00
package.json Update JavaScript/Java plugins to solve known vulnerabilities 2024-11-12 16:06:35 +01:00
platform_config.h
platform_gl.h
README.md
SCsub Merge pull request #99044 from Sticksman/bug-fix-98873 2024-11-22 14:54:41 -06:00
serve.py
web_main.cpp [Web] Fix Web Editor plugin being added to SCons multiple times 2024-11-18 18:34:29 +01:00
web_runtime.cpp

Web platform port

This folder contains the C++ and JavaScript code for the Web platform port, compiled using Emscripten.

It also contains a ESLint linting setup (see package.json).

See also misc/dist/html folder for additional files used by this platform such as the html shell (web page).

Documentation

Artwork license

logo.png and run_icon.png are licensed under Creative Commons Attribution 3.0 Unported per the HTML5 logo usage guidelines.