@livekit/rtc-node 0.13.20 → 0.13.21
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/Cargo.toml +6 -3
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/participant.cjs +43 -32
- package/dist/participant.cjs.map +1 -1
- package/dist/participant.d.cts +3 -0
- package/dist/participant.d.ts +3 -0
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +43 -32
- package/dist/participant.js.map +1 -1
- package/dist/proto/data_stream_pb.cjs +91 -2
- package/dist/proto/data_stream_pb.cjs.map +1 -1
- package/dist/proto/data_stream_pb.d.cts +92 -1
- package/dist/proto/data_stream_pb.d.ts +92 -1
- package/dist/proto/data_stream_pb.d.ts.map +1 -1
- package/dist/proto/data_stream_pb.js +88 -2
- package/dist/proto/data_stream_pb.js.map +1 -1
- package/dist/proto/ffi_pb.cjs +6 -3
- package/dist/proto/ffi_pb.cjs.map +1 -1
- package/dist/proto/ffi_pb.d.cts +19 -1
- package/dist/proto/ffi_pb.d.ts +19 -1
- package/dist/proto/ffi_pb.d.ts.map +1 -1
- package/dist/proto/ffi_pb.js +7 -4
- package/dist/proto/ffi_pb.js.map +1 -1
- package/dist/proto/room_pb.cjs +32 -2
- package/dist/proto/room_pb.cjs.map +1 -1
- package/dist/proto/room_pb.d.cts +38 -2
- package/dist/proto/room_pb.d.ts +38 -2
- package/dist/proto/room_pb.d.ts.map +1 -1
- package/dist/proto/room_pb.js +31 -2
- package/dist/proto/room_pb.js.map +1 -1
- package/dist/room.cjs +300 -205
- package/dist/room.cjs.map +1 -1
- package/dist/room.d.cts +16 -3
- package/dist/room.d.ts +16 -3
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +301 -206
- 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 +6 -6
- package/src/participant.ts +48 -30
- package/src/proto/data_stream_pb.ts +159 -0
- package/src/proto/ffi_pb.ts +22 -1
- package/src/proto/room_pb.ts +64 -1
- package/src/room.ts +319 -214
- package/src/version.ts +1 -1
package/dist/proto/room_pb.js
CHANGED
|
@@ -1279,7 +1279,8 @@ _TrackPublishOptions.fields = proto2.util.newFieldList(() => [
|
|
|
1279
1279
|
{ no: 5, name: "red", kind: "scalar", T: 8, opt: true },
|
|
1280
1280
|
{ no: 6, name: "simulcast", kind: "scalar", T: 8, opt: true },
|
|
1281
1281
|
{ no: 7, name: "source", kind: "enum", T: proto2.getEnumType(TrackSource), opt: true },
|
|
1282
|
-
{ no: 8, name: "stream", kind: "scalar", T: 9, opt: true }
|
|
1282
|
+
{ no: 8, name: "stream", kind: "scalar", T: 9, opt: true },
|
|
1283
|
+
{ no: 9, name: "preconnect_buffer", kind: "scalar", T: 8, opt: true }
|
|
1283
1284
|
]);
|
|
1284
1285
|
let TrackPublishOptions = _TrackPublishOptions;
|
|
1285
1286
|
const _IceServer = class _IceServer extends Message {
|
|
@@ -1370,7 +1371,8 @@ _RoomOptions.fields = proto2.util.newFieldList(() => [
|
|
|
1370
1371
|
{ no: 3, name: "dynacast", kind: "scalar", T: 8, opt: true },
|
|
1371
1372
|
{ no: 4, name: "e2ee", kind: "message", T: E2eeOptions, opt: true },
|
|
1372
1373
|
{ no: 5, name: "rtc_config", kind: "message", T: RtcConfig, opt: true },
|
|
1373
|
-
{ no: 6, name: "join_retries", kind: "scalar", T: 13, opt: true }
|
|
1374
|
+
{ no: 6, name: "join_retries", kind: "scalar", T: 13, opt: true },
|
|
1375
|
+
{ no: 7, name: "encryption", kind: "message", T: E2eeOptions, opt: true }
|
|
1374
1376
|
]);
|
|
1375
1377
|
let RoomOptions = _RoomOptions;
|
|
1376
1378
|
const _TranscriptionSegment = class _TranscriptionSegment extends Message {
|
|
@@ -1496,6 +1498,7 @@ _RoomEvent.fields = proto2.util.newFieldList(() => [
|
|
|
1496
1498
|
{ no: 17, name: "participant_metadata_changed", kind: "message", T: ParticipantMetadataChanged, oneof: "message" },
|
|
1497
1499
|
{ no: 18, name: "participant_name_changed", kind: "message", T: ParticipantNameChanged, oneof: "message" },
|
|
1498
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" },
|
|
1499
1502
|
{ no: 20, name: "connection_quality_changed", kind: "message", T: ConnectionQualityChanged, oneof: "message" },
|
|
1500
1503
|
{ no: 21, name: "connection_state_changed", kind: "message", T: ConnectionStateChanged, oneof: "message" },
|
|
1501
1504
|
{ no: 22, name: "disconnected", kind: "message", T: Disconnected, oneof: "message" },
|
|
@@ -2062,6 +2065,31 @@ _ParticipantAttributesChanged.fields = proto2.util.newFieldList(() => [
|
|
|
2062
2065
|
{ no: 3, name: "changed_attributes", kind: "message", T: AttributesEntry, repeated: true }
|
|
2063
2066
|
]);
|
|
2064
2067
|
let ParticipantAttributesChanged = _ParticipantAttributesChanged;
|
|
2068
|
+
const _ParticipantEncryptionStatusChanged = class _ParticipantEncryptionStatusChanged extends Message {
|
|
2069
|
+
constructor(data) {
|
|
2070
|
+
super();
|
|
2071
|
+
proto2.util.initPartial(data, this);
|
|
2072
|
+
}
|
|
2073
|
+
static fromBinary(bytes, options) {
|
|
2074
|
+
return new _ParticipantEncryptionStatusChanged().fromBinary(bytes, options);
|
|
2075
|
+
}
|
|
2076
|
+
static fromJson(jsonValue, options) {
|
|
2077
|
+
return new _ParticipantEncryptionStatusChanged().fromJson(jsonValue, options);
|
|
2078
|
+
}
|
|
2079
|
+
static fromJsonString(jsonString, options) {
|
|
2080
|
+
return new _ParticipantEncryptionStatusChanged().fromJsonString(jsonString, options);
|
|
2081
|
+
}
|
|
2082
|
+
static equals(a, b) {
|
|
2083
|
+
return proto2.util.equals(_ParticipantEncryptionStatusChanged, a, b);
|
|
2084
|
+
}
|
|
2085
|
+
};
|
|
2086
|
+
_ParticipantEncryptionStatusChanged.runtime = proto2;
|
|
2087
|
+
_ParticipantEncryptionStatusChanged.typeName = "livekit.proto.ParticipantEncryptionStatusChanged";
|
|
2088
|
+
_ParticipantEncryptionStatusChanged.fields = proto2.util.newFieldList(() => [
|
|
2089
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
2090
|
+
{ no: 2, name: "is_encrypted", kind: "scalar", T: 8, req: true }
|
|
2091
|
+
]);
|
|
2092
|
+
let ParticipantEncryptionStatusChanged = _ParticipantEncryptionStatusChanged;
|
|
2065
2093
|
const _ParticipantNameChanged = class _ParticipantNameChanged extends Message {
|
|
2066
2094
|
constructor(data) {
|
|
2067
2095
|
super();
|
|
@@ -3107,6 +3135,7 @@ export {
|
|
|
3107
3135
|
ParticipantAttributesChanged,
|
|
3108
3136
|
ParticipantConnected,
|
|
3109
3137
|
ParticipantDisconnected,
|
|
3138
|
+
ParticipantEncryptionStatusChanged,
|
|
3110
3139
|
ParticipantMetadataChanged,
|
|
3111
3140
|
ParticipantNameChanged,
|
|
3112
3141
|
ParticipantsUpdated,
|