@abrar71/lib-jitsi-meet 2116.0.0 → 2118.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abrar71/lib-jitsi-meet",
3
- "version": "2116.0.0",
3
+ "version": "2118.0.0",
4
4
  "description": "JS library for accessing Jitsi server side deployments",
5
5
  "repository": {
6
6
  "type": "git",
package/types/index.d.ts CHANGED
@@ -5453,6 +5453,9 @@ declare module "modules/e2ee/ExternallyManagedKeyHandler" {
5453
5453
  }
5454
5454
  declare module "modules/e2ee/E2EEErrors" {
5455
5455
  export enum E2EEErrors {
5456
+ E2EE_OLM_NO_ONE_TIME_KEYS = "e2ee.olm.no-one-time-keys",
5457
+ E2EE_OLM_SESSION_ALREADY_EXISTS = "e2ee.olm.session-already-exists",
5458
+ E2EE_OLM_SESSION_INIT_PENDING = "e2ee.olm.session-init-pending",
5456
5459
  E2EE_SAS_CHANNEL_VERIFICATION_FAILED = "e2ee.sas.channel-verification-failed",
5457
5460
  E2EE_SAS_COMMITMENT_MISMATCHED = "e2ee.sas.commitment-mismatched",
5458
5461
  E2EE_SAS_INVALID_SAS_VERIFICATION = "e2ee.sas.invalid-sas-verification",
@@ -5511,6 +5514,7 @@ declare module "modules/e2ee/OlmAdapter" {
5511
5514
  _mediaKeyIndex: number;
5512
5515
  _reqs: Map<any, any>;
5513
5516
  _sessionInitialization: Deferred<any>;
5517
+ _sessionReadyCallbacks: Map<any, any>;
5514
5518
  /**
5515
5519
  * Returns the current participants conference ID.
5516
5520
  *
@@ -5518,7 +5522,9 @@ declare module "modules/e2ee/OlmAdapter" {
5518
5522
  */
5519
5523
  get myId(): string;
5520
5524
  /**
5521
- * Starts new olm sessions with every other participant that has the participantId "smaller" the localParticipantId.
5525
+ * Starts new olm sessions with every other participant and waits for all sessions to be established.
5526
+ * This includes both outgoing sessions (initiated by us to participants with higher IDs) and
5527
+ * incoming sessions (initiated by participants with lower IDs).
5522
5528
  */
5523
5529
  initSessions(): Promise<void>;
5524
5530
  /**
@@ -5536,7 +5542,7 @@ declare module "modules/e2ee/OlmAdapter" {
5536
5542
  */
5537
5543
  updateCurrentMediaKey(key: Uint8Array | boolean): number;
5538
5544
  /**
5539
- * Frees the olmData session for the given participant.
5545
+ * Frees the olmData session for the given participant and clears all session-related state.
5540
5546
  *
5541
5547
  */
5542
5548
  clearParticipantSession(participant: any): void;
@@ -12447,6 +12453,7 @@ declare module "modules/qualitycontrol/QualityController" {
12447
12453
  private _limitedByCpuTimeout;
12448
12454
  private _receiveVideoController;
12449
12455
  private _sendVideoController;
12456
+ private _timer;
12450
12457
  /**
12451
12458
  *
12452
12459
  * @param {JitsiConference} conference - The JitsiConference instance.
@@ -12525,6 +12532,11 @@ declare module "modules/qualitycontrol/QualityController" {
12525
12532
  * Gets the send video controller instance.
12526
12533
  */
12527
12534
  get sendVideoController(): SendVideoController;
12535
+ /**
12536
+ * Cleans up the QualityController by clearing all active timeouts and disposing of controllers.
12537
+ * This prevents memory leaks and ensures proper cleanup when the controller is no longer needed.
12538
+ */
12539
+ dispose(): void;
12528
12540
  }
12529
12541
  }
12530
12542
  declare module "modules/recording/RecordingManager" {
@@ -15190,7 +15202,7 @@ declare module "modules/webaudio/AudioMixer" {
15190
15202
  }
15191
15203
  }
15192
15204
  declare module "version" {
15193
- export const COMMIT_HASH = "40ad2744";
15205
+ export const COMMIT_HASH = "67fd2c84";
15194
15206
  }
15195
15207
  declare module "JitsiMeetJS" {
15196
15208
  import JitsiConference, { IConferenceOptions } from "JitsiConference";