@vindral/web-sdk 4.1.5-4-g2cb8ae2c → 4.1.5-6-g385d5a4e

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/react.d.ts CHANGED
@@ -453,6 +453,14 @@ interface Options {
453
453
  * Whether to start the player muted or to try to start playing audio automatically.
454
454
  */
455
455
  muted?: boolean;
456
+ /**
457
+ * Initial volume level for the player. A floating point value between 0-1.
458
+ * Default is 1 (100% volume).
459
+ *
460
+ * Note: Volume cannot be set on iOS devices due to system restrictions.
461
+ * The volume property is not settable in JavaScript on iOS, and reading it always returns 1.
462
+ */
463
+ volume?: number;
456
464
  /**
457
465
  * Provide a custom reconnect handler to control when the instance should stop trying to
458
466
  * reconnect. The reconnect handler should either return true to allow the reconnect or