livekit-client 2.0.9 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. package/dist/livekit-client.e2ee.worker.js +1 -1
  2. package/dist/livekit-client.e2ee.worker.js.map +1 -1
  3. package/dist/livekit-client.e2ee.worker.mjs +203 -140
  4. package/dist/livekit-client.e2ee.worker.mjs.map +1 -1
  5. package/dist/livekit-client.esm.mjs +3792 -6746
  6. package/dist/livekit-client.esm.mjs.map +1 -1
  7. package/dist/livekit-client.umd.js +1 -1
  8. package/dist/livekit-client.umd.js.map +1 -1
  9. package/dist/src/api/SignalClient.d.ts +2 -1
  10. package/dist/src/api/SignalClient.d.ts.map +1 -1
  11. package/dist/src/connectionHelper/ConnectionCheck.d.ts +3 -2
  12. package/dist/src/connectionHelper/ConnectionCheck.d.ts.map +1 -1
  13. package/dist/src/e2ee/worker/FrameCryptor.d.ts.map +1 -1
  14. package/dist/src/index.d.ts +3 -2
  15. package/dist/src/index.d.ts.map +1 -1
  16. package/dist/src/room/RTCEngine.d.ts +1 -0
  17. package/dist/src/room/RTCEngine.d.ts.map +1 -1
  18. package/dist/src/room/events.d.ts +5 -1
  19. package/dist/src/room/events.d.ts.map +1 -1
  20. package/dist/src/room/participant/LocalParticipant.d.ts +1 -0
  21. package/dist/src/room/participant/LocalParticipant.d.ts.map +1 -1
  22. package/dist/src/room/participant/publishUtils.d.ts.map +1 -1
  23. package/dist/src/room/stats.d.ts +6 -3
  24. package/dist/src/room/stats.d.ts.map +1 -1
  25. package/dist/src/room/track/LocalAudioTrack.d.ts +7 -0
  26. package/dist/src/room/track/LocalAudioTrack.d.ts.map +1 -1
  27. package/dist/src/room/track/LocalTrack.d.ts.map +1 -1
  28. package/dist/src/room/track/LocalTrackPublication.d.ts +3 -2
  29. package/dist/src/room/track/LocalTrackPublication.d.ts.map +1 -1
  30. package/dist/src/room/track/LocalVideoTrack.d.ts.map +1 -1
  31. package/dist/src/room/track/Track.d.ts +2 -1
  32. package/dist/src/room/track/Track.d.ts.map +1 -1
  33. package/dist/src/room/track/options.d.ts +1 -1
  34. package/dist/src/room/track/options.d.ts.map +1 -1
  35. package/dist/src/room/utils.d.ts +3 -0
  36. package/dist/src/room/utils.d.ts.map +1 -1
  37. package/dist/ts4.2/src/api/SignalClient.d.ts +2 -1
  38. package/dist/ts4.2/src/connectionHelper/ConnectionCheck.d.ts +3 -2
  39. package/dist/ts4.2/src/index.d.ts +3 -2
  40. package/dist/ts4.2/src/room/RTCEngine.d.ts +1 -0
  41. package/dist/ts4.2/src/room/events.d.ts +5 -1
  42. package/dist/ts4.2/src/room/participant/LocalParticipant.d.ts +1 -0
  43. package/dist/ts4.2/src/room/stats.d.ts +6 -3
  44. package/dist/ts4.2/src/room/track/LocalAudioTrack.d.ts +7 -0
  45. package/dist/ts4.2/src/room/track/LocalTrackPublication.d.ts +3 -2
  46. package/dist/ts4.2/src/room/track/Track.d.ts +2 -1
  47. package/dist/ts4.2/src/room/track/options.d.ts +1 -1
  48. package/dist/ts4.2/src/room/utils.d.ts +3 -0
  49. package/package.json +10 -10
  50. package/src/api/SignalClient.ts +9 -0
  51. package/src/connectionHelper/ConnectionCheck.ts +6 -3
  52. package/src/e2ee/worker/FrameCryptor.ts +0 -1
  53. package/src/e2ee/worker/e2ee.worker.ts +3 -1
  54. package/src/index.ts +3 -0
  55. package/src/room/RTCEngine.ts +11 -1
  56. package/src/room/events.ts +5 -0
  57. package/src/room/participant/LocalParticipant.ts +14 -0
  58. package/src/room/participant/publishUtils.ts +2 -1
  59. package/src/room/stats.ts +9 -3
  60. package/src/room/track/LocalAudioTrack.ts +40 -0
  61. package/src/room/track/LocalTrack.ts +4 -2
  62. package/src/room/track/LocalTrackPublication.ts +28 -2
  63. package/src/room/track/LocalVideoTrack.ts +16 -7
  64. package/src/room/track/Track.ts +13 -0
  65. package/src/room/track/options.ts +22 -1
  66. package/src/room/utils.ts +3 -0
@@ -1,4 +1,4 @@
1
- import { AddTrackRequest, ConnectionQualityUpdate, JoinResponse, LeaveRequest, ParticipantInfo, ReconnectReason, ReconnectResponse, Room, SessionDescription, SignalRequest, SignalTarget, SimulateScenario, SpeakerInfo, StreamStateUpdate, SubscribedQualityUpdate, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TrackPermission, TrackPublishedResponse, TrackUnpublishedResponse, UpdateSubscription, UpdateTrackSettings, VideoLayer } from '@livekit/protocol';
1
+ import { AddTrackRequest, AudioTrackFeature, ConnectionQualityUpdate, JoinResponse, LeaveRequest, ParticipantInfo, ReconnectReason, ReconnectResponse, Room, SessionDescription, SignalRequest, SignalTarget, SimulateScenario, SpeakerInfo, StreamStateUpdate, SubscribedQualityUpdate, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TrackPermission, TrackPublishedResponse, TrackUnpublishedResponse, UpdateSubscription, UpdateTrackSettings, VideoLayer } from '@livekit/protocol';
2
2
  import type { LoggerOptions } from '../room/types';
3
3
  import { AsyncQueue } from '../utils/AsyncQueue';
4
4
  interface ConnectOpts extends SignalOptions {
@@ -87,6 +87,7 @@ export declare class SignalClient {
87
87
  sendUpdateSubscriptionPermissions(allParticipants: boolean, trackPermissions: TrackPermission[]): Promise<void>;
88
88
  sendSimulateScenario(scenario: SimulateScenario): Promise<void>;
89
89
  sendPing(): Promise<[void, void]>;
90
+ sendUpdateLocalAudioTrack(trackSid: string, features: AudioTrackFeature[]): Promise<void>;
90
91
  sendLeave(): Promise<void>;
91
92
  sendRequest(message: SignalMessage, fromQueue?: boolean): Promise<void>;
92
93
  private handleSignalResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"SignalClient.d.ts","sourceRoot":"","sources":["../../../src/api/SignalClient.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAEf,uBAAuB,EAEvB,YAAY,EACZ,YAAY,EAEZ,eAAe,EAEf,eAAe,EACf,iBAAiB,EACjB,IAAI,EACJ,kBAAkB,EAClB,aAAa,EAEb,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,iBAAiB,EACjB,uBAAuB,E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QAAQ;IAiBR,yBAAyB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,iBAAiB,EAAE;IAOzE,SAAS;IAUH,WAAW,CAAC,OAAO,EAAE,aAAa,EAAE,SAAS,GAAE,OAAe;IAqCpE,OAAO,CAAC,oBAAoB;IAyF5B,cAAc;YASA,aAAa;IAU3B,OAAO,CAAC,aAAa;IAIrB;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IAiBxB;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAMxB,OAAO,CAAC,iBAAiB;IAazB,OAAO,CAAC,iBAAiB;CAO1B;AAoBD,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,qBAAqB,GAAG,yBAAyB,GACrD,kBAAkB,CAMpB"}
@@ -1,13 +1,14 @@
1
1
  import type TypedEmitter from 'typed-emitter';
2
+ import type { CheckInfo, CheckerOptions, InstantiableCheck } from './checks/Checker';
2
3
  import { CheckStatus, Checker } from './checks/Checker';
3
- import type { CheckInfo, InstantiableCheck } from './checks/Checker';
4
4
  export type { CheckInfo, CheckStatus };
5
5
  declare const ConnectionCheck_base: new () => TypedEmitter<ConnectionCheckCallbacks>;
6
6
  export declare class ConnectionCheck extends ConnectionCheck_base {
7
7
  token: string;
8
8
  url: string;
9
+ options: CheckerOptions;
9
10
  private checkResults;
10
- constructor(url: string, token: string);
11
+ constructor(url: string, token: string, options?: CheckerOptions);
11
12
  private getNextCheckId;
12
13
  private updateCheck;
13
14
  isSuccess(): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ConnectionCheck.d.ts","sourceRoot":"","sources":["../../../src/connectionHelper/ConnectionCheck.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,YAAY,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAQrE,YAAY,EAAE,SAAS,EAA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UAAU,GAAG,MAAM,EAAE,CA0B5D;AAED,wBAAgB,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,QAAQ,CAEzD;AAID,oBAAY,QAAQ;IAClB,uCAAuC;IACvC,aAAa,IAAI;IACjB,mCAAmC;IACnC,iBAAiB,IAAI;IACrB,mCAAmC;IACnC,iBAAiB,IAAI;IACrB,mCAAmC;IACnC,iBAAiB,IAAI;IACrB,oCAAoC;IACpC,SAAS,IAAI;IACb,2CAA2C;IAC3C,GAAG,IAAI;IACP,6BAA6B;IAC7B,GAAG,IAAI;IACP,4BAA4B;IAC5B,GAAG,IAAI;IACP,4BAA4B;IAC5B,GAAG,IAAI;IACP,sBAAsB;IACtB,OAAO,KAAK;IACZ,oBAAoB;IACpB,UAAU,KAAK;IACf,kBAAkB;IAClB,WAAW,KAAK;IAChB,uCAAuC;IACvC,OAAO,KAAK;IACZ,sBAAsB;IACtB,WAAW,KAAK;IAChB,oCAAoC;IACpC,UAAU,KAAK;IACf,0BAA0B;IAC1B,GAAG,KAAK;IAIR,qEAAqE;IACrE,SAAS,KAAK;IACd,4BAA4B;IAC5B,SAAS,KAAK;IACd,0FAA0F;IAC1F,eAAe,KAAK;CAGrB;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,GAAG,OAAO,CAQ/F"}
@@ -19,9 +19,10 @@ import RemoteVideoTrack from './room/track/RemoteVideoTrack';
19
19
  import { TrackPublication } from './room/track/TrackPublication';
20
20
  import type { LiveKitReactNativeInfo } from './room/types';
21
21
  import type { AudioAnalyserOptions } from './room/utils';
22
- import { createAudioAnalyser, getEmptyAudioStreamTrack, getEmptyVideoStreamTrack, isBrowserSupported, supportsAV1, supportsAdaptiveStream, supportsDynacast, supportsVP9 } from './room/utils';
22
+ import { Mutex, createAudioAnalyser, getEmptyAudioStreamTrack, getEmptyVideoStreamTrack, isBrowserSupported, supportsAV1, supportsAdaptiveStream, supportsDynacast, supportsVP9 } from './room/utils';
23
23
  import { getBrowser } from './utils/browserParser';
24
24
  export * from './connectionHelper/ConnectionCheck';
25
+ export * from './connectionHelper/checks/Checker';
25
26
  export * from './e2ee';
26
27
  export * from './options';
27
28
  export * from './room/errors';
@@ -34,6 +35,6 @@ export * from './room/track/processor/types';
34
35
  export * from './room/track/types';
35
36
  export type { DataPublishOptions, SimulationScenario } from './room/types';
36
37
  export * from './version';
37
- export { ConnectionQuality, ConnectionState, CriticalTimers, DataPacket_Kind, DefaultReconnectPolicy, DisconnectReason, LocalAudioTrack, LocalParticipant, LocalTrack, LocalTrackPublication, LocalVideoTrack, LogLevel, LoggerNames, Participant, RemoteAudioTrack, RemoteParticipant, RemoteTrack, RemoteTrackPublication, RemoteVideoTrack, Room, SubscriptionError, TrackPublication, createAudioAnalyser, getBrowser, getEmptyAudioStreamTrack, getEmptyVideoStreamTrack, getLogger, isBrowserSupported, setLogExtension, setLogLevel, supportsAV1, supportsAdaptiveStream, supportsDynacast, supportsVP9, };
38
+ export { ConnectionQuality, ConnectionState, CriticalTimers, DataPacket_Kind, DefaultReconnectPolicy, DisconnectReason, LocalAudioTrack, LocalParticipant, LocalTrack, LocalTrackPublication, LocalVideoTrack, LogLevel, LoggerNames, Participant, RemoteAudioTrack, RemoteParticipant, RemoteTrack, RemoteTrackPublication, RemoteVideoTrack, Room, SubscriptionError, TrackPublication, createAudioAnalyser, getBrowser, getEmptyAudioStreamTrack, getEmptyVideoStreamTrack, getLogger, isBrowserSupported, setLogExtension, setLogLevel, supportsAV1, supportsAdaptiveStream, supportsDynacast, supportsVP9, Mutex, };
38
39
  export type { AudioAnalyserOptions, ElementInfo, LiveKitReactNativeInfo, ParticipantTrackPermission, };
39
40
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM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qB,CAAC;AACpC,OAAO,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAC9F,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAC3E,cAAc,WAAW,CAAC;AAC1B,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,UAAU,EACV,qBAAqB,EACrB,eAAe,EACf,QAAQ,EACR,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,WAAW,EACX,sBAAsB,EACtB,gBAAgB,EAChB,IAAI,EACJ,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,UAAU,EACV,wBAAwB,EACxB,wBAAwB,EACxB,SAAS,EACT,kBAAkB,EAClB,eAAe,EACf,WAAW,EACX,WAAW,EACX,sBAAsB,EACtB,gBAAgB,EAChB,WAAW,EACX,KAAK,GACN,CAAC;AACF,YAAY,EACV,oBAAoB,EACpB,WAAW,EACX,sBAAsB,EACtB,0BAA0B,GAC3B,CAAC"}
@@ -57,6 +57,7 @@ export default class RTCEngine extends RTCEngine_base {
57
57
  private regionUrlProvider?;
58
58
  private log;
59
59
  private loggerOptions;
60
+ private publisherConnectionPromise;
60
61
  constructor(options: InternalRoomOptions);
61
62
  /** @internal */
62
63
  get logContext(): {
@@ -1 +1 @@
1
- {"version":3,"file":"RTCEngine.d.ts","sourceRoot":"","sources":["../../../src/room/RTCEngine.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,eAAe,EAGpB,KAAK,uBAAuB,EAE5B,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,KAAK,YAAY,EAEjB,eAAe,EAGf,IAAI,IAAI,SAAS,EAEjB,WAAW,EACX,KAAK,iBAA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AE,CAAC,mBAAmB,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAC/E,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACvD,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC"}
@@ -495,6 +495,10 @@ export declare enum TrackEvent {
495
495
  /**
496
496
  * @internal
497
497
  */
498
- TrackProcessorUpdate = "trackProcessorUpdate"
498
+ TrackProcessorUpdate = "trackProcessorUpdate",
499
+ /**
500
+ * @internal
501
+ */
502
+ AudioTrackFeatureUpdate = "audioTrackFeatureUpdate"
499
503
  }
500
504
  //# sourceMappingURL=events.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/room/events.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,oBAAY,SAAS;IACnB;;OAEG;IACH,SAAS,cAAc;IAEvB;;;OAGG;IACH,YAAY,iBAAiB;IAE7B;;OAEG;IACH,WAAW,gBAAgB;IAE3B;;;;;;;;;;OAUG;IACH,YAAY,iBAAiB;IAE7B;;;;OAIG;IACH,sBAAsB,2BAA2B;IAEjD;;OAEG;IACH,mBAAmB,wBAAwB;IAE3C;;;;;;OAMG;IACH,oBAAoB,yBAAyB;IAE7C;;;;;OAKG;IACH,uBAAuB,4BAA4B;IAEnD;;;;;;;;OAQG;IACH,cAAc,mBAAmB;IAEjC;;;;;OAKG;IACH,eAAe,oBAAoB;IAEnC;;;;OAIG;IACH,uBAAuB,4BAA4B;IAEnD;;;;OAIG;IACH,gBAAgB,qBAAqB;IAErC;;;;;OAKG;IACH,iBAAiB,sBAAsB;IAEvC;;;;OAIG;IACH,UAAU,eAAe;IAEzB;;;;OAIG;IACH,YAAY,iBAAiB;IAE7B;;;;;OAKG;IACH,mBAAmB,wBAAwB;IAE3C;;;;;;;;OAQG;IACH,qBAAqB,0BAA0B;IAE/C;;;;;OAKG;IACH,yBAAyB,8BAA8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AoB,yBAAyB;IAC7C,gBAAgB;IAChB,mBAAmB,wBAAwB;IAC3C;;;OAGG;IACH,oBAAoB,yBAAyB;IAC7C,gBAAgB;IAChB,iBAAiB,sBAAsB;IACvC,gBAAgB;IAChB,sBAAsB,2BAA2B;IACjD,gBAAgB;IAChB,oBAAoB,yBAAyB;IAC7C,gBAAgB;IAChB,mBAAmB,wBAAwB;IAC3C,gBAAgB;IAChB,eAAe,oBAAoB;IACnC,gBAAgB;IAChB,eAAe,oBAAoB;IACnC;;;OAGG;IACH,cAAc,mBAAmB;IACjC;;;OAGG;IACH,eAAe,oBAAoB;IACnC;;;OAGG;IACH,6BAA6B,kCAAkC;IAC/D;;OAEG;IACH,yBAAyB,8BAA8B;IACvD;;OAEG;IACH,kBAAkB,uBAAuB;IACzC;;OAEG;IACH,oBAAoB,yBAAyB;IAE7C;;OAEG;IACH,uBAAuB,4BAA4B;CACpD"}
@@ -152,6 +152,7 @@ export default class LocalParticipant extends Participant {
152
152
  private onTrackMuted;
153
153
  private onTrackUpstreamPaused;
154
154
  private onTrackUpstreamResumed;
155
+ private onTrackFeatureUpdate;
155
156
  private handleSubscribedQualityUpdate;
156
157
  private handleLocalTrackUnpublished;
157
158
  private handleTrackEnded;
@@ -1 +1 @@
1
- {"version":3,"file":"LocalParticipant.d.ts","sourceRoot":"","sources":["../../../../src/room/participant/LocalParticipant.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,eAAe,EACf,qBAAqB,EAKtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEzD,OAAO,KAAK,SAAS,MAAM,cAAc,CAAC;AAK1C,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAC7C,OAAO,qBAAqB,MAAM,gCAAgC,CAAC;AAEnE,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,KAAK,EACV,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,EACxB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,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,GAAG,SAAS,6BAelE;AAED,gBAAgB;AAChB,qBAAa,eAAe;IAC1B,OAAO,EAAE,MAAM,CAAC;IAEhB,QAAQ,EAAE,MAAM,CAAC;IAEjB,MAAM,EAAE,SAAS,GAAG,GAAG,GAAG,MAAM,GAAG,YAAY,CAAC;gBAEpC,eAAe,EAAE,MAAM;IAkBnC,QAAQ,IAAI,MAAM;CAGnB"}
@@ -25,10 +25,13 @@ export interface VideoSenderStats extends SenderStats {
25
25
  rid: string;
26
26
  frameWidth: number;
27
27
  frameHeight: number;
28
+ framesPerSecond: number;
28
29
  framesSent: number;
29
- qualityLimitationReason: string;
30
- qualityLimitationResolutionChanges: number;
31
- retransmittedPacketsSent: number;
30
+ qualityLimitationReason?: string;
31
+ qualityLimitationDurations?: Record<string, number>;
32
+ qualityLimitationResolutionChanges?: number;
33
+ retransmittedPacketsSent?: number;
34
+ targetBitrate: number;
32
35
  }
33
36
  interface ReceiverStats {
34
37
  jitterBufferDelay?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../../src/room/stats.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,OAAO,CAAC;AAGrC,UAAU,WAAW;IACnB,6BAA6B;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,oCAAoC;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,sCAAsC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,6BAA6B;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IACnD,IAAI,EAAE,OAAO,CAAC;CACf;AAED,MAAM,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M,CAAC;CACnB;AAED,wBAAgB,cAAc,CAAC,CAAC,SAAS,aAAa,GAAG,WAAW,EAClE,YAAY,EAAE,CAAC,EACf,SAAS,CAAC,EAAE,CAAC,GACZ,MAAM,CAsBR"}
@@ -8,7 +8,12 @@ export default class LocalAudioTrack extends LocalTrack<Track.Kind.Audio> {
8
8
  /** @internal */
9
9
  stopOnMute: boolean;
10
10
  private prevStats?;
11
+ private isKrispNoiseFilterEnabled;
11
12
  protected processor?: TrackProcessor<Track.Kind.Audio, AudioProcessorOptions> | undefined;
13
+ /**
14
+ * boolean indicating whether enhanced noise cancellation is currently being used on this track
15
+ */
16
+ get enhancedNoiseCancellation(): boolean;
12
17
  /**
13
18
  *
14
19
  * @param mediaTrack
@@ -23,6 +28,8 @@ export default class LocalAudioTrack extends LocalTrack<Track.Kind.Audio> {
23
28
  protected restart(constraints?: MediaTrackConstraints): Promise<typeof this>;
24
29
  startMonitor(): void;
25
30
  protected monitorSender: () => Promise<void>;
31
+ private handleKrispNoiseFilterEnable;
32
+ private handleKrispNoiseFilterDisable;
26
33
  setProcessor(processor: TrackProcessor<Track.Kind.Audio, AudioProcessorOptions>): Promise<void>;
27
34
  /**
28
35
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"LocalAudioTrack.d.ts","sourceRoot":"","sources":["../../../../src/room/track/LocalAudioTrack.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAG/E,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,UAAU,CAAC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IAUJ;;;;;QAKI;IACE,aAAa;IAwBb,cAAc;IAoBpB;;;;;OAKG;IACG,iBAAiB,IAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC;IAQ9D;;;;;;;;;OASG;IACG,YAAY,CAAC,SAAS,EAAE,cAAc,CAAC,SAAS,CAAC,EAAE,0BAA0B,UAAO;IA+C1F,YAAY;IAIZ;;;;;;OAMG;IACG,aAAa;IAgBnB,SAAS,CAAC,QAAQ,CAAC,aAAa,IAAI,IAAI;CACzC"}
@@ -1,6 +1,6 @@
1
- import type { TrackInfo } from '@livekit/protocol';
1
+ import { AudioTrackFeature, TrackInfo } from '@livekit/protocol';
2
2
  import type { LoggerOptions } from '../types';
3
- import type LocalAudioTrack from './LocalAudioTrack';
3
+ import LocalAudioTrack from './LocalAudioTrack';
4
4
  import type LocalTrack from './LocalTrack';
5
5
  import type LocalVideoTrack from './LocalVideoTrack';
6
6
  import type { Track } from './Track';
@@ -34,6 +34,7 @@ export default class LocalTrackPublication extends TrackPublication {
34
34
  * and signals "unmuted" event to other participants (unless the track is explicitly muted)
35
35
  */
36
36
  resumeUpstream(): Promise<void>;
37
+ getTrackFeatures(): AudioTrackFeature[];
37
38
  handleTrackEnded: () => void;
38
39
  }
39
40
  //# sourceMappingURL=LocalTrackPublication.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LocalTrackPublication.d.ts","sourceRoot":"","sources":["../../../../src/room/track/LocalTrackPublication.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,g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C,kBAAkB,GAAG,SAAS;IAejC,uBAAuB,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY;IAgB/D;;;;OAIG;IACG,mBAAmB,CAAC,MAAM,EAAE,eAAe,EAAE,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;IA+C3E;;;OAGG;IACG,mBAAmB,CAAC,SAAS,EAAE,iBAAiB,EAAE;IAgBxD,SAAS,CAAC,aAAa,sBAyBrB;cAEc,0BAA0B;CAO3C;AAyHD,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,CAW5D;AAED,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,SAAS,CAAC,EAAE,wBAAwB,EAAE,EACtC,GAAG,CAAC,EAAE,OAAO,GACZ,UAAU,EAAE,CAiDd"}
@@ -1,4 +1,4 @@
1
- import { StreamState as ProtoStreamState, TrackSource, TrackType } from '@livekit/protocol';
1
+ import { AudioTrackFeature, StreamState as ProtoStreamState, TrackSource, TrackType } from '@livekit/protocol';
2
2
  import type TypedEventEmitter from 'typed-emitter';
3
3
  import type { SignalClient } from '../../api/SignalClient';
4
4
  import { StructuredLogger } from '../../logger';
@@ -136,6 +136,7 @@ export type TrackEventCallbacks = {
136
136
  upstreamPaused: (track: any) => void;
137
137
  upstreamResumed: (track: any) => void;
138
138
  trackProcessorUpdate: (processor?: TrackProcessor<Track.Kind, any>) => void;
139
+ audioTrackFeatureUpdate: (track: any, feature: AudioTrackFeature, enabled: boolean) => void;
139
140
  };
140
141
  export {};
141
142
  //# sourceMappingURL=Track.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Track.d.ts","sourceRoot":"","sources":["../../../../src/room/track/Track.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,WAAW,IAAI,gBAAgB,EAC/B,WAAW,EACX,SAAS,EACV,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,iBAAiB,MAAM,eAAe,CAAC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AAO,KAAK,IAAI,CAAC;CAC7F,CAAC"}
@@ -255,7 +255,7 @@ export declare function isBackupCodec(codec: string): codec is BackupVideoCodec;
255
255
  /**
256
256
  * scalability modes for svc.
257
257
  */
258
- export type ScalabilityMode = 'L1T3' | 'L2T3' | 'L2T3_KEY' | 'L3T3' | 'L3T3_KEY';
258
+ export type ScalabilityMode = 'L1T1' | 'L1T2' | 'L1T3' | 'L2T1' | 'L2T1h' | 'L2T1_KEY' | 'L2T2' | 'L2T2h' | 'L2T2_KEY' | 'L2T3' | 'L2T3h' | 'L2T3_KEY' | 'L3T1' | 'L3T1h' | 'L3T1_KEY' | 'L3T2' | 'L3T2h' | 'L3T2_KEY' | 'L3T3' | 'L3T3h' | 'L3T3_KEY';
259
259
  export declare namespace AudioPresets {
260
260
  const telephone: AudioPreset;
261
261
  const speech: AudioPreset;
@@ -1 +1 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/room/track/options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAE9B;;;;;;;;;;OAUG;IACH,WAAW,CAAC,EAAE,IAAI,GAAG,KAAK,GAAG;QAAE,KAAK,EAAE,gBAAgB,CAAC;QAAC,QAAQ,CAAC,EAAE,aAAa,CAAA;KAAE,CAAC;IAEnF;;OAEG;IACH,mBAAmB,CAAC,EAAE,aAAa,CAAC;IAEpC;;;OAGG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IAEd;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IAEd;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;;OAIG;IACH,SAAS,CAAC,EAAE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;;;;;CAUjB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;CAUrB,CAAC"}
@@ -79,6 +79,9 @@ export declare function createAudioAnalyser(track: LocalAudioTrack | RemoteAudio
79
79
  analyser: AnalyserNode;
80
80
  cleanup: () => Promise<void>;
81
81
  };
82
+ /**
83
+ * @internal
84
+ */
82
85
  export declare class Mutex {
83
86
  private _locking;
84
87
  private _locks;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/room/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAkB,MAAM,mBAAmB,CAAC;AAK/D,OAAO,KAAK,eAAe,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,gBAAgB,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAe,MAAM,iBAAiB,CAAC;AAK1D,eAAO,MAAM,cAAc,4FACgE,CAAC;AAE5F,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAMvD;AAED,wBAAsB,KAAK,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAE3D;AAED,gBAAgB;AAChB,wBAAgB,mBAAmB,YAElC;AAED,gBAAgB;AAChB,wBAAgB,gBAAgB,YAE/B;AAED,wBAAgB,sBAAsB,YAErC;AAED,wBAAgB,gBAAgB,YAE/B;AAED,wBAAgB,WAAW,IAAI,OAAO,CAmBrC;AAED,wBAAgB,WAAW,IAAI,OAAO,CA2BrC;AAED,wBAAgB,UAAU,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAElD;AAED,wBAAgB,iBAAiB,CAAC,GAAG,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAQjE;AAQD,wBAAgB,2BAA2B,CAAC,WAAW,EAAE,iBAAiB,GAAG,OAAO,CAiBnF;AAED,wBAAgB,kBAAkB,YAKjC;AAED,wBAAgB,SAAS,IAAI,OAAO,CAEnC;AA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BAAgB,EACzC,OAAO,CAAC,EAAE,oBAAoB;;;;EA+C/B;AAED;;GAEG;AACH,qBAAa,KAAK;IAChB,OAAO,CAAC,QAAQ,CAAgB;IAEhC,OAAO,CAAC,MAAM,CAAS;;IAOvB,QAAQ;IAIR,IAAI,kBAGoB,IAAI;CAgB7B;AAED,wBAAgB,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,UAAU,IAAI,UAAU,CAEzE;AAED,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,kBAAkB,GAAG,MAAM,CAqBvE;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAKlD;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAK7C"}
@@ -1,4 +1,4 @@
1
- import { AddTrackRequest, ConnectionQualityUpdate, JoinResponse, LeaveRequest, ParticipantInfo, ReconnectReason, ReconnectResponse, Room, SessionDescription, SignalRequest, SignalTarget, SimulateScenario, SpeakerInfo, StreamStateUpdate, SubscribedQualityUpdate, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TrackPermission, TrackPublishedResponse, TrackUnpublishedResponse, UpdateSubscription, UpdateTrackSettings, VideoLayer } from '@livekit/protocol';
1
+ import { AddTrackRequest, AudioTrackFeature, ConnectionQualityUpdate, JoinResponse, LeaveRequest, ParticipantInfo, ReconnectReason, ReconnectResponse, Room, SessionDescription, SignalRequest, SignalTarget, SimulateScenario, SpeakerInfo, StreamStateUpdate, SubscribedQualityUpdate, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TrackPermission, TrackPublishedResponse, TrackUnpublishedResponse, UpdateSubscription, UpdateTrackSettings, VideoLayer } from '@livekit/protocol';
2
2
  import type { LoggerOptions } from '../room/types';
3
3
  import { AsyncQueue } from '../utils/AsyncQueue';
4
4
  interface ConnectOpts extends SignalOptions {
@@ -90,6 +90,7 @@ export declare class SignalClient {
90
90
  void,
91
91
  void
92
92
  ]>;
93
+ sendUpdateLocalAudioTrack(trackSid: string, features: AudioTrackFeature[]): Promise<void>;
93
94
  sendLeave(): Promise<void>;
94
95
  sendRequest(message: SignalMessage, fromQueue?: boolean): Promise<void>;
95
96
  private handleSignalResponse;
@@ -1,13 +1,14 @@
1
1
  import type TypedEmitter from 'typed-emitter';
2
+ import type { CheckInfo, CheckerOptions, InstantiableCheck } from './checks/Checker';
2
3
  import { CheckStatus, Checker } from './checks/Checker';
3
- import type { CheckInfo, InstantiableCheck } from './checks/Checker';
4
4
  export type { CheckInfo, CheckStatus };
5
5
  declare const ConnectionCheck_base: new () => TypedEmitter<ConnectionCheckCallbacks>;
6
6
  export declare class ConnectionCheck extends ConnectionCheck_base {
7
7
  token: string;
8
8
  url: string;
9
+ options: CheckerOptions;
9
10
  private checkResults;
10
- constructor(url: string, token: string);
11
+ constructor(url: string, token: string, options?: CheckerOptions);
11
12
  private getNextCheckId;
12
13
  private updateCheck;
13
14
  isSuccess(): boolean;
@@ -19,9 +19,10 @@ import RemoteVideoTrack from './room/track/RemoteVideoTrack';
19
19
  import { TrackPublication } from './room/track/TrackPublication';
20
20
  import type { LiveKitReactNativeInfo } from './room/types';
21
21
  import type { AudioAnalyserOptions } from './room/utils';
22
- import { createAudioAnalyser, getEmptyAudioStreamTrack, getEmptyVideoStreamTrack, isBrowserSupported, supportsAV1, supportsAdaptiveStream, supportsDynacast, supportsVP9 } from './room/utils';
22
+ import { Mutex, createAudioAnalyser, getEmptyAudioStreamTrack, getEmptyVideoStreamTrack, isBrowserSupported, supportsAV1, supportsAdaptiveStream, supportsDynacast, supportsVP9 } from './room/utils';
23
23
  import { getBrowser } from './utils/browserParser';
24
24
  export * from './connectionHelper/ConnectionCheck';
25
+ export * from './connectionHelper/checks/Checker';
25
26
  export * from './e2ee';
26
27
  export * from './options';
27
28
  export * from './room/errors';
@@ -34,6 +35,6 @@ export * from './room/track/processor/types';
34
35
  export * from './room/track/types';
35
36
  export type { DataPublishOptions, SimulationScenario } from './room/types';
36
37
  export * from './version';
37
- export { ConnectionQuality, ConnectionState, CriticalTimers, DataPacket_Kind, DefaultReconnectPolicy, DisconnectReason, LocalAudioTrack, LocalParticipant, LocalTrack, LocalTrackPublication, LocalVideoTrack, LogLevel, LoggerNames, Participant, RemoteAudioTrack, RemoteParticipant, RemoteTrack, RemoteTrackPublication, RemoteVideoTrack, Room, SubscriptionError, TrackPublication, createAudioAnalyser, getBrowser, getEmptyAudioStreamTrack, getEmptyVideoStreamTrack, getLogger, isBrowserSupported, setLogExtension, setLogLevel, supportsAV1, supportsAdaptiveStream, supportsDynacast, supportsVP9, };
38
+ export { ConnectionQuality, ConnectionState, CriticalTimers, DataPacket_Kind, DefaultReconnectPolicy, DisconnectReason, LocalAudioTrack, LocalParticipant, LocalTrack, LocalTrackPublication, LocalVideoTrack, LogLevel, LoggerNames, Participant, RemoteAudioTrack, RemoteParticipant, RemoteTrack, RemoteTrackPublication, RemoteVideoTrack, Room, SubscriptionError, TrackPublication, createAudioAnalyser, getBrowser, getEmptyAudioStreamTrack, getEmptyVideoStreamTrack, getLogger, isBrowserSupported, setLogExtension, setLogLevel, supportsAV1, supportsAdaptiveStream, supportsDynacast, supportsVP9, Mutex, };
38
39
  export type { AudioAnalyserOptions, ElementInfo, LiveKitReactNativeInfo, ParticipantTrackPermission, };
39
40
  //# sourceMappingURL=index.d.ts.map
@@ -58,6 +58,7 @@ export default class RTCEngine extends RTCEngine_base {
58
58
  private regionUrlProvider?;
59
59
  private log;
60
60
  private loggerOptions;
61
+ private publisherConnectionPromise;
61
62
  constructor(options: InternalRoomOptions);
62
63
  /** @internal */
63
64
  get logContext(): {
@@ -495,6 +495,10 @@ export declare enum TrackEvent {
495
495
  /**
496
496
  * @internal
497
497
  */
498
- TrackProcessorUpdate = "trackProcessorUpdate"
498
+ TrackProcessorUpdate = "trackProcessorUpdate",
499
+ /**
500
+ * @internal
501
+ */
502
+ AudioTrackFeatureUpdate = "audioTrackFeatureUpdate"
499
503
  }
500
504
  //# sourceMappingURL=events.d.ts.map
@@ -152,6 +152,7 @@ export default class LocalParticipant extends Participant {
152
152
  private onTrackMuted;
153
153
  private onTrackUpstreamPaused;
154
154
  private onTrackUpstreamResumed;
155
+ private onTrackFeatureUpdate;
155
156
  private handleSubscribedQualityUpdate;
156
157
  private handleLocalTrackUnpublished;
157
158
  private handleTrackEnded;
@@ -25,10 +25,13 @@ export interface VideoSenderStats extends SenderStats {
25
25
  rid: string;
26
26
  frameWidth: number;
27
27
  frameHeight: number;
28
+ framesPerSecond: number;
28
29
  framesSent: number;
29
- qualityLimitationReason: string;
30
- qualityLimitationResolutionChanges: number;
31
- retransmittedPacketsSent: number;
30
+ qualityLimitationReason?: string;
31
+ qualityLimitationDurations?: Record<string, number>;
32
+ qualityLimitationResolutionChanges?: number;
33
+ retransmittedPacketsSent?: number;
34
+ targetBitrate: number;
32
35
  }
33
36
  interface ReceiverStats {
34
37
  jitterBufferDelay?: number;
@@ -8,7 +8,12 @@ export default class LocalAudioTrack extends LocalTrack<Track.Kind.Audio> {
8
8
  /** @internal */
9
9
  stopOnMute: boolean;
10
10
  private prevStats?;
11
+ private isKrispNoiseFilterEnabled;
11
12
  protected processor?: TrackProcessor<Track.Kind.Audio, AudioProcessorOptions> | undefined;
13
+ /**
14
+ * boolean indicating whether enhanced noise cancellation is currently being used on this track
15
+ */
16
+ get enhancedNoiseCancellation(): boolean;
12
17
  /**
13
18
  *
14
19
  * @param mediaTrack
@@ -23,6 +28,8 @@ export default class LocalAudioTrack extends LocalTrack<Track.Kind.Audio> {
23
28
  protected restart(constraints?: MediaTrackConstraints): Promise<typeof this>;
24
29
  startMonitor(): void;
25
30
  protected monitorSender: () => Promise<void>;
31
+ private handleKrispNoiseFilterEnable;
32
+ private handleKrispNoiseFilterDisable;
26
33
  setProcessor(processor: TrackProcessor<Track.Kind.Audio, AudioProcessorOptions>): Promise<void>;
27
34
  /**
28
35
  * @internal
@@ -1,6 +1,6 @@
1
- import type { TrackInfo } from '@livekit/protocol';
1
+ import { AudioTrackFeature, TrackInfo } from '@livekit/protocol';
2
2
  import type { LoggerOptions } from '../types';
3
- import type LocalAudioTrack from './LocalAudioTrack';
3
+ import LocalAudioTrack from './LocalAudioTrack';
4
4
  import type LocalTrack from './LocalTrack';
5
5
  import type LocalVideoTrack from './LocalVideoTrack';
6
6
  import type { Track } from './Track';
@@ -34,6 +34,7 @@ export default class LocalTrackPublication extends TrackPublication {
34
34
  * and signals "unmuted" event to other participants (unless the track is explicitly muted)
35
35
  */
36
36
  resumeUpstream(): Promise<void>;
37
+ getTrackFeatures(): AudioTrackFeature[];
37
38
  handleTrackEnded: () => void;
38
39
  }
39
40
  //# sourceMappingURL=LocalTrackPublication.d.ts.map