@4players/odin-plugin-web 1.9.5 → 1.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -26,6 +26,14 @@ export interface WebPluginOptions {
26
26
  * Skip registering the beforeunload handler that auto-closes the plugin on page unload
27
27
  */
28
28
  disableBeforeUnload?: boolean;
29
+ /**
30
+ * Enable an HTMLAudioElement-based output-device fallback on browsers that
31
+ * lack AudioContext.setSinkId (Firefox, Safari). The fallback works but
32
+ * routes audio through an extra <audio> element which can degrade playback
33
+ * performance. Disabled by default: on those browsers, output device
34
+ * selection is a no-op.
35
+ */
36
+ enableHTMLAudioElementFallback?: boolean;
29
37
  }
30
38
  export declare const SESSION_ID: string;
31
39
  export interface WebPlugin extends Backend.Plugin {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4players/odin-plugin-web",
3
- "version": "1.9.5",
3
+ "version": "1.9.7",
4
4
  "description": "A backend plugin providing the custom WebAssembly audio processing module for ODIN web clients",
5
5
  "homepage": "https://www.4players.io",
6
6
  "repository": {