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