@livekit/rtc-node 0.13.21 → 0.13.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/async_queue.cjs +80 -0
- package/dist/async_queue.cjs.map +1 -0
- package/dist/async_queue.d.cts +30 -0
- package/dist/async_queue.d.ts +30 -0
- package/dist/async_queue.d.ts.map +1 -0
- package/dist/async_queue.js +56 -0
- package/dist/async_queue.js.map +1 -0
- package/dist/audio_frame.cjs +5 -0
- package/dist/audio_frame.cjs.map +1 -1
- package/dist/audio_frame.d.cts +3 -0
- package/dist/audio_frame.d.ts +3 -0
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +5 -0
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_mixer.cjs +281 -0
- package/dist/audio_mixer.cjs.map +1 -0
- package/dist/audio_mixer.d.cts +121 -0
- package/dist/audio_mixer.d.ts +121 -0
- package/dist/audio_mixer.d.ts.map +1 -0
- package/dist/audio_mixer.js +256 -0
- package/dist/audio_mixer.js.map +1 -0
- package/dist/audio_stream.cjs +18 -5
- package/dist/audio_stream.cjs.map +1 -1
- package/dist/audio_stream.d.cts +4 -3
- package/dist/audio_stream.d.ts +4 -3
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +18 -5
- package/dist/audio_stream.js.map +1 -1
- package/dist/data_streams/stream_reader.cjs.map +1 -1
- package/dist/data_streams/stream_reader.js.map +1 -1
- package/dist/frame_processor.cjs +38 -0
- package/dist/frame_processor.cjs.map +1 -0
- package/dist/frame_processor.d.cts +29 -0
- package/dist/frame_processor.d.ts +29 -0
- package/dist/frame_processor.d.ts.map +1 -0
- package/dist/frame_processor.js +14 -0
- package/dist/frame_processor.js.map +1 -0
- package/dist/index.cjs +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/participant.cjs +4 -4
- package/dist/participant.cjs.map +1 -1
- package/dist/participant.d.cts +2 -2
- package/dist/participant.d.ts +2 -2
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +4 -4
- package/dist/participant.js.map +1 -1
- package/dist/proto/audio_frame_pb.cjs.map +1 -1
- package/dist/proto/audio_frame_pb.js.map +1 -1
- package/dist/proto/e2ee_pb.cjs.map +1 -1
- package/dist/proto/e2ee_pb.js.map +1 -1
- package/dist/proto/ffi_pb.cjs +4 -2
- package/dist/proto/ffi_pb.cjs.map +1 -1
- package/dist/proto/ffi_pb.d.cts +13 -1
- package/dist/proto/ffi_pb.d.ts +13 -1
- package/dist/proto/ffi_pb.d.ts.map +1 -1
- package/dist/proto/ffi_pb.js +5 -3
- package/dist/proto/ffi_pb.js.map +1 -1
- package/dist/proto/handle_pb.cjs.map +1 -1
- package/dist/proto/handle_pb.js.map +1 -1
- package/dist/proto/participant_pb.cjs +26 -4
- package/dist/proto/participant_pb.cjs.map +1 -1
- package/dist/proto/participant_pb.d.cts +31 -2
- package/dist/proto/participant_pb.d.ts +31 -2
- package/dist/proto/participant_pb.d.ts.map +1 -1
- package/dist/proto/participant_pb.js +24 -3
- package/dist/proto/participant_pb.js.map +1 -1
- package/dist/proto/room_pb.cjs +29 -2
- package/dist/proto/room_pb.cjs.map +1 -1
- package/dist/proto/room_pb.d.cts +30 -7
- package/dist/proto/room_pb.d.ts +30 -7
- package/dist/proto/room_pb.d.ts.map +1 -1
- package/dist/proto/room_pb.js +28 -2
- package/dist/proto/room_pb.js.map +1 -1
- package/dist/proto/rpc_pb.cjs.map +1 -1
- package/dist/proto/rpc_pb.js.map +1 -1
- package/dist/proto/stats_pb.cjs.map +1 -1
- package/dist/proto/stats_pb.js.map +1 -1
- package/dist/proto/track_pb.cjs.map +1 -1
- package/dist/proto/track_pb.js.map +1 -1
- package/dist/proto/track_publication_pb.cjs +66 -2
- package/dist/proto/track_publication_pb.cjs.map +1 -1
- package/dist/proto/track_publication_pb.d.cts +56 -1
- package/dist/proto/track_publication_pb.d.ts +56 -1
- package/dist/proto/track_publication_pb.d.ts.map +1 -1
- package/dist/proto/track_publication_pb.js +62 -1
- package/dist/proto/track_publication_pb.js.map +1 -1
- package/dist/proto/video_frame_pb.cjs +3 -1
- package/dist/proto/video_frame_pb.cjs.map +1 -1
- package/dist/proto/video_frame_pb.d.cts +5 -1
- package/dist/proto/video_frame_pb.d.ts +5 -1
- package/dist/proto/video_frame_pb.d.ts.map +1 -1
- package/dist/proto/video_frame_pb.js +3 -1
- package/dist/proto/video_frame_pb.js.map +1 -1
- package/dist/room.cjs +286 -288
- package/dist/room.cjs.map +1 -1
- package/dist/room.d.cts +11 -11
- package/dist/room.d.ts +11 -11
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +287 -289
- package/dist/room.js.map +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.cjs.map +1 -1
- package/dist/version.d.cts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +9 -8
- package/src/async_queue.test.ts +250 -0
- package/src/async_queue.ts +80 -0
- package/src/audio_frame.ts +7 -0
- package/src/audio_mixer.test.ts +167 -0
- package/src/audio_mixer.ts +407 -0
- package/src/audio_stream.ts +22 -7
- package/src/data_streams/stream_reader.ts +4 -4
- package/src/frame_processor.ts +29 -0
- package/src/index.ts +6 -0
- package/src/participant.ts +5 -5
- package/src/proto/audio_frame_pb.ts +1 -1
- package/src/proto/e2ee_pb.ts +1 -1
- package/src/proto/ffi_pb.ts +16 -2
- package/src/proto/handle_pb.ts +1 -1
- package/src/proto/participant_pb.ts +45 -1
- package/src/proto/room_pb.ts +52 -8
- package/src/proto/rpc_pb.ts +1 -1
- package/src/proto/stats_pb.ts +1 -1
- package/src/proto/track_pb.ts +1 -1
- package/src/proto/track_publication_pb.ts +105 -1
- package/src/proto/video_frame_pb.ts +7 -1
- package/src/room.ts +297 -300
- package/src/version.ts +1 -1
package/dist/proto/room_pb.js
CHANGED
|
@@ -1498,7 +1498,6 @@ _RoomEvent.fields = proto2.util.newFieldList(() => [
|
|
|
1498
1498
|
{ no: 17, name: "participant_metadata_changed", kind: "message", T: ParticipantMetadataChanged, oneof: "message" },
|
|
1499
1499
|
{ no: 18, name: "participant_name_changed", kind: "message", T: ParticipantNameChanged, oneof: "message" },
|
|
1500
1500
|
{ no: 19, name: "participant_attributes_changed", kind: "message", T: ParticipantAttributesChanged, oneof: "message" },
|
|
1501
|
-
{ no: 39, name: "participant_encryption_status_changed", kind: "message", T: ParticipantEncryptionStatusChanged, oneof: "message" },
|
|
1502
1501
|
{ no: 20, name: "connection_quality_changed", kind: "message", T: ConnectionQualityChanged, oneof: "message" },
|
|
1503
1502
|
{ no: 21, name: "connection_state_changed", kind: "message", T: ConnectionStateChanged, oneof: "message" },
|
|
1504
1503
|
{ no: 22, name: "disconnected", kind: "message", T: Disconnected, oneof: "message" },
|
|
@@ -1517,7 +1516,9 @@ _RoomEvent.fields = proto2.util.newFieldList(() => [
|
|
|
1517
1516
|
{ no: 35, name: "text_stream_opened", kind: "message", T: TextStreamOpened, oneof: "message" },
|
|
1518
1517
|
{ no: 36, name: "room_updated", kind: "message", T: RoomInfo, oneof: "message" },
|
|
1519
1518
|
{ no: 37, name: "moved", kind: "message", T: RoomInfo, oneof: "message" },
|
|
1520
|
-
{ no: 38, name: "participants_updated", kind: "message", T: ParticipantsUpdated, oneof: "message" }
|
|
1519
|
+
{ no: 38, name: "participants_updated", kind: "message", T: ParticipantsUpdated, oneof: "message" },
|
|
1520
|
+
{ no: 39, name: "participant_encryption_status_changed", kind: "message", T: ParticipantEncryptionStatusChanged, oneof: "message" },
|
|
1521
|
+
{ no: 40, name: "token_refreshed", kind: "message", T: TokenRefreshed, oneof: "message" }
|
|
1521
1522
|
]);
|
|
1522
1523
|
let RoomEvent = _RoomEvent;
|
|
1523
1524
|
const _RoomInfo = class _RoomInfo extends Message {
|
|
@@ -2419,6 +2420,30 @@ _Reconnected.runtime = proto2;
|
|
|
2419
2420
|
_Reconnected.typeName = "livekit.proto.Reconnected";
|
|
2420
2421
|
_Reconnected.fields = proto2.util.newFieldList(() => []);
|
|
2421
2422
|
let Reconnected = _Reconnected;
|
|
2423
|
+
const _TokenRefreshed = class _TokenRefreshed extends Message {
|
|
2424
|
+
constructor(data) {
|
|
2425
|
+
super();
|
|
2426
|
+
proto2.util.initPartial(data, this);
|
|
2427
|
+
}
|
|
2428
|
+
static fromBinary(bytes, options) {
|
|
2429
|
+
return new _TokenRefreshed().fromBinary(bytes, options);
|
|
2430
|
+
}
|
|
2431
|
+
static fromJson(jsonValue, options) {
|
|
2432
|
+
return new _TokenRefreshed().fromJson(jsonValue, options);
|
|
2433
|
+
}
|
|
2434
|
+
static fromJsonString(jsonString, options) {
|
|
2435
|
+
return new _TokenRefreshed().fromJsonString(jsonString, options);
|
|
2436
|
+
}
|
|
2437
|
+
static equals(a, b) {
|
|
2438
|
+
return proto2.util.equals(_TokenRefreshed, a, b);
|
|
2439
|
+
}
|
|
2440
|
+
};
|
|
2441
|
+
_TokenRefreshed.runtime = proto2;
|
|
2442
|
+
_TokenRefreshed.typeName = "livekit.proto.TokenRefreshed";
|
|
2443
|
+
_TokenRefreshed.fields = proto2.util.newFieldList(() => [
|
|
2444
|
+
{ no: 1, name: "token", kind: "scalar", T: 9, req: true }
|
|
2445
|
+
]);
|
|
2446
|
+
let TokenRefreshed = _TokenRefreshed;
|
|
2422
2447
|
const _RoomEOS = class _RoomEOS extends Message {
|
|
2423
2448
|
constructor(data) {
|
|
2424
2449
|
super();
|
|
@@ -3187,6 +3212,7 @@ export {
|
|
|
3187
3212
|
SetSubscribedResponse,
|
|
3188
3213
|
SipDTMF,
|
|
3189
3214
|
TextStreamOpened,
|
|
3215
|
+
TokenRefreshed,
|
|
3190
3216
|
TrackMuted,
|
|
3191
3217
|
TrackPublishOptions,
|
|
3192
3218
|
TrackPublished,
|