@whereby.com/assistant-sdk 1.2.16 → 1.2.17

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/dist/tools.d.ts CHANGED
@@ -1,22 +1,24 @@
1
1
  import { EventEmitter } from 'events';
2
- import { RemoteParticipantState } from '@whereby.com/core';
2
+ import { RemoteParticipantState, ScreenshareState } from '@whereby.com/core';
3
3
 
4
4
  declare class AudioMixer extends EventEmitter {
5
5
  private ffmpegProcess;
6
6
  private combinedAudioStream;
7
7
  private rtcAudioSource;
8
- private participantSlots;
8
+ private mixableSlots;
9
9
  private activeSlots;
10
10
  private mixer;
11
11
  constructor();
12
12
  private setupMediaStream;
13
+ private slotForMixable;
14
+ private slotsByType;
15
+ private acquireSlot;
16
+ private attachMixableIfNeeded;
17
+ private detachMixable;
13
18
  getCombinedAudioStream(): MediaStream | null;
14
19
  handleRemoteParticipants(participants: RemoteParticipantState[]): void;
20
+ handleScreenshares(screenshares: ScreenshareState[]): void;
15
21
  stopAudioMixer(): void;
16
- private slotForParticipant;
17
- private acquireSlot;
18
- private attachParticipantIfNeeded;
19
- private detachParticipant;
20
22
  }
21
23
 
22
24
  export { AudioMixer };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@whereby.com/assistant-sdk",
3
3
  "description": "Assistant SDK for whereby.com",
4
4
  "author": "Whereby AS",
5
- "version": "1.2.16",
5
+ "version": "1.2.17",
6
6
  "license": "MIT",
7
7
  "files": [
8
8
  "dist",