@vindral/web-sdk 4.1.3 → 4.1.4-10-g067921a2

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/README.md CHANGED
@@ -46,6 +46,12 @@ Install @vindral/web-sdk using `npm`:
46
46
  npm install --save @vindral/web-sdk
47
47
  ```
48
48
 
49
+ or `pnpm`:
50
+
51
+ ```bash
52
+ pnpm install --save @vindral/web-sdk
53
+ ```
54
+
49
55
  or `yarn`:
50
56
 
51
57
  ```bash
package/cast-sender.d.ts CHANGED
@@ -245,6 +245,14 @@ interface Options {
245
245
  * This can be used to provide user options to limit the video bandwidth usage.
246
246
  */
247
247
  maxVideoBitRate?: number;
248
+ /**
249
+ * Initial maximum bit rate cap applied when first connecting to a channel.
250
+ * This helps prevent buffering on initial connection by starting at a conservative bitrate.
251
+ * The client will adapt to higher bitrates as bandwidth allows if ABR is enabled.
252
+ *
253
+ * Default is 2.5 Mbps (2500000 bits per second).
254
+ */
255
+ maxInitialBitRate?: number;
248
256
  /**
249
257
  * Controls video element background behaviour while loading.
250
258
  * - If `false`, a black background will be shown.
package/core.d.ts CHANGED
@@ -452,6 +452,14 @@ export interface Options {
452
452
  * This can be used to provide user options to limit the video bandwidth usage.
453
453
  */
454
454
  maxVideoBitRate?: number;
455
+ /**
456
+ * Initial maximum bit rate cap applied when first connecting to a channel.
457
+ * This helps prevent buffering on initial connection by starting at a conservative bitrate.
458
+ * The client will adapt to higher bitrates as bandwidth allows if ABR is enabled.
459
+ *
460
+ * Default is 2.5 Mbps (2500000 bits per second).
461
+ */
462
+ maxInitialBitRate?: number;
455
463
  /**
456
464
  * Controls video element background behaviour while loading.
457
465
  * - If `false`, a black background will be shown.
@@ -949,7 +957,6 @@ export type Statistics = ModuleStatistics & ReturnType<UserAgentInformation["get
949
957
  export declare class Vindral extends Emitter<PublicVindralEvents> {
950
958
  #private;
951
959
  private static MAX_POOL_SIZE;
952
- private static INITIAL_MAX_BIT_RATE;
953
960
  private static DISCONNECT_TIMEOUT;
954
961
  private static REMOVE_CUE_THRESHOLD;
955
962
  /**
package/core.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b as C, c as I, e as _, f as O, C as D, D as T, I as a, N as A, V as s, g as r } from "./DykhWWFG.js";
1
+ import { c as C, e as I, f as _, a as O, C as D, D as T, I as a, N as A, V as s, g as r } from "./HFu6nUfb.js";
2
2
  export {
3
3
  C as AUTHENTICATION_EXPIRED_CODE,
4
4
  I as AUTHENTICATION_FAILED_CODE,
package/legacy.d.ts CHANGED
@@ -455,6 +455,14 @@ export interface Options {
455
455
  * This can be used to provide user options to limit the video bandwidth usage.
456
456
  */
457
457
  maxVideoBitRate?: number;
458
+ /**
459
+ * Initial maximum bit rate cap applied when first connecting to a channel.
460
+ * This helps prevent buffering on initial connection by starting at a conservative bitrate.
461
+ * The client will adapt to higher bitrates as bandwidth allows if ABR is enabled.
462
+ *
463
+ * Default is 2.5 Mbps (2500000 bits per second).
464
+ */
465
+ maxInitialBitRate?: number;
458
466
  /**
459
467
  * Controls video element background behaviour while loading.
460
468
  * - If `false`, a black background will be shown.
@@ -964,7 +972,6 @@ export type Statistics = ModuleStatistics & ReturnType<UserAgentInformation["get
964
972
  export declare class Vindral extends Emitter<PublicVindralEvents> {
965
973
  #private;
966
974
  private static MAX_POOL_SIZE;
967
- private static INITIAL_MAX_BIT_RATE;
968
975
  private static DISCONNECT_TIMEOUT;
969
976
  private static REMOVE_CUE_THRESHOLD;
970
977
  /**