livekit-client 1.11.4 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -3
- package/dist/livekit-client.e2ee.worker.js +2 -0
- package/dist/livekit-client.e2ee.worker.js.map +1 -0
- package/dist/livekit-client.e2ee.worker.mjs +1525 -0
- package/dist/livekit-client.e2ee.worker.mjs.map +1 -0
- package/dist/livekit-client.esm.mjs +4749 -4055
- package/dist/livekit-client.esm.mjs.map +1 -1
- package/dist/livekit-client.umd.js +1 -1
- package/dist/livekit-client.umd.js.map +1 -1
- package/dist/src/api/SignalClient.d.ts +4 -1
- package/dist/src/api/SignalClient.d.ts.map +1 -1
- package/dist/src/connectionHelper/checks/turn.d.ts.map +1 -1
- package/dist/src/connectionHelper/checks/websocket.d.ts.map +1 -1
- package/dist/src/e2ee/E2eeManager.d.ts +45 -0
- package/dist/src/e2ee/E2eeManager.d.ts.map +1 -0
- package/dist/src/e2ee/KeyProvider.d.ts +42 -0
- package/dist/src/e2ee/KeyProvider.d.ts.map +1 -0
- package/dist/src/e2ee/constants.d.ts +14 -0
- package/dist/src/e2ee/constants.d.ts.map +1 -0
- package/dist/src/e2ee/errors.d.ts +11 -0
- package/dist/src/e2ee/errors.d.ts.map +1 -0
- package/dist/src/e2ee/index.d.ts +4 -0
- package/dist/src/e2ee/index.d.ts.map +1 -0
- package/dist/src/e2ee/types.d.ts +129 -0
- package/dist/src/e2ee/types.d.ts.map +1 -0
- package/dist/src/e2ee/utils.d.ts +24 -0
- package/dist/src/e2ee/utils.d.ts.map +1 -0
- package/dist/src/e2ee/worker/FrameCryptor.d.ts +175 -0
- package/dist/src/e2ee/worker/FrameCryptor.d.ts.map +1 -0
- package/dist/src/e2ee/worker/ParticipantKeyHandler.d.ts +46 -0
- package/dist/src/e2ee/worker/ParticipantKeyHandler.d.ts.map +1 -0
- package/dist/src/e2ee/worker/e2ee.worker.d.ts +2 -0
- package/dist/src/e2ee/worker/e2ee.worker.d.ts.map +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/logger.d.ts +4 -1
- package/dist/src/logger.d.ts.map +1 -1
- package/dist/src/options.d.ts +5 -0
- package/dist/src/options.d.ts.map +1 -1
- package/dist/src/proto/livekit_models.d.ts +2 -2
- package/dist/src/proto/livekit_models.d.ts.map +1 -1
- package/dist/src/room/PCTransport.d.ts +3 -1
- package/dist/src/room/PCTransport.d.ts.map +1 -1
- package/dist/src/room/RTCEngine.d.ts +17 -3
- package/dist/src/room/RTCEngine.d.ts.map +1 -1
- package/dist/src/room/Room.d.ts +10 -0
- package/dist/src/room/Room.d.ts.map +1 -1
- package/dist/src/room/events.d.ts +14 -2
- package/dist/src/room/events.d.ts.map +1 -1
- package/dist/src/room/participant/LocalParticipant.d.ts +7 -2
- package/dist/src/room/participant/LocalParticipant.d.ts.map +1 -1
- package/dist/src/room/participant/Participant.d.ts +1 -0
- package/dist/src/room/participant/Participant.d.ts.map +1 -1
- package/dist/src/room/track/LocalTrack.d.ts.map +1 -1
- package/dist/src/room/track/RemoteVideoTrack.d.ts.map +1 -1
- package/dist/src/room/track/TrackPublication.d.ts +3 -0
- package/dist/src/room/track/TrackPublication.d.ts.map +1 -1
- package/dist/src/room/track/options.d.ts +2 -2
- package/dist/src/room/track/options.d.ts.map +1 -1
- package/dist/src/room/track/utils.d.ts +9 -0
- package/dist/src/room/track/utils.d.ts.map +1 -1
- package/dist/src/room/utils.d.ts +2 -0
- package/dist/src/room/utils.d.ts.map +1 -1
- package/dist/src/test/MockMediaStreamTrack.d.ts.map +1 -1
- package/dist/ts4.2/src/api/SignalClient.d.ts +4 -1
- package/dist/ts4.2/src/e2ee/E2eeManager.d.ts +45 -0
- package/dist/ts4.2/src/e2ee/KeyProvider.d.ts +42 -0
- package/dist/ts4.2/src/e2ee/constants.d.ts +14 -0
- package/dist/ts4.2/src/e2ee/errors.d.ts +11 -0
- package/dist/ts4.2/src/e2ee/index.d.ts +4 -0
- package/dist/ts4.2/src/e2ee/types.d.ts +129 -0
- package/dist/ts4.2/src/e2ee/utils.d.ts +24 -0
- package/dist/ts4.2/src/e2ee/worker/FrameCryptor.d.ts +175 -0
- package/dist/ts4.2/src/e2ee/worker/ParticipantKeyHandler.d.ts +46 -0
- package/dist/ts4.2/src/e2ee/worker/e2ee.worker.d.ts +2 -0
- package/dist/ts4.2/src/index.d.ts +1 -0
- package/dist/ts4.2/src/logger.d.ts +4 -1
- package/dist/ts4.2/src/options.d.ts +5 -0
- package/dist/ts4.2/src/proto/livekit_models.d.ts +2 -2
- package/dist/ts4.2/src/room/PCTransport.d.ts +3 -1
- package/dist/ts4.2/src/room/RTCEngine.d.ts +17 -3
- package/dist/ts4.2/src/room/Room.d.ts +10 -0
- package/dist/ts4.2/src/room/events.d.ts +14 -2
- package/dist/ts4.2/src/room/participant/LocalParticipant.d.ts +7 -2
- package/dist/ts4.2/src/room/participant/Participant.d.ts +1 -0
- package/dist/ts4.2/src/room/track/TrackPublication.d.ts +3 -0
- package/dist/ts4.2/src/room/track/options.d.ts +6 -6
- package/dist/ts4.2/src/room/track/utils.d.ts +9 -0
- package/dist/ts4.2/src/room/utils.d.ts +2 -0
- package/package.json +17 -7
- package/src/api/SignalClient.ts +28 -9
- package/src/connectionHelper/checks/turn.ts +1 -0
- package/src/connectionHelper/checks/websocket.ts +1 -0
- package/src/e2ee/E2eeManager.ts +374 -0
- package/src/e2ee/KeyProvider.ts +77 -0
- package/src/e2ee/constants.ts +40 -0
- package/src/e2ee/errors.ts +16 -0
- package/src/e2ee/index.ts +3 -0
- package/src/e2ee/types.ts +160 -0
- package/src/e2ee/utils.ts +127 -0
- package/src/e2ee/worker/FrameCryptor.test.ts +21 -0
- package/src/e2ee/worker/FrameCryptor.ts +614 -0
- package/src/e2ee/worker/ParticipantKeyHandler.ts +129 -0
- package/src/e2ee/worker/e2ee.worker.ts +217 -0
- package/src/e2ee/worker/tsconfig.json +6 -0
- package/src/index.ts +1 -0
- package/src/logger.ts +10 -2
- package/src/options.ts +6 -0
- package/src/proto/livekit_models.ts +12 -12
- package/src/room/PCTransport.ts +39 -9
- package/src/room/RTCEngine.ts +127 -34
- package/src/room/Room.ts +77 -22
- package/src/room/defaults.ts +1 -1
- package/src/room/events.ts +14 -0
- package/src/room/participant/LocalParticipant.ts +52 -8
- package/src/room/participant/Participant.ts +4 -0
- package/src/room/track/LocalTrack.ts +5 -4
- package/src/room/track/RemoteVideoTrack.ts +2 -2
- package/src/room/track/TrackPublication.ts +9 -1
- package/src/room/track/options.ts +3 -2
- package/src/room/track/utils.ts +27 -0
- package/src/room/utils.ts +5 -0
- package/src/room/worker.d.ts +4 -0
- package/src/test/MockMediaStreamTrack.ts +1 -0
package/dist/src/logger.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import * as log from 'loglevel';
|
1
2
|
export declare enum LogLevel {
|
2
3
|
trace = 0,
|
3
4
|
debug = 1,
|
@@ -13,14 +14,16 @@ type StructuredLogger = {
|
|
13
14
|
info: (msg: string, context?: object) => void;
|
14
15
|
warn: (msg: string, context?: object) => void;
|
15
16
|
error: (msg: string, context?: object) => void;
|
17
|
+
setDefaultLevel: (level: log.LogLevelDesc) => void;
|
16
18
|
};
|
17
19
|
declare const _default: StructuredLogger;
|
18
20
|
export default _default;
|
19
|
-
export declare function setLogLevel(level: LogLevel | LogLevelString): void;
|
21
|
+
export declare function setLogLevel(level: LogLevel | LogLevelString, loggerName?: 'livekit' | 'lk-e2ee'): void;
|
20
22
|
export type LogExtension = (level: LogLevel, msg: string, context?: object) => void;
|
21
23
|
/**
|
22
24
|
* use this to hook into the logging function to allow sending internal livekit logs to third party services
|
23
25
|
* if set, the browser logs will lose their stacktrace information (see https://github.com/pimterry/loglevel#writing-plugins)
|
24
26
|
*/
|
25
27
|
export declare function setLogExtension(extension: LogExtension): void;
|
28
|
+
export declare const workerLogger: StructuredLogger;
|
26
29
|
//# sourceMappingURL=logger.d.ts.map
|
package/dist/src/logger.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":"
|
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,KAAK,cAAc,GAAG,MAAM,OAAO,QAAQ,CAAC;AAE5C,KAAK,gBAAgB,GAAG;IACtB,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;CACpD,CAAC;;AAMF,wBAAiD;AAEjD,wBAAgB,WAAW,CAAC,KAAK,EAAE,QAAQ,GAAG,cAAc,EAAE,UAAU,CAAC,EAAE,SAAS,GAAG,SAAS,QAO/F;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,QAkBtD;AAED,eAAO,MAAM,YAAY,kBAA+C,CAAC"}
|
package/dist/src/options.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import type { E2EEOptions } from './e2ee/types';
|
1
2
|
import type { ReconnectPolicy } from './room/ReconnectPolicy';
|
2
3
|
import type { AudioCaptureOptions, AudioOutputOptions, TrackPublishDefaults, VideoCaptureOptions } from './room/track/options';
|
3
4
|
import type { AdaptiveStreamSettings } from './room/track/types';
|
@@ -65,6 +66,10 @@ export interface InternalRoomOptions {
|
|
65
66
|
* experimental flag, mix all audio tracks in web audio
|
66
67
|
*/
|
67
68
|
expWebAudioMix: boolean | WebAudioSettings;
|
69
|
+
/**
|
70
|
+
* @experimental
|
71
|
+
*/
|
72
|
+
e2ee?: E2EEOptions;
|
68
73
|
}
|
69
74
|
/**
|
70
75
|
* Options for when creating a new room
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../src/options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEjE,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,YAAY,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;;;;;OAQG;IACH,cAAc,EAAE,sBAAsB,GAAG,OAAO,CAAC;IAEjD;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,oBAAoB,CAAC,EAAE,mBAAmB,CAAC;IAE3C;;OAEG;IACH,oBAAoB,CAAC,EAAE,mBAAmB,CAAC;IAE3C;;OAEG;IACH,eAAe,CAAC,EAAE,oBAAoB,CAAC;IAEvC;;OAEG;I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AE,MAAM,CAAC;IAE1B;;;;OAIG;IAEH,cAAc,EAAE,OAAO,GAAG,gBAAgB,CAAC;IAE3C;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,OAAO,CAAC,mBAAmB,CAAC;CAAG;AAEpE;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,mEAAmE;IACnE,aAAa,EAAE,OAAO,CAAC;IAEvB,2EAA2E;IAC3E,qBAAqB,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAE7B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,sHAAsH;IACtH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,OAAO,CAAC,0BAA0B,CAAC;CAAG"}
|
@@ -75,7 +75,7 @@ export declare enum DisconnectReason {
|
|
75
75
|
export declare function disconnectReasonFromJSON(object: any): DisconnectReason;
|
76
76
|
export declare function disconnectReasonToJSON(object: DisconnectReason): string;
|
77
77
|
export declare enum ReconnectReason {
|
78
|
-
|
78
|
+
RR_UNKNOWN = 0,
|
79
79
|
RR_SIGNAL_DISCONNECTED = 1,
|
80
80
|
RR_PUBLISHER_FAILED = 2,
|
81
81
|
RR_SUBSCRIBER_FAILED = 3,
|
@@ -85,7 +85,7 @@ export declare enum ReconnectReason {
|
|
85
85
|
export declare function reconnectReasonFromJSON(object: any): ReconnectReason;
|
86
86
|
export declare function reconnectReasonToJSON(object: ReconnectReason): string;
|
87
87
|
export declare enum SubscriptionError {
|
88
|
-
|
88
|
+
SE_UNKNOWN = 0,
|
89
89
|
SE_CODEC_UNSUPPORTED = 1,
|
90
90
|
SE_TRACK_NOTFOUND = 2,
|
91
91
|
UNRECOGNIZED = -1
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"livekit_models.d.ts","sourceRoot":"","s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,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GACnH,CAAC,SAAS;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG;KAAG,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GAAG;IAAE,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,CAAA;CAAE,GAC3G,CAAC,SAAS,EAAE,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GACrD,OAAO,CAAC,CAAC,CAAC,CAAC;AAEf,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC,GAAG,KAAK,CAAC;AACpD,MAAM,MAAM,KAAK,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,CAAC,GACrD,CAAC,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GAAG;KAAG,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK;CAAE,CAAC"}
|
@@ -9,10 +9,12 @@ interface TrackBitrateInfo {
|
|
9
9
|
export declare const PCEvents: {
|
10
10
|
readonly NegotiationStarted: "negotiationStarted";
|
11
11
|
readonly NegotiationComplete: "negotiationComplete";
|
12
|
+
readonly RTPVideoPayloadTypes: "rtpVideoPayloadTypes";
|
12
13
|
};
|
13
14
|
/** @internal */
|
14
15
|
export default class PCTransport extends EventEmitter {
|
15
|
-
|
16
|
+
private _pc;
|
17
|
+
get pc(): RTCPeerConnection;
|
16
18
|
pendingCandidates: RTCIceCandidateInit[];
|
17
19
|
restartingIce: boolean;
|
18
20
|
renegotiate: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PCTransport.d.ts","sourceRoot":"","sources":["../../../src/room/PCTransport.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,eAAe,CAAC;AAQzC,gBAAgB;AAChB,UAAU,gBAAgB;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAUD,eAAO,MAAM,QAAQ
|
1
|
+
{"version":3,"file":"PCTransport.d.ts","sourceRoot":"","sources":["../../../src/room/PCTransport.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,eAAe,CAAC;AAQzC,gBAAgB;AAChB,UAAU,gBAAgB;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAUD,eAAO,MAAM,QAAQ;;;;CAIX,CAAC;AAEX,gBAAgB;AAChB,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,YAAY;IACnD,OAAO,CAAC,GAAG,CAA2B;IAEtC,IAAW,EAAE,sBAGZ;IAED,iBAAiB,EAAE,mBAAmB,EAAE,CAAM;IAE9C,aAAa,EAAE,OAAO,CAAS;IAE/B,WAAW,EAAE,OAAO,CAAS;IAE7B,aAAa,EAAE,gBAAgB,EAAE,CAAM;IAEvC,gBAAgB,EAAE,MAAM,EAAE,CAAM;IAEhC,cAAc,EAAE,MAAM,EAAE,CAAM;IAE9B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;gBAEzC,MAAM,CAAC,EAAE,gBAAgB,EAAE,gBAAgB,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM;IAQrF,IAAI,cAAc,IAAI,OAAO,CAK5B;IAEK,eAAe,CAAC,SAAS,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC;IAO9D,oBAAoB,CAAC,EAAE,EAAE,yBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC;IAoFxE,SAAS;iDAA2B,KAAK,KAAK,IAAI;;MAW1C;IAEF,kBAAkB,CAAC,OAAO,CAAC,EAAE,eAAe;IAwF5C,kBAAkB,IAAI,OAAO,CAAC,yBAAyB,CAAC;IAY9D,oBAAoB,CAAC,IAAI,EAAE,gBAAgB;IAI3C,KAAK;YAmBS,YAAY;CAsC3B"}
|
@@ -2,13 +2,14 @@ import EventEmitter from 'eventemitter3';
|
|
2
2
|
import { SignalClient } from '../api/SignalClient';
|
3
3
|
import type { SignalOptions } from '../api/SignalClient';
|
4
4
|
import type { InternalRoomOptions } from '../options';
|
5
|
-
import { DataPacket, DataPacket_Kind, DisconnectReason, SpeakerInfo, TrackInfo, UserPacket } from '../proto/livekit_models';
|
6
|
-
import { AddTrackRequest, JoinResponse } from '../proto/livekit_rtc';
|
5
|
+
import { DataPacket, DataPacket_Kind, DisconnectReason, ParticipantInfo, Room as RoomModel, SpeakerInfo, TrackInfo, UserPacket } from '../proto/livekit_models';
|
6
|
+
import { AddTrackRequest, ConnectionQualityUpdate, JoinResponse, StreamStateUpdate, SubscriptionPermissionUpdate, SubscriptionResponse } from '../proto/livekit_rtc';
|
7
7
|
import PCTransport from './PCTransport';
|
8
8
|
import type LocalTrack from './track/LocalTrack';
|
9
9
|
import type LocalVideoTrack from './track/LocalVideoTrack';
|
10
10
|
import type { SimulcastTrackInfo } from './track/LocalVideoTrack';
|
11
|
-
import
|
11
|
+
import { Track } from './track/Track';
|
12
|
+
import type { TrackPublishOptions, VideoCodec } from './track/options';
|
12
13
|
/** @internal */
|
13
14
|
export default class RTCEngine extends EventEmitter<EngineEventCallbacks> {
|
14
15
|
private options;
|
@@ -55,6 +56,8 @@ export default class RTCEngine extends EventEmitter<EngineEventCallbacks> {
|
|
55
56
|
constructor(options: InternalRoomOptions);
|
56
57
|
join(url: string, token: string, opts: SignalOptions, abortSignal?: AbortSignal): Promise<JoinResponse>;
|
57
58
|
close(): Promise<void>;
|
59
|
+
cleanupPeerConnections(): Promise<void>;
|
60
|
+
cleanupClient(): Promise<void>;
|
58
61
|
addTrack(req: AddTrackRequest): Promise<TrackInfo>;
|
59
62
|
/**
|
60
63
|
* Removes sender from PeerConnection, returning true if it was removed successfully
|
@@ -67,6 +70,7 @@ export default class RTCEngine extends EventEmitter<EngineEventCallbacks> {
|
|
67
70
|
get dataSubscriberReadyState(): string | undefined;
|
68
71
|
getConnectedServerAddress(): Promise<string | undefined>;
|
69
72
|
private configure;
|
73
|
+
private setupSignalClientCallbacks;
|
70
74
|
private makeRTCConfiguration;
|
71
75
|
private createDataChannels;
|
72
76
|
private handleDataChannel;
|
@@ -120,6 +124,16 @@ export type EngineEventCallbacks = {
|
|
120
124
|
activeSpeakersUpdate: (speakers: Array<SpeakerInfo>) => void;
|
121
125
|
dataPacketReceived: (userPacket: UserPacket, kind: DataPacket_Kind) => void;
|
122
126
|
transportsCreated: (publisher: PCTransport, subscriber: PCTransport) => void;
|
127
|
+
/** @internal */
|
128
|
+
trackSenderAdded: (track: Track, sender: RTCRtpSender) => void;
|
129
|
+
rtpVideoMapUpdate: (rtpMap: Map<number, VideoCodec>) => void;
|
123
130
|
dcBufferStatusChanged: (isLow: boolean, kind: DataPacket_Kind) => void;
|
131
|
+
participantUpdate: (infos: ParticipantInfo[]) => void;
|
132
|
+
roomUpdate: (room: RoomModel) => void;
|
133
|
+
connectionQualityUpdate: (update: ConnectionQualityUpdate) => void;
|
134
|
+
speakersChanged: (speakerUpdates: SpeakerInfo[]) => void;
|
135
|
+
streamStateChanged: (update: StreamStateUpdate) => void;
|
136
|
+
subscriptionError: (resp: SubscriptionResponse) => void;
|
137
|
+
subscriptionPermissionUpdate: (update: SubscriptionPermissionUpdate) => void;
|
124
138
|
};
|
125
139
|
//# sourceMappingURL=RTCEngine.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RTCEngine.d.ts","sourceRoot":"","sources":["../../../src/room/RTCEngine.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,eAAe,CAAC;
|
1
|
+
{"version":3,"file":"RTCEngine.d.ts","sourceRoot":"","sources":["../../../src/room/RTCEngine.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,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,yBAAyB,CAAC;AACjC,OAAO,EACL,eAAe,EACf,uBAAuB,EACvB,YAAY,EAIZ,iBAAiB,EACjB,4BAA4B,EAC5B,oBAAoB,EAErB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,WAAyB,MAAM,eAAe,CAAC;AAatD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,eAAe,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,KAAK,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAyBvE,gBAAgB;AAChB,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,YAAY,CAAC,oBAAoB,CAAC;IAqF3D,OAAO,CAAC,OAAO;IApF3B,SAAS,CAAC,EAAE,WAAW,CAAC;IAExB,UAAU,CAAC,EAAE,WAAW,CAAC;IAEzB,MAAM,EAAE,YA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kB,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IAC5E,iBAAiB,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,KAAK,IAAI,CAAC;IAC7E,gBAAgB;IAChB,gBAAgB,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC/D,iBAAiB,EAAE,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IAC7D,qBAAqB,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IACvE,iBAAiB,EAAE,CAAC,KAAK,EAAE,eAAe,EAAE,KAAK,IAAI,CAAC;IACtD,UAAU,EAAE,CAAC,IAAI,EAAE,SAAS,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;CAC9E,CAAC"}
|
package/dist/src/room/Room.d.ts
CHANGED
@@ -44,6 +44,8 @@ declare class Room extends EventEmitter<RoomEventCallbacks> {
|
|
44
44
|
localParticipant: LocalParticipant;
|
45
45
|
/** options of room */
|
46
46
|
options: InternalRoomOptions;
|
47
|
+
/** reflects the sender encryption status of the local participant */
|
48
|
+
isE2EEEnabled: boolean;
|
47
49
|
private roomInfo?;
|
48
50
|
private identityToSid;
|
49
51
|
/** connect options of room */
|
@@ -55,6 +57,7 @@ declare class Room extends EventEmitter<RoomEventCallbacks> {
|
|
55
57
|
/** future holding client initiated connection attempt */
|
56
58
|
private connectFuture?;
|
57
59
|
private disconnectLock;
|
60
|
+
private e2eeManager;
|
58
61
|
private cachedParticipantSids;
|
59
62
|
private connectionReconcileInterval?;
|
60
63
|
/**
|
@@ -62,6 +65,11 @@ declare class Room extends EventEmitter<RoomEventCallbacks> {
|
|
62
65
|
* @param options
|
63
66
|
*/
|
64
67
|
constructor(options?: RoomOptions);
|
68
|
+
/**
|
69
|
+
* @experimental
|
70
|
+
*/
|
71
|
+
setE2EEEnabled(enabled: boolean): Promise<void>;
|
72
|
+
private setupE2EE;
|
65
73
|
/**
|
66
74
|
* if the current room has a participant with `recorder: true` in its JWT grant
|
67
75
|
**/
|
@@ -228,6 +236,8 @@ export type RoomEventCallbacks = {
|
|
228
236
|
audioPlaybackChanged: (playing: boolean) => void;
|
229
237
|
signalConnected: () => void;
|
230
238
|
recordingStatusChanged: (recording: boolean) => void;
|
239
|
+
participantEncryptionStatusChanged: (encrypted: boolean, participant?: Participant) => void;
|
240
|
+
encryptionError: (error: Error) => void;
|
231
241
|
dcBufferStatusChanged: (isLow: boolean, kind: DataPacket_Kind) => void;
|
232
242
|
activeDeviceChanged: (kind: MediaDeviceKind, deviceId: string) => void;
|
233
243
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Room.d.ts","sourceRoot":"","sources":["../../../src/room/Room.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,eAAe,CAAC;AACzC,OAAO,gBAAgB,CAAC;
|
1
|
+
{"version":3,"file":"Room.d.ts","sourceRoot":"","sources":["../../../src/room/Room.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,eAAe,CAAC;AACzC,OAAO,gBAAgB,CAAC;AAKxB,OAAO,KAAK,EAEV,mBAAmB,EACnB,kBAAkB,EAClB,WAAW,EACZ,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,eAAe,EACf,gBAAgB,EAGhB,qBAAqB,E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AI,EAAE,eAAe,KAAK,IAAI,CAAC;IACvE,mBAAmB,EAAE,CAAC,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACxE,CAAC"}
|
@@ -239,6 +239,8 @@ export declare enum RoomEvent {
|
|
239
239
|
* args: (isRecording: boolean)
|
240
240
|
*/
|
241
241
|
RecordingStatusChanged = "recordingStatusChanged",
|
242
|
+
ParticipantEncryptionStatusChanged = "participantEncryptionStatusChanged",
|
243
|
+
EncryptionError = "encryptionError",
|
242
244
|
/**
|
243
245
|
* Emits whenever the current buffer status of a data channel changes
|
244
246
|
* args: (isLow: boolean, kind: [[DataPacket_Kind]])
|
@@ -387,7 +389,9 @@ export declare enum ParticipantEvent {
|
|
387
389
|
* A participant's permission has changed. Currently only fired on LocalParticipant.
|
388
390
|
* args: (prevPermissions: [[ParticipantPermission]])
|
389
391
|
*/
|
390
|
-
ParticipantPermissionsChanged = "participantPermissionsChanged"
|
392
|
+
ParticipantPermissionsChanged = "participantPermissionsChanged",
|
393
|
+
/** @internal */
|
394
|
+
PCTrackAdded = "pcTrackAdded"
|
391
395
|
}
|
392
396
|
/** @internal */
|
393
397
|
export declare enum EngineEvent {
|
@@ -404,7 +408,15 @@ export declare enum EngineEvent {
|
|
404
408
|
MediaTrackAdded = "mediaTrackAdded",
|
405
409
|
ActiveSpeakersUpdate = "activeSpeakersUpdate",
|
406
410
|
DataPacketReceived = "dataPacketReceived",
|
407
|
-
|
411
|
+
RTPVideoMapUpdate = "rtpVideoMapUpdate",
|
412
|
+
DCBufferStatusChanged = "dcBufferStatusChanged",
|
413
|
+
ParticipantUpdate = "participantUpdate",
|
414
|
+
RoomUpdate = "roomUpdate",
|
415
|
+
SpeakersChanged = "speakersChanged",
|
416
|
+
StreamStateChanged = "streamStateChanged",
|
417
|
+
ConnectionQualityUpdate = "connectionQualityUpdate",
|
418
|
+
SubscriptionError = "subscriptionError",
|
419
|
+
SubscriptionPermissionUpdate = "subscriptionPermissionUpdate"
|
408
420
|
}
|
409
421
|
export declare enum TrackEvent {
|
410
422
|
Message = "message",
|
@@ -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;;;OAGG;IACH,YAAY,iBAAiB;IAE7B;;;;OAIG;IACH,sBAAsB,2BAA2B;IAEjD;;OAEG;IACH,YAAY,2BAA2B;IAEvC;;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,8BAA8B;IAEvD;;;;;;;OAOG;IACH,qBAAqB,0BAA0B;IAE/C;;;;;;;;OAQG;IACH,0BAA0B,+BAA+B;IAEzD;;;;;OAKG;IACH,sBAAsB,2BAA2B;IAEjD;;;;;;;OAOG;IACH,mBAAmB,wBAAwB;IAE3C;;;;;;OAMG;IACH,YAAY,iBAAiB;IAE7B;;;;;;OAMG;IACH,wBAAwB,6BAA6B;IAErD;;;;;;;;;OASG;IACH,uBAAuB,4BAA4B;IAEnD;;;;;;;;;OASG;IACH,kCAAkC,uC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B,uBAAuB;IACzC,iBAAiB,sBAAsB;IACvC,qBAAqB,0BAA0B;IAC/C,iBAAiB,sBAAsB;IACvC,UAAU,eAAe;IACzB,eAAe,oBAAoB;IACnC,kBAAkB,uBAAuB;IACzC,uBAAuB,4BAA4B;IACnD,iBAAiB,sBAAsB;IACvC,4BAA4B,iCAAiC;CAC9D;AAED,oBAAY,UAAU;IACpB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB;;OAEG;IACH,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,gBAAgB;IAChB,cAAc,mBAAmB;IACjC,gBAAgB;IAChB,kBAAkB,uBAAuB;IACzC,gBAAgB;IAChB,oBAAoB,yBAAyB;IAC7C,gBAAgB;IAChB,mBAAmB,wBAAwB;IAC3C;;;OAGG;IACH,oBAAoB,yBAAyB;IAC7C,gBAAgB;IAChB,iBAAiB,sBAAsB;IACvC,gBAAgB;IAChB,sBAAsB,2BAA2B;IACjD,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;CAC1C"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { InternalRoomOptions } from '../../options';
|
2
|
-
import { DataPacket_Kind, ParticipantInfo } from '../../proto/livekit_models';
|
2
|
+
import { DataPacket_Kind, ParticipantInfo, ParticipantPermission } from '../../proto/livekit_models';
|
3
3
|
import { DataChannelInfo, TrackPublishedResponse } from '../../proto/livekit_rtc';
|
4
4
|
import type RTCEngine from '../RTCEngine';
|
5
5
|
import LocalTrack from '../track/LocalTrack';
|
@@ -26,6 +26,7 @@ export default class LocalParticipant extends Participant {
|
|
26
26
|
private participantTrackPermissions;
|
27
27
|
private allParticipantsAllowedToSubscribe;
|
28
28
|
private roomOptions;
|
29
|
+
private encryptionType;
|
29
30
|
private reconnectFuture?;
|
30
31
|
/** @internal */
|
31
32
|
constructor(sid: string, identity: string, engine: RTCEngine, options: InternalRoomOptions);
|
@@ -71,6 +72,10 @@ export default class LocalParticipant extends Participant {
|
|
71
72
|
* Resolves with a `LocalTrackPublication` instance if successful and `undefined` otherwise
|
72
73
|
*/
|
73
74
|
setScreenShareEnabled(enabled: boolean, options?: ScreenShareCaptureOptions, publishOptions?: TrackPublishOptions): Promise<LocalTrackPublication | undefined>;
|
75
|
+
/** @internal */
|
76
|
+
setPermissions(permissions: ParticipantPermission): boolean;
|
77
|
+
/** @internal */
|
78
|
+
setE2EEEnabled(enabled: boolean): Promise<void>;
|
74
79
|
/**
|
75
80
|
* Enable or disable publishing for a track by source. This serves as a simple
|
76
81
|
* way to manage the common tracks (camera, mic, or screen share).
|
@@ -108,7 +113,7 @@ export default class LocalParticipant extends Participant {
|
|
108
113
|
publishAdditionalCodecForTrack(track: LocalTrack | MediaStreamTrack, videoCodec: BackupVideoCodec, options?: TrackPublishOptions): Promise<void>;
|
109
114
|
unpublishTrack(track: LocalTrack | MediaStreamTrack, stopOnUnpublish?: boolean): Promise<LocalTrackPublication | undefined>;
|
110
115
|
unpublishTracks(tracks: LocalTrack[] | MediaStreamTrack[]): Promise<LocalTrackPublication[]>;
|
111
|
-
republishAllTracks(options?: TrackPublishOptions): Promise<void>;
|
116
|
+
republishAllTracks(options?: TrackPublishOptions, restartTracks?: boolean): Promise<void>;
|
112
117
|
/**
|
113
118
|
* Publish a new data payload to the room. Data will be forwarded to each
|
114
119
|
* participant in the room if the destination field in publishOptions is empty
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LocalParticipant.d.ts","sourceRoot":"","sources":["../../../../src/room/participant/LocalParticipant.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,M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EAChB,IAAI,EAAE,eAAe,EACrB,cAAc,CAAC,EAAE,kBAAkB,GAClC,OAAO,CAAC,IAAI,CAAC;IAChB;;;;;;;;;;OAUG;IACG,WAAW,CACf,IAAI,EAAE,UAAU,EAChB,IAAI,EAAE,eAAe,EACrB,WAAW,CAAC,EAAE,iBAAiB,EAAE,GAAG,MAAM,EAAE,GAC3C,OAAO,CAAC,IAAI,CAAC;IAwChB;;;;;;;;;;;;;;;;OAgBG;IACH,+BAA+B,CAC7B,sBAAsB,EAAE,OAAO,EAC/B,2BAA2B,GAAE,0BAA0B,EAAO;IAShE,gBAAgB;IAChB,UAAU,CAAC,IAAI,EAAE,eAAe,GAAG,OAAO;IA8B1C,OAAO,CAAC,kCAAkC,CASxC;IAEF,gBAAgB;IAChB,OAAO,CAAC,cAAc,CAEpB;IAGF,gBAAgB;IAChB,OAAO,CAAC,YAAY,CAWlB;IAEF,OAAO,CAAC,qBAAqB,CAG3B;IAEF,OAAO,CAAC,sBAAsB,CAG5B;IAEF,OAAO,CAAC,6BAA6B,CA0BnC;IAEF,OAAO,CAAC,2BAA2B,CAUjC;IAEF,OAAO,CAAC,gBAAgB,CA+CtB;IAEF,OAAO,CAAC,sBAAsB;IAwB9B,gBAAgB;IAChB,mBAAmB,IAAI,sBAAsB,EAAE;IAa/C,gBAAgB;IAChB,gBAAgB,IAAI,eAAe,EAAE;CAoBtC"}
|
@@ -32,6 +32,7 @@ export default class Participant extends EventEmitter<ParticipantEventCallbacks>
|
|
32
32
|
lastSpokeAt?: Date | undefined;
|
33
33
|
permissions?: ParticipantPermission;
|
34
34
|
private _connectionQuality;
|
35
|
+
get isEncrypted(): boolean;
|
35
36
|
/** @internal */
|
36
37
|
constructor(sid: string, identity: string, name?: string, metadata?: string);
|
37
38
|
getTracks(): TrackPublication[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Participant.d.ts","sourceRoot":"","sources":["../../../../src/room/participant/Participant.ts"],"names":[],"mappings":"AAAA,OAAO,Y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,QAAQ,CAAC,KAAK,EAAE,OAAO;IAavB,MAAM,IAAI,gBAAgB;IAC1B,MAAM,CAAC,OAAO,EAAE,gBAAgB,GAAG,gBAAgB;IAoBnD;;;;OAIG;IACH,kBAAkB,CAAC,WAAW,EAAE,WAAW;IAuB3C;;;;OAIG;IACH,wBAAwB,CAAC,WAAW,EAAE,WAAW;IAcjD,MAAM,IAAI,gBAAgB,EAAE;IAC5B,MAAM,CAAC,OAAO,EAAE,gBAAgB,GAAG,gBAAgB;IAgBnD,gBAAgB;IAChB,wBAAwB,IAAI,MAAM,GAAG,SAAS;IAI9C,SAAS,CAAC,eAAe,sBAYvB;YAEY,gBAAgB;IA+B9B,OAAO,CAAC,oBAAoB;cAOZ,0BAA0B;IAM1C,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAEnB;IAEnB,OAAO,CAAC,gBAAgB;IA8BxB,OAAO,CAAC,gBAAgB;IAyBxB,OAAO,CAAC,eAAe;CAiBxB;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,IAAI,MAAM,CAAC;IAChB,MAAM,IAAI,MAAM,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC;IAExC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,uBAAuB,CAAC,EAAE,MAAM,IAAI,CAAC;IACrC,OAAO,IAAI,IAAI,CAAC;IAChB,aAAa,IAAI,IAAI,CAAC;CACvB"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import EventEmitter from 'eventemitter3';
|
2
|
+
import { Encryption_Type } from '../../proto/livekit_models';
|
2
3
|
import type { SubscriptionError, TrackInfo } from '../../proto/livekit_models';
|
3
4
|
import type { UpdateSubscription, UpdateTrackSettings } from '../../proto/livekit_rtc';
|
4
5
|
import LocalAudioTrack from './LocalAudioTrack';
|
@@ -22,12 +23,14 @@ export declare class TrackPublication extends EventEmitter<PublicationEventCallb
|
|
22
23
|
/** @internal */
|
23
24
|
trackInfo?: TrackInfo;
|
24
25
|
protected metadataMuted: boolean;
|
26
|
+
protected encryption: Encryption_Type;
|
25
27
|
constructor(kind: Track.Kind, id: string, name: string);
|
26
28
|
/** @internal */
|
27
29
|
setTrack(track?: Track): void;
|
28
30
|
get isMuted(): boolean;
|
29
31
|
get isEnabled(): boolean;
|
30
32
|
get isSubscribed(): boolean;
|
33
|
+
get isEncrypted(): boolean;
|
31
34
|
/**
|
32
35
|
* an [AudioTrack] if this publication holds an audio track
|
33
36
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TrackPublication.d.ts","sourceRoot":"","sources":["../../../../src/room/track/TrackPublication.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,eAAe,CAAC;AAEzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC/E,OAAO,KAAK,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEvF,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;AAEhC,qBAAa,gBAAiB,SAAQ,YAAY,CAAC,yBAAyB,CAAC;IAC3E,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;IAEjB,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC;IAEpB,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;IAErB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,MAAM,CA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,kBAAkB,KAAK,IAAI,CAAC;IACtD,UAAU,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IACzC,YAAY,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IAC3C,yBAAyB,EAAE,CACzB,MAAM,EAAE,gBAAgB,CAAC,kBAAkB,EAC3C,UAAU,EAAE,gBAAgB,CAAC,kBAAkB,KAC5C,IAAI,CAAC;IACV,kBAAkB,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;CACxD,CAAC"}
|
@@ -208,9 +208,9 @@ export interface AudioPreset {
|
|
208
208
|
maxBitrate: number;
|
209
209
|
priority?: RTCPriorityType;
|
210
210
|
}
|
211
|
-
declare const codecs: readonly ["vp8", "h264", "vp9", "av1"];
|
212
211
|
declare const backupCodecs: readonly ["vp8", "h264"];
|
213
|
-
export
|
212
|
+
export declare const videoCodecs: readonly ["vp8", "h264", "vp9", "av1"];
|
213
|
+
export type VideoCodec = (typeof videoCodecs)[number];
|
214
214
|
export type BackupVideoCodec = (typeof backupCodecs)[number];
|
215
215
|
export declare function isBackupCodec(codec: string): codec is BackupVideoCodec;
|
216
216
|
export declare function isCodecEqual(c1: string | undefined, c2: string | undefined): boolean;
|
@@ -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;;OAEG;IACH,WAAW,CAAC,EAAE;QAAE,KAAK,EAAE,gBAAgB,CAAC;QAAC,QAAQ,EAAE,aAAa,CAAA;KAAE,GAAG,KAAK,CAAC;IAE3E;;OAEG;IACH,mBAAmB,CAAC,EAAE,aAAa,CAAC;IAEpC;;;OAGG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;I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AAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7D,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAEtE;AAED,wBAAgB,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,EAAE,EAAE,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAKpF;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,UAAU,CAAC;AAElD,yBAAiB,YAAY,CAAC;IACrB,MAAM,SAAS,EAAE,WAEvB,CAAC;IACK,MAAM,MAAM,EAAE,WAEpB,CAAC;IACK,MAAM,KAAK,EAAE,WAEnB,CAAC;IACK,MAAM,WAAW,EAAE,WAEzB,CAAC;IACK,MAAM,gBAAgB,EAAE,WAE9B,CAAC;IACK,MAAM,sBAAsB,EAAE,WAEpC,CAAC;CACH;AAED;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;CAUf,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;CAUjB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;CAMrB,CAAC"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { Track } from './Track';
|
1
2
|
import type { AudioCaptureOptions, CreateLocalTracksOptions, VideoCaptureOptions } from './options';
|
2
3
|
import type { AudioTrack } from './types';
|
3
4
|
export declare function mergeDefaultOptions(options?: CreateLocalTracksOptions, audioDefaults?: AudioCaptureOptions, videoDefaults?: VideoCaptureOptions): CreateLocalTracksOptions;
|
@@ -11,4 +12,12 @@ export declare function detectSilence(track: AudioTrack, timeOffset?: number): P
|
|
11
12
|
* @internal
|
12
13
|
*/
|
13
14
|
export declare function getNewAudioContext(): AudioContext | void;
|
15
|
+
/**
|
16
|
+
* @internal
|
17
|
+
*/
|
18
|
+
export declare function kindToSource(kind: MediaDeviceKind): Track.Source.Camera | Track.Source.Microphone | Track.Source.Unknown;
|
19
|
+
/**
|
20
|
+
* @internal
|
21
|
+
*/
|
22
|
+
export declare function sourceToKind(source: Track.Source): MediaDeviceKind | undefined;
|
14
23
|
//# sourceMappingURL=utils.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/room/track/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACpG,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,CAqB1B;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"}
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/room/track/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACpG,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,CAqB1B;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"}
|
package/dist/src/room/utils.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import { ClientInfo } from '../proto/livekit_models';
|
2
2
|
import type LocalAudioTrack from './track/LocalAudioTrack';
|
3
3
|
import type RemoteAudioTrack from './track/RemoteAudioTrack';
|
4
|
+
import { VideoCodec } from './track/options';
|
4
5
|
export declare const ddExtensionURI = "https://aomediacodec.github.io/av1-rtp-spec/#dependency-descriptor-rtp-header-extension";
|
5
6
|
export declare function unpackStreamId(packed: string): string[];
|
6
7
|
export declare function sleep(duration: number): Promise<void>;
|
@@ -84,5 +85,6 @@ export declare class Mutex {
|
|
84
85
|
isLocked(): boolean;
|
85
86
|
lock(): Promise<() => void>;
|
86
87
|
}
|
88
|
+
export declare function isVideoCodec(maybeCodec: string): maybeCodec is VideoCodec;
|
87
89
|
export declare function unwrapConstraint(constraint: ConstrainDOMString): string;
|
88
90
|
//# sourceMappingURL=utils.d.ts.map
|