livekit-client 2.0.4 → 2.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) 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 +10 -8
  4. package/dist/livekit-client.e2ee.worker.mjs.map +1 -1
  5. package/dist/livekit-client.esm.mjs +10400 -9929
  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 -3
  10. package/dist/src/api/SignalClient.d.ts.map +1 -1
  11. package/dist/src/e2ee/E2eeManager.d.ts.map +1 -1
  12. package/dist/src/e2ee/worker/FrameCryptor.d.ts +1 -0
  13. package/dist/src/e2ee/worker/FrameCryptor.d.ts.map +1 -1
  14. package/dist/src/index.d.ts +1 -1
  15. package/dist/src/index.d.ts.map +1 -1
  16. package/dist/src/logger.d.ts +2 -2
  17. package/dist/src/logger.d.ts.map +1 -1
  18. package/dist/src/room/PCTransportManager.d.ts +1 -1
  19. package/dist/src/room/PCTransportManager.d.ts.map +1 -1
  20. package/dist/src/room/RTCEngine.d.ts +4 -4
  21. package/dist/src/room/RTCEngine.d.ts.map +1 -1
  22. package/dist/src/room/RegionUrlProvider.d.ts +1 -1
  23. package/dist/src/room/RegionUrlProvider.d.ts.map +1 -1
  24. package/dist/src/room/Room.d.ts +1 -1
  25. package/dist/src/room/Room.d.ts.map +1 -1
  26. package/dist/src/room/participant/LocalParticipant.d.ts +1 -1
  27. package/dist/src/room/participant/LocalParticipant.d.ts.map +1 -1
  28. package/dist/src/room/participant/Participant.d.ts +2 -3
  29. package/dist/src/room/participant/Participant.d.ts.map +1 -1
  30. package/dist/src/room/participant/ParticipantTrackPermission.d.ts +1 -1
  31. package/dist/src/room/participant/ParticipantTrackPermission.d.ts.map +1 -1
  32. package/dist/src/room/participant/RemoteParticipant.d.ts +5 -1
  33. package/dist/src/room/participant/RemoteParticipant.d.ts.map +1 -1
  34. package/dist/src/room/track/LocalAudioTrack.d.ts.map +1 -1
  35. package/dist/src/room/track/LocalTrackPublication.d.ts +1 -1
  36. package/dist/src/room/track/LocalTrackPublication.d.ts.map +1 -1
  37. package/dist/src/room/track/LocalVideoTrack.d.ts +1 -2
  38. package/dist/src/room/track/LocalVideoTrack.d.ts.map +1 -1
  39. package/dist/src/room/track/RemoteTrackPublication.d.ts +1 -1
  40. package/dist/src/room/track/RemoteTrackPublication.d.ts.map +1 -1
  41. package/dist/src/room/track/Track.d.ts +1 -2
  42. package/dist/src/room/track/Track.d.ts.map +1 -1
  43. package/dist/src/room/track/TrackPublication.d.ts +2 -3
  44. package/dist/src/room/track/TrackPublication.d.ts.map +1 -1
  45. package/dist/src/room/track/utils.d.ts +1 -1
  46. package/dist/src/room/track/utils.d.ts.map +1 -1
  47. package/dist/src/room/utils.d.ts +1 -1
  48. package/dist/src/room/utils.d.ts.map +1 -1
  49. package/dist/ts4.2/src/api/SignalClient.d.ts +2 -3
  50. package/dist/ts4.2/src/e2ee/worker/FrameCryptor.d.ts +1 -0
  51. package/dist/ts4.2/src/index.d.ts +1 -1
  52. package/dist/ts4.2/src/logger.d.ts +2 -2
  53. package/dist/ts4.2/src/room/PCTransportManager.d.ts +1 -1
  54. package/dist/ts4.2/src/room/RTCEngine.d.ts +5 -5
  55. package/dist/ts4.2/src/room/RegionUrlProvider.d.ts +1 -1
  56. package/dist/ts4.2/src/room/Room.d.ts +1 -1
  57. package/dist/ts4.2/src/room/participant/LocalParticipant.d.ts +1 -1
  58. package/dist/ts4.2/src/room/participant/Participant.d.ts +2 -3
  59. package/dist/ts4.2/src/room/participant/ParticipantTrackPermission.d.ts +1 -1
  60. package/dist/ts4.2/src/room/participant/RemoteParticipant.d.ts +5 -1
  61. package/dist/ts4.2/src/room/track/LocalTrackPublication.d.ts +1 -1
  62. package/dist/ts4.2/src/room/track/LocalVideoTrack.d.ts +1 -2
  63. package/dist/ts4.2/src/room/track/RemoteTrackPublication.d.ts +1 -1
  64. package/dist/ts4.2/src/room/track/Track.d.ts +1 -2
  65. package/dist/ts4.2/src/room/track/TrackPublication.d.ts +2 -3
  66. package/dist/ts4.2/src/room/track/utils.d.ts +1 -1
  67. package/dist/ts4.2/src/room/utils.d.ts +1 -1
  68. package/package.json +2 -2
  69. package/src/api/SignalClient.ts +19 -17
  70. package/src/connectionHelper/checks/websocket.ts +1 -1
  71. package/src/e2ee/E2eeManager.ts +1 -1
  72. package/src/e2ee/worker/FrameCryptor.ts +12 -6
  73. package/src/index.ts +1 -1
  74. package/src/logger.ts +21 -18
  75. package/src/room/PCTransportManager.ts +1 -1
  76. package/src/room/RTCEngine.ts +33 -31
  77. package/src/room/RegionUrlProvider.ts +1 -1
  78. package/src/room/Room.ts +36 -25
  79. package/src/room/participant/LocalParticipant.ts +4 -6
  80. package/src/room/participant/Participant.ts +4 -6
  81. package/src/room/participant/ParticipantTrackPermission.ts +1 -1
  82. package/src/room/participant/RemoteParticipant.ts +14 -2
  83. package/src/room/track/LocalAudioTrack.ts +5 -2
  84. package/src/room/track/LocalTrackPublication.ts +1 -1
  85. package/src/room/track/LocalVideoTrack.ts +11 -3
  86. package/src/room/track/RemoteTrackPublication.ts +7 -2
  87. package/src/room/track/Track.ts +6 -6
  88. package/src/room/track/TrackPublication.ts +7 -3
  89. package/src/room/track/facingMode.ts +2 -2
  90. package/src/room/track/utils.ts +19 -12
  91. package/src/room/utils.ts +4 -1
  92. package/dist/src/proto/livekit_models_pb.d.ts +0 -1405
  93. package/dist/src/proto/livekit_models_pb.d.ts.map +0 -1
  94. package/dist/src/proto/livekit_rtc_pb.d.ts +0 -1423
  95. package/dist/src/proto/livekit_rtc_pb.d.ts.map +0 -1
  96. package/dist/ts4.2/src/proto/livekit_models_pb.d.ts +0 -1405
  97. package/dist/ts4.2/src/proto/livekit_rtc_pb.d.ts +0 -1423
  98. package/src/proto/livekit_models_pb.ts +0 -2327
  99. package/src/proto/livekit_rtc_pb.ts +0 -2411
@@ -1,5 +1,4 @@
1
- import { ParticipantInfo, ReconnectReason, Room, SpeakerInfo, VideoLayer } from '../proto/livekit_models_pb';
2
- import { AddTrackRequest, ConnectionQualityUpdate, JoinResponse, LeaveRequest, ReconnectResponse, SessionDescription, SignalRequest, SignalTarget, SimulateScenario, StreamStateUpdate, SubscribedQualityUpdate, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TrackPermission, TrackPublishedResponse, TrackUnpublishedResponse, UpdateSubscription, UpdateTrackSettings } from '../proto/livekit_rtc_pb';
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';
3
2
  import type { LoggerOptions } from '../room/types';
4
3
  import { AsyncQueue } from '../utils/AsyncQueue';
5
4
  interface ConnectOpts extends SignalOptions {
@@ -70,7 +69,7 @@ export declare class SignalClient {
70
69
  constructor(useJSON?: boolean, loggerOptions?: LoggerOptions);
71
70
  private get logContext();
72
71
  join(url: string, token: string, opts: SignalOptions, abortSignal?: AbortSignal): Promise<JoinResponse>;
73
- reconnect(url: string, token: string, sid?: string, reason?: ReconnectReason): Promise<ReconnectResponse | void>;
72
+ reconnect(url: string, token: string, sid?: string, reason?: ReconnectReason): Promise<ReconnectResponse | undefined>;
74
73
  private connect;
75
74
  /** @internal */
76
75
  resetCallbacks: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"SignalClient.d.ts","sourceRoot":"","sources":["../../../src/api/SignalClient.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,eAAe,EACf,eAAe,EACf,IAAI,EACJ,WAAW,EACX,UAAU,EACX,MAAM,4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AC,OAAO,EAAE,UAAU;IAQjC,OAAO,CAAC,eAAe,CA+CrB;IAEF,OAAO,CAAC,aAAa,CAGnB;IAEK,WAAW,CAAC,MAAM,EAAE,SAAS;IAMpC,OAAO,CAAC,mBAAmB;IAwD3B,OAAO,CAAC,kBAAkB;IAc1B,OAAO,CAAC,OAAO;IAgBf,OAAO,CAAC,UAAU;IAelB,OAAO,CAAC,UAAU;IAiBlB,OAAO,CAAC,cAAc;IAatB,OAAO,CAAC,iBAAiB;IAezB,OAAO,CAAC,eAAe;IAQvB;;;;OAIG;YACW,cAAc;IAiE5B;;;;OAIG;IACH,OAAO,CAAC,YAAY;CAuCrB"}
@@ -35,6 +35,7 @@ export declare class FrameCryptor extends BaseFrameCryptor {
35
35
  */
36
36
  private sifTrailer;
37
37
  private sifGuard;
38
+ private detectedCodec?;
38
39
  constructor(opts: {
39
40
  keys: ParticipantKeyHandler;
40
41
  participantIdentity: string;
@@ -1 +1 @@
1
- {"version":3,"file":"FrameCryptor.d.ts","sourceRoot":"","sources":["../../../../src/e2ee/worker/FrameCryptor.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,iBAAiB,MAAM,eAAe,CAAC;AAEnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAG3D,OAAO,EAAE,gBAAgB,EAAgB,MAAM,WAAW,CAAC;AAC3D,OAAO,KAAK,EAAwB,kBAAkB,EAAU,MAAM,UAAU,CAAC;AAEjF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGrE,eAAO,MAAM,oBAAoB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAa,CAAC;AAEpE,MAAM,WAAW,uBAAuB;IACtC,KAAK,IAAI,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAAC;CACxC;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,cAAc,CAAC;IACzB,QAAQ,EAAE,cAAc,CAAC;IACzB,WAAW,EAAE,eAA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9C;;;OAGG;YACW,YAAY;IA0H1B;;;;;;;;;;;;;;;;;;OAkBG;IACH,OAAO,CAAC,MAAM;IAqBd,OAAO,CAAC,mBAAmB;IA8D3B;;OAEG;IACH,OAAO,CAAC,aAAa;CAStB;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,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"}
@@ -1,5 +1,5 @@
1
+ import { DataPacket_Kind, DisconnectReason } from '@livekit/protocol';
1
2
  import { LogLevel, LoggerNames, getLogger, setLogExtension, setLogLevel } from './logger';
2
- import { DataPacket_Kind, DisconnectReason } from './proto/livekit_models_pb';
3
3
  import DefaultReconnectPolicy from './room/DefaultReconnectPolicy';
4
4
  import Room, { ConnectionState } from './room/Room';
5
5
  import LocalParticipant from './room/participant/LocalParticipant';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,sBAAsB,MAAM,+BAA+B,CAAC;AACnE,OAAO,IAAI,EAAE,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,gBAAgB,MAAM,qCAAqC,CAAC;AACnE,OAAO,WAAW,EAAE,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,+CAA+C,CAAC;AAChG,OAAO,iBAAiB,MAAM,sCAAsC,CAAC;AACrE,OAAO,cAAc,MAAM,eAAe,CAAC;AAC3C,OAAO,eAAe,MAAM,8BAA8B,CAAC;AAC3D,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,qBAAqB,MAAM,oCAAoC,CAAC;AACvE,OAAO,eAAe,MAAM,8BAA8B,CAAC;AAC3D,OAAO,gBAAgB,MAAM,+BAA+B,CAAC;AAC7D,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,sBAAsB,MAAM,qCAAqC,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,gBAAgB,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,wBAAwB,EACxB,kBAAkB,EAClB,WAAW,EACX,sBAAsB,EACtB,gBAAgB,EAChB,WAAW,EACZ,MAAM,cAAc,CAAC;AAEtB,cAAc,oCAAoC,CAAC;AACnD,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAC9F,cAAc,oBAAoB,CAAC;AACnC,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAC3E,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EACL,WAAW,EACX,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,mBAAmB,EACnB,QAAQ,EACR,WAAW,EACX,SAAS,EACT,IAAI,EACJ,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,UAAU,EACV,qBAAqB,EACrB,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,cAAc,GACf,CAAC;AACF,YAAY,EACV,WAAW,EACX,0BAA0B,EAC1B,oBAAoB,EACpB,sBAAsB,GACvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACtE,OAAO,EAAE,QAAQ,EA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AC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAC9F,cAAc,oBAAoB,CAAC;AACnC,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAC3E,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EACL,WAAW,EACX,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,mBAAmB,EACnB,QAAQ,EACR,WAAW,EACX,SAAS,EACT,IAAI,EACJ,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,UAAU,EACV,qBAAqB,EACrB,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,cAAc,GACf,CAAC;AACF,YAAY,EACV,WAAW,EACX,0BAA0B,EAC1B,oBAAoB,EACpB,sBAAsB,GACvB,CAAC"}
@@ -20,7 +20,7 @@ export declare enum LoggerNames {
20
20
  E2EE = "lk-e2ee"
21
21
  }
22
22
  type LogLevelString = keyof typeof LogLevel;
23
- export type StructuredLogger = {
23
+ export type StructuredLogger = log.Logger & {
24
24
  trace: (msg: string, context?: object) => void;
25
25
  debug: (msg: string, context?: object) => void;
26
26
  info: (msg: string, context?: object) => void;
@@ -42,6 +42,6 @@ export type LogExtension = (level: LogLevel, msg: string, context?: object) => v
42
42
  * use this to hook into the logging function to allow sending internal livekit logs to third party services
43
43
  * if set, the browser logs will lose their stacktrace information (see https://github.com/pimterry/loglevel#writing-plugins)
44
44
  */
45
- export declare function setLogExtension(extension: LogExtension, logger?: log.Logger): void;
45
+ export declare function setLogExtension(extension: LogExtension, logger?: StructuredLogger): void;
46
46
  export declare const workerLogger: StructuredLogger;
47
47
  //# sourceMappingURL=logger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAEhC,oBAAY,QAAQ;IAClB,KAAK,IAAI;IACT,KAAK,IAAI;IACT,IAAI,IAAI;IACR,IAAI,IAAI;IACR,KAAK,IAAI;IACT,MAAM,IAAI;CACX;AAED,oBAAY,WAAW;IACrB,OAAO,YAAY;IACnB,IAAI,iBAAiB;IACrB,WAAW,wBAAwB;IACnC,KAAK,kBAAkB;IACvB,WAAW,8BAA8B;IACzC,MAAM,mBAAmB;IACzB,MAAM,mBAAmB;IACzB,SAAS,uBAAuB;IAChC,WAAW,yBAAyB;IACpC,IAAI,YAAY;CACjB;AAED,KAAK,cAAc,GAAG,MAAM,OAAO,QAAQ,CAAC;AAE5C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,eAAe,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,YAAY,KAAK,IAAI,CAAC;IACnD,QAAQ,EAAE,CAAC,KAAK,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AO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,eAAe,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,YAAY,KAAK,IAAI,CAAC;IACnD,QAAQ,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,YAAY,KAAK,IAAI,CAAC;IAC5C,QAAQ,EAAE,MAAM,MAAM,CAAC;CACxB,CAAC;;AAOF,wBAAiD;AAEjD;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,oBAIrC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,QAAQ,GAAG,cAAc,EAAE,UAAU,CAAC,EAAE,WAAW,QAOrF;AAED,MAAM,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;AAEpF;;;GAGG;AACH,wBAAgB,eAAe,CAAC,SAAS,EAAE,YAAY,EAAE,MAAM,CAAC,EAAE,gBAAgB,QAsBjF;AAED,eAAO,MAAM,YAAY,kBAA+C,CAAC"}
@@ -1,4 +1,4 @@
1
- import { SignalTarget } from '../proto/livekit_rtc_pb';
1
+ import { SignalTarget } from '@livekit/protocol';
2
2
  import PCTransport from './PCTransport';
3
3
  import type { LoggerOptions } from './types';
4
4
  export declare enum PCTransportState {
@@ -1 +1 @@
1
- {"version":3,"file":"PCTransportManager.d.ts","sourceRoot":"","sources":["../../../src/room/PCTransportManager.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EA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A2B,CAAC,eAAe,CAAC,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,MAAM;IAqB/E,SAAS,CAAC,eAAe,EAAE,eAAe;IA6BhD,uBAAuB,CAAC,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,qBAAqB;IAIvF,iBAAiB,CAAC,KAAK,EAAE,gBAAgB;IAIzC,0BAA0B,CAAC,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,kBAAkB;IAI7E;;OAEG;IACH,mBAAmB,CAAC,MAAM,CAAC,EAAE,YAAY;IASzC,OAAO,KAAK,kBAAkB,GAS7B;IAED,OAAO,CAAC,WAAW,CA+BjB;YAEY,wBAAwB;CAiDvC"}
@@ -1,9 +1,8 @@
1
+ import { type AddTrackRequest, type ConnectionQualityUpdate, DataPacket, DataPacket_Kind, DisconnectReason, type JoinResponse, ParticipantInfo, Room as RoomModel, SpeakerInfo, type StreamStateUpdate, SubscribedQualityUpdate, type SubscriptionPermissionUpdate, type SubscriptionResponse, TrackInfo, TrackUnpublishedResponse, UserPacket } from '@livekit/protocol';
1
2
  import type TypedEventEmitter from 'typed-emitter';
2
3
  import type { SignalOptions } from '../api/SignalClient';
3
4
  import { SignalClient } from '../api/SignalClient';
4
5
  import type { InternalRoomOptions } from '../options';
5
- import { DataPacket, DataPacket_Kind, DisconnectReason, ParticipantInfo, Room as RoomModel, SpeakerInfo, TrackInfo, UserPacket } from '../proto/livekit_models_pb';
6
- import { type AddTrackRequest, type ConnectionQualityUpdate, type JoinResponse, type StreamStateUpdate, SubscribedQualityUpdate, type SubscriptionPermissionUpdate, type SubscriptionResponse, TrackUnpublishedResponse } from '../proto/livekit_rtc_pb';
7
6
  import PCTransport from './PCTransport';
8
7
  import { PCTransportManager } from './PCTransportManager';
9
8
  import type { RegionUrlProvider } from './RegionUrlProvider';
@@ -62,8 +61,9 @@ export default class RTCEngine extends RTCEngine_base {
62
61
  /** @internal */
63
62
  get logContext(): {
64
63
  room: string | undefined;
65
- roomSid: string | undefined;
66
- identity: string | undefined;
64
+ roomID: string | undefined;
65
+ participant: string | undefined;
66
+ pID: string | undefined;
67
67
  };
68
68
  join(url: string, token: string, opts: SignalOptions, abortSignal?: AbortSignal): Promise<JoinResponse>;
69
69
  close(): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"RTCEngine.d.ts","sourceRoot":"","sources":["../../../src/room/RTCEngine.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,iBAAiB,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EACL,YAAY,EAGb,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,EAGL,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,eAAe,EAEf,IAAI,IAAI,SAAS,EACjB,WAAW,EACX,SAAS,EACT,UAAU,EACX,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAE5B,KAAK,YAAY,EAIjB,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EAGzB,wBAAwB,EAEzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,WAAyB,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAoB,MAAM,sBAAsB,CAAC;AAE5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAW7D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AACvE,OAAO,KAAK,eAAe,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,sBAAsB,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe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,KAAK,IAAI,CAAC;IACtC,uBAAuB,EAAE,CAAC,MAAM,EAAE,uBAAuB,KAAK,IAAI,CAAC;IACnE,eAAe,EAAE,CAAC,cAAc,EAAE,WAAW,EAAE,KAAK,IAAI,CAAC;IACzD,kBAAkB,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACxD,iBAAiB,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACxD,4BAA4B,EAAE,CAAC,MAAM,EAAE,4BAA4B,KAAK,IAAI,CAAC;IAC7E,uBAAuB,EAAE,CAAC,MAAM,EAAE,uBAAuB,KAAK,IAAI,CAAC;IACnE,qBAAqB,EAAE,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"}
@@ -1,4 +1,4 @@
1
- import type { RegionSettings } from '../proto/livekit_rtc_pb';
1
+ import type { RegionSettings } from '@livekit/protocol';
2
2
  export declare class RegionUrlProvider {
3
3
  private serverUrl;
4
4
  private token;
@@ -1 +1 @@
1
- {"version":3,"file":"RegionUrlProvider.d.ts","sourceRoot":"","sources":["../../../src/room/RegionUrlProvider.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAc,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAI1E,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,SAAS,CAAM;IAEvB,OAAO,CAAC,KAAK,CAAS;IAEtB,OAAO,CAAC,cAAc,CAA6B;IAEnD,OAAO,CAAC,YAAY,CAAa;IAEjC,OAAO,CAAC,iBAAiB,CAAS;IAElC,OAAO,CAAC,gBAAgB,CAAoB;gBAEhC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAKtC,WAAW,CAAC,KAAK,EAAE,MAAM;IAIzB,OAAO;IAIP,YAAY;IAIN,oBAAoB,CAAC,WAAW,CAAC,EAAE,WAAW;IAoBpD,aAAa;IAKP,mBAAmB,CAAC,MAAM,CAAC,EAAE,WAAW;CAiB/C"}
1
+ {"version":3,"file":"RegionUrlProvider.d.ts","sourceRoot":"","sources":["../../../src/room/RegionUrlProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAc,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAKpE,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,SAAS,CAAM;IAEvB,OAAO,CAAC,KAAK,CAAS;IAEtB,OAAO,CAAC,cAAc,CAA6B;IAEnD,OAAO,CAAC,YAAY,CAAa;IAEjC,OAAO,CAAC,iBAAiB,CAAS;IAElC,OAAO,CAAC,gBAAgB,CAAoB;gBAEhC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAKtC,WAAW,CAAC,KAAK,EAAE,MAAM;IAIzB,OAAO;IAIP,YAAY;IAIN,oBAAoB,CAAC,WAAW,CAAC,EAAE,WAAW;IAoBpD,aAAa;IAKP,mBAAmB,CAAC,MAAM,CAAC,EAAE,WAAW;CAiB/C"}
@@ -1,7 +1,7 @@
1
+ import { DataPacket_Kind, DisconnectReason, ParticipantPermission, SubscriptionError } from '@livekit/protocol';
1
2
  import type TypedEmitter from 'typed-emitter';
2
3
  import 'webrtc-adapter';
3
4
  import type { InternalRoomOptions, RoomConnectOptions, RoomOptions } from '../options';
4
- import { DataPacket_Kind, DisconnectReason, ParticipantPermission, SubscriptionError } from '../proto/livekit_models_pb';
5
5
  import RTCEngine from './RTCEngine';
6
6
  import LocalParticipant from './participant/LocalParticipant';
7
7
  import type Participant from './participant/Participant';
@@ -1 +1 @@
1
- {"version":3,"file":"Room.d.ts","sourceRoot":"","sources":["../../../src/room/Room.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,YAAY,MAAM,eAAe,CAAC;AAC9C,OAAO,gBAAgB,CAAC;AAIxB,OAAO,KAAK,EAEV,mBA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xC,qBAAqB,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IACvE,mBAAmB,EAAE,CAAC,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACxE,CAAC"}
@@ -1,5 +1,5 @@
1
+ import { ParticipantInfo, ParticipantPermission } from '@livekit/protocol';
1
2
  import type { InternalRoomOptions } from '../../options';
2
- import { ParticipantInfo, ParticipantPermission } from '../../proto/livekit_models_pb';
3
3
  import type RTCEngine from '../RTCEngine';
4
4
  import LocalTrack from '../track/LocalTrack';
5
5
  import LocalTrackPublication from '../track/LocalTrackPublication';
@@ -1 +1 @@
1
- {"version":3,"file":"LocalParticipant.d.ts","sourceRoot":"","sources":["../../../../src/room/participant/LocalParticipant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAIL,eAAe,EACf,qBAAqB,EAEtB,MAAM,+BAA+B,CAAC;AAQvC,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,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAS1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAWnD,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAQ/E,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,WAAW;IACvD,sBAAsB,EAAE,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;IAE3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C,6BAA6B,CA6BnC;IAEF,OAAO,CAAC,2BAA2B,CAUjC;IAEF,OAAO,CAAC,gBAAgB,CAyDtB;IAEF,OAAO,CAAC,sBAAsB;CAuB/B"}
@@ -1,6 +1,6 @@
1
+ import { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ConnectionQuality as ProtoQuality, SubscriptionError } from '@livekit/protocol';
1
2
  import type TypedEmitter from 'typed-emitter';
2
3
  import { StructuredLogger } from '../../logger';
3
- import { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ConnectionQuality as ProtoQuality, SubscriptionError } from '../../proto/livekit_models_pb';
4
4
  import type LocalTrackPublication from '../track/LocalTrackPublication';
5
5
  import type RemoteTrack from '../track/RemoteTrack';
6
6
  import type RemoteTrackPublication from '../track/RemoteTrackPublication';
@@ -44,8 +44,7 @@ export default class Participant extends Participant_base {
44
44
  protected log: StructuredLogger;
45
45
  protected loggerOptions?: LoggerOptions;
46
46
  protected get logContext(): {
47
- participantSid: string;
48
- participantId: string;
47
+ [x: string]: unknown;
49
48
  };
50
49
  get isEncrypted(): boolean;
51
50
  get isAgent(): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Participant.d.ts","sourceRoot":"","sources":["../../../../src/room/participant/Participant.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,YAAY,MAAM,eAAe,CAAC;AAC9C,OAAY,EAAe,gBAAgB,EAAa,MAAM,cAAc,CAAC;AAC7E,OAAO,EACL,eAAe,EACf,eAAe,EACf,qBAAqB,EACrB,iBAAiB,IAAI,YAAY,EACjC,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,qBAAqB,MAAM,gCAAgC,CAAC;AAExE,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,sBAAsB,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BA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C,YAAY,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IACnE,iBAAiB,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,wBAAwB,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACzE,uBAAuB,EAAE,CACvB,WAAW,EAAE,sBAAsB,EACnC,WAAW,EAAE,KAAK,CAAC,WAAW,KAC3B,IAAI,CAAC;IACV,kCAAkC,EAAE,CAClC,WAAW,EAAE,sBAAsB,EACnC,MAAM,EAAE,gBAAgB,CAAC,gBAAgB,KACtC,IAAI,CAAC;IACV,iBAAiB,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAC1C,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,6BAA6B,EAAE,CAAC,eAAe,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACjF,8BAA8B,EAAE,CAC9B,WAAW,EAAE,sBAAsB,EACnC,MAAM,EAAE,gBAAgB,CAAC,kBAAkB,KACxC,IAAI,CAAC;CACX,CAAC"}
@@ -1,4 +1,4 @@
1
- import { TrackPermission } from '../../proto/livekit_rtc_pb';
1
+ import { TrackPermission } from '@livekit/protocol';
2
2
  export interface ParticipantTrackPermission {
3
3
  /**
4
4
  * The participant identity this permission applies to.
@@ -1 +1 @@
1
- {"version":3,"file":"ParticipantTrackPermission.d.ts","sourceRoot":"","sources":["../../../../src/room/participant/ParticipantTrackPermission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7D,MAAM,WAAW,0BAA0B;IACzC;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,0BAA0B,GAAG,eAAe,CAYzF"}
1
+ {"version":3,"file":"ParticipantTrackPermission.d.ts","sourceRoot":"","sources":["../../../../src/room/participant/ParticipantTrackPermission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,0BAA0B;IACzC;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,0BAA0B,GAAG,eAAe,CAYzF"}
@@ -1,5 +1,5 @@
1
+ import type { ParticipantInfo } from '@livekit/protocol';
1
2
  import type { SignalClient } from '../../api/SignalClient';
2
- import type { ParticipantInfo } from '../../proto/livekit_models_pb';
3
3
  import RemoteTrackPublication from '../track/RemoteTrackPublication';
4
4
  import { Track } from '../track/Track';
5
5
  import type { AudioOutputOptions } from '../track/options';
@@ -16,6 +16,10 @@ export default class RemoteParticipant extends Participant {
16
16
  private audioOutput?;
17
17
  /** @internal */
18
18
  static fromParticipantInfo(signalClient: SignalClient, pi: ParticipantInfo): RemoteParticipant;
19
+ protected get logContext(): {
20
+ rpID: string;
21
+ remoteParticipant: string;
22
+ };
19
23
  /** @internal */
20
24
  constructor(signalClient: SignalClient, sid: string, identity?: string, name?: string, metadata?: string, loggerOptions?: LoggerOptions);
21
25
  protected addTrackPublication(publication: RemoteTrackPublication): void;
@@ -1 +1 @@
1
- {"version":3,"file":"RemoteParticipant.d.ts","sourceRoot":"","sources":["../../../../src/room/participant/RemoteParticipant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YA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a,sBAmBrB;IAEI,YAAY,CAAC,SAAS,EAAE,cAAc,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,qBAAqB,CAAC;IA8BrF;;;OAGG;IACH,eAAe,CAAC,YAAY,EAAE,YAAY,GAAG,SAAS;IAIhD,cAAc,IAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC;IAyBvD,eAAe;CAUtB"}
@@ -1,4 +1,4 @@
1
- import type { TrackInfo } from '../../proto/livekit_models_pb';
1
+ import type { TrackInfo } from '@livekit/protocol';
2
2
  import type { LoggerOptions } from '../types';
3
3
  import type LocalAudioTrack from './LocalAudioTrack';
4
4
  import type LocalTrack from './LocalTrack';
@@ -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,+BAA+B,CAAC;AAE/D,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,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAErD,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,gBAAgB;IACjE,KAAK,CAAC,EAAE,UAAU,CAAa;IAE/B,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAE9B,IAAI,gBAAgB,wBAEnB;gBAEW,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,UAAU,EAAE,aAAa,CAAC,EAAE,aAAa;IAO9F,QA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AI,eAAe,GAAG,SAAS,CAE5C;IAED;;OAEG;IACG,IAAI;IAIV;;OAEG;IACG,MAAM;IAIZ;;;;OAIG;IACG,aAAa;IAInB;;;OAGG;IACG,cAAc;IAIpB,gBAAgB,aAEd;CACH"}
@@ -1,6 +1,5 @@
1
+ import { SubscribedCodec, SubscribedQuality, VideoLayer } from '@livekit/protocol';
1
2
  import type { SignalClient } from '../../api/SignalClient';
2
- import { VideoLayer } from '../../proto/livekit_models_pb';
3
- import { SubscribedCodec, SubscribedQuality } from '../../proto/livekit_rtc_pb';
4
3
  import type { VideoSenderStats } from '../stats';
5
4
  import type { LoggerOptions } from '../types';
6
5
  import LocalTrack from './LocalTrack';
@@ -1 +1 @@
1
- {"version":3,"file":"LocalVideoTrack.d.ts","sourceRoot":"","sources":["../../../../src/room/track/LocalVideoTrack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAqC,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC9F,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEhF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD,qBAAa,kBAAkB;IAC7B,KAAK,EAAE,UAAU,CAAC;IAElB,gBAAgB,EAAE,gBAAgB,CAAC;IAEnC,MAAM,CAAC,EAAE,YAAY,CAAC;IAEtB,SAAS,CAAC,EAAE,wBAAwB,EAAE,CAAC;gBAE3B,KAAK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AgB/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,CA6Cd"}
@@ -1,4 +1,4 @@
1
- import { SubscriptionError, TrackInfo } from '../../proto/livekit_models_pb';
1
+ import { SubscriptionError, TrackInfo } from '@livekit/protocol';
2
2
  import type { LoggerOptions } from '../types';
3
3
  import type RemoteTrack from './RemoteTrack';
4
4
  import { Track, VideoQuality } from './Track';
@@ -1 +1 @@
1
- {"version":3,"file":"RemoteTrackPublication.d.ts","sourceRoot":"","sources":["../../../../src/room/track/RemoteTrackPublication.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,iBAAiB,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAGhG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,gBAAgB;IAClE,KAAK,CAAC,EAAE,WAAW,CAAa;IAEhC,gBAAgB;IAChB,SAAS,CAAC,OAAO,UAAQ;IAGzB,SAAS,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAE/B,SAAS,CAAC,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kB,CAQ5D;IAED,IAAI,gBAAgB,IAAI,gBAAgB,CAAC,gBAAgB,CAIxD;IAED;;OAEG;IACH,IAAI,YAAY,IAAI,OAAO,CAK1B;IAGD,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED;;;;;OAKG;IACH,UAAU,CAAC,OAAO,EAAE,OAAO;IAS3B;;;;;;OAMG;IACH,eAAe,CAAC,OAAO,EAAE,YAAY;IAUrC,kBAAkB,CAAC,UAAU,EAAE,KAAK,CAAC,UAAU;IAkB/C,WAAW,CAAC,GAAG,EAAE,MAAM;IAiBvB,IAAI,YAAY,IAAI,YAAY,GAAG,SAAS,CAE3C;IAED,gBAAgB;IAChB,QAAQ,CAAC,KAAK,CAAC,EAAE,WAAW;IA4B5B,gBAAgB;IAChB,UAAU,CAAC,OAAO,EAAE,OAAO;IAQ3B,gBAAgB;IAChB,oBAAoB,CAAC,KAAK,EAAE,iBAAiB;IAI7C,gBAAgB;IAChB,UAAU,CAAC,IAAI,EAAE,SAAS;IAW1B,OAAO,CAAC,+BAA+B;IAQvC,OAAO,CAAC,6BAA6B;IAarC,OAAO,CAAC,wBAAwB;IAehC,SAAS,CAAC,WAAW,UAAW,WAAW,UAGzC;IAEF,SAAS,KAAK,gBAAgB,IAAI,OAAO,CAExC;IAED,SAAS,CAAC,sBAAsB,YAAa,OAAO,UAOlD;IAEF,SAAS,CAAC,2BAA2B,eAAgB,MAAM,UAAU,UAOnE;IAGF,eAAe;CAkBhB"}
@@ -1,8 +1,7 @@
1
+ import { StreamState as ProtoStreamState, TrackSource, TrackType } from '@livekit/protocol';
1
2
  import type TypedEventEmitter from 'typed-emitter';
2
3
  import type { SignalClient } from '../../api/SignalClient';
3
4
  import { StructuredLogger } from '../../logger';
4
- import { TrackSource, TrackType } from '../../proto/livekit_models_pb';
5
- import { StreamState as ProtoStreamState } from '../../proto/livekit_rtc_pb';
6
5
  import type { LoggerOptions } from '../types';
7
6
  import type { TrackProcessor } from './processor/types';
8
7
  export declare enum VideoQuality {
@@ -1 +1 @@
1
- {"version":3,"file":"Track.d.ts","sourceRoot":"","sources":["../../../../src/room/track/Track.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,iBAAiB,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAY,EAAe,gBAAgB,EAAa,MAAM,cAAc,CAAC;AAC7E,OAAO,EAEL,WAAW,EACX,SAAS,EACV,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,WAAW,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE7E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AASxD,oBAAY,YAAY;IACtB,GAAG,IAAmB;IACtB,MAAM,IAAsB;IAC5B,IAAI,IAAoB;CACzB;oCAGoC,kBAAkB,mBAAmB,CAAC;AAF3E,8BAAsB,KAAK,CACzB,SAAS,SAAS,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CACzC,SAAQ,UAAkE;IAC1E,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;IAEzB,gBAAgB,EAAE,gBAAgB,EAAE,CAAM;IAE1C,OAAO,EAAE,OAAO,CAAS;IAEzB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;IAErB;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC;IAEhB;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;;OAGG;IACH,WAAW,EAAE,KAAK,CAAC,WAAW,CAA4B;IAE1D,SAAS,CAAC,iBAAiB,EAAE,gBAAgB,CAAC;IAE9C,SAAS,CAAC,cAAc,EAAE,MAAM,CAAC;IAEjC,SAAS,CAAC,cAAc,EAAE,OAAO,CAAS;IAE1C,OAAO,CAAC,iBAAiB,CAA4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,KAAK,IAAI,CAAC;IACrC,eAAe,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IACtC,oBAAoB,EAAE,CAAC,SAAS,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC,IAAI,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;CAC7E,CAAC"}
@@ -1,7 +1,6 @@
1
+ import { Encryption_Type } from '@livekit/protocol';
2
+ import type { SubscriptionError, TrackInfo, UpdateSubscription, UpdateTrackSettings } from '@livekit/protocol';
1
3
  import type TypedEventEmitter from 'typed-emitter';
2
- import { Encryption_Type } from '../../proto/livekit_models_pb';
3
- import type { SubscriptionError, TrackInfo } from '../../proto/livekit_models_pb';
4
- import type { UpdateSubscription, UpdateTrackSettings } from '../../proto/livekit_rtc_pb';
5
4
  import type { LoggerOptions } from '../types';
6
5
  import LocalAudioTrack from './LocalAudioTrack';
7
6
  import LocalVideoTrack from './LocalVideoTrack';
@@ -1 +1 @@
1
- {"version":3,"file":"TrackPublication.d.ts","sourceRoot":"","sources":["../../../../src/room/track/TrackPublication.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,iBAAiB,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAClF,OAAO,KAAK,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAE1F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;+CA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,4 @@
1
- import { TrackPublishedResponse } from '../../proto/livekit_rtc_pb';
1
+ import { TrackPublishedResponse } from '@livekit/protocol';
2
2
  import { Track } from './Track';
3
3
  import type { TrackPublication } from './TrackPublication';
4
4
  import { type AudioCaptureOptions, type CreateLocalTracksOptions, type ScreenShareCaptureOptions, type VideoCaptureOptions } from './options';
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/room/track/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAGpE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EAGzB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,wBAAgB,mBAAmB,CACjC,OAAO,CAAC,EAAE,wBAAwB,EAClC,aAAa,CAAC,EAAE,mBAAmB,EACnC,aAAa,CAAC,EAAE,mBAAmB,GAClC,wBAAwB,CAmB1B;AAYD,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,wBAAwB,GAAG,sBAAsB,CAqC/F;AACD;;;GAGG;AACH,wBAAsB,aAAa,CAAC,KAAK,EAAE,UAAU,EAAE,UAAU,SAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAkBzF;AAED;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,YAAY,GAAG,IAAI,CAOxD;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,eAAe,wEAQjD;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,GAAG,eAAe,GAAG,SAAS,CAQ9E;AAED;;GAEG;AACH,wBAAgB,wCAAwC,CAC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M,EAAE,KAAK,CAAC,MAAM,GAAG,eAAe,GAAG,SAAS,CAQ9E;AAED;;GAEG;AACH,wBAAgB,wCAAwC,CACtD,OAAO,EAAE,yBAAyB,GACjC,yBAAyB,CA+B3B;AAED,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,MAAM,kCAM1D;AAED,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,gBAAgB,EAChE,MAAM,EAAE,CAAC,EAAE,GACV,sBAAsB,EAAE,CAa1B;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,KAAK,GAAG,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CA0B/F"}
@@ -1,4 +1,4 @@
1
- import { ClientInfo } from '../proto/livekit_models_pb';
1
+ import { ClientInfo } from '@livekit/protocol';
2
2
  import type LocalAudioTrack from './track/LocalAudioTrack';
3
3
  import type RemoteAudioTrack from './track/RemoteAudioTrack';
4
4
  import { VideoCodec } from './track/options';
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/room/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAkB,MAAM,4BAA4B,CAAC;AAKxE,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,WA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M,oBAAoB,GAAG;IACjC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,eAAe,GAAG,gBAAgB,EACzC,OAAO,CAAC,EAAE,oBAAoB;;;;EA+C/B;AAED,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,5 +1,4 @@
1
- import { ParticipantInfo, ReconnectReason, Room, SpeakerInfo, VideoLayer } from '../proto/livekit_models_pb';
2
- import { AddTrackRequest, ConnectionQualityUpdate, JoinResponse, LeaveRequest, ReconnectResponse, SessionDescription, SignalRequest, SignalTarget, SimulateScenario, StreamStateUpdate, SubscribedQualityUpdate, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TrackPermission, TrackPublishedResponse, TrackUnpublishedResponse, UpdateSubscription, UpdateTrackSettings } from '../proto/livekit_rtc_pb';
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';
3
2
  import type { LoggerOptions } from '../room/types';
4
3
  import { AsyncQueue } from '../utils/AsyncQueue';
5
4
  interface ConnectOpts extends SignalOptions {
@@ -70,7 +69,7 @@ export declare class SignalClient {
70
69
  constructor(useJSON?: boolean, loggerOptions?: LoggerOptions);
71
70
  private get logContext();
72
71
  join(url: string, token: string, opts: SignalOptions, abortSignal?: AbortSignal): Promise<JoinResponse>;
73
- reconnect(url: string, token: string, sid?: string, reason?: ReconnectReason): Promise<ReconnectResponse | void>;
72
+ reconnect(url: string, token: string, sid?: string, reason?: ReconnectReason): Promise<ReconnectResponse | undefined>;
74
73
  private connect;
75
74
  /** @internal */
76
75
  resetCallbacks: () => void;
@@ -35,6 +35,7 @@ export declare class FrameCryptor extends BaseFrameCryptor {
35
35
  */
36
36
  private sifTrailer;
37
37
  private sifGuard;
38
+ private detectedCodec?;
38
39
  constructor(opts: {
39
40
  keys: ParticipantKeyHandler;
40
41
  participantIdentity: string;