@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/{CcUOhEtj.js → BG1CcaM8.js} +1 -1
- package/{BK_nbWOA.js → DmG0degs.js} +1 -1
- package/cast-sender.d.ts +8 -0
- package/core.d.ts +8 -0
- package/core.js +1 -1
- package/legacy.d.ts +8 -0
- package/legacy.es.js +22 -17
- package/legacy.umd.js +3 -3
- package/package.json +1 -1
- package/player.d.ts +8 -0
- package/player.js +285 -284
- package/react.d.ts +8 -0
- package/{Dy3uKsWw.js → vDAUeqnu.js} +300 -295
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
|