@livekit/rtc-node 0.13.2 → 0.13.4
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/data_streams/index.cjs +25 -0
- package/dist/data_streams/index.cjs.map +1 -0
- package/dist/data_streams/index.d.cts +11 -0
- package/dist/data_streams/index.d.ts +11 -0
- package/dist/data_streams/index.d.ts.map +1 -0
- package/dist/data_streams/index.js +3 -0
- package/dist/data_streams/index.js.map +1 -0
- package/dist/data_streams/stream_reader.cjs +145 -0
- package/dist/data_streams/stream_reader.cjs.map +1 -0
- package/dist/data_streams/stream_reader.d.cts +10 -0
- package/dist/data_streams/stream_reader.d.ts +10 -0
- package/dist/data_streams/stream_reader.d.ts.map +1 -0
- package/dist/data_streams/stream_reader.js +120 -0
- package/dist/data_streams/stream_reader.js.map +1 -0
- package/dist/data_streams/stream_writer.cjs +51 -0
- package/dist/data_streams/stream_writer.cjs.map +1 -0
- package/dist/data_streams/stream_writer.d.cts +26 -0
- package/dist/data_streams/stream_writer.d.ts +26 -0
- package/dist/data_streams/stream_writer.d.ts.map +1 -0
- package/dist/data_streams/stream_writer.js +26 -0
- package/dist/data_streams/stream_writer.js.map +1 -0
- package/dist/data_streams/types.cjs +17 -0
- package/dist/data_streams/types.cjs.map +1 -0
- package/dist/data_streams/types.d.cts +10 -0
- package/dist/data_streams/types.d.ts +10 -0
- package/dist/data_streams/types.d.ts.map +1 -0
- package/dist/data_streams/types.js +1 -0
- package/dist/data_streams/types.js.map +1 -0
- package/dist/index.cjs +7 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/log.cjs +42 -0
- package/dist/log.cjs.map +1 -0
- package/dist/log.d.cts +7 -0
- package/dist/log.d.ts +7 -0
- package/dist/log.d.ts.map +1 -0
- package/dist/log.js +18 -0
- package/dist/log.js.map +1 -0
- package/dist/napi/native.d.cjs.map +1 -1
- package/dist/napi/native.d.ts +5 -5
- package/dist/native.d.ts +5 -5
- package/dist/participant.cjs +260 -16
- package/dist/participant.cjs.map +1 -1
- package/dist/participant.d.cts +40 -6
- package/dist/participant.d.ts +40 -6
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +263 -5
- package/dist/participant.js.map +1 -1
- package/dist/proto/ffi_pb.cjs +14 -3
- package/dist/proto/ffi_pb.cjs.map +1 -1
- package/dist/proto/ffi_pb.d.cts +81 -7
- package/dist/proto/ffi_pb.d.ts +81 -7
- package/dist/proto/ffi_pb.d.ts.map +1 -1
- package/dist/proto/ffi_pb.js +15 -4
- package/dist/proto/ffi_pb.js.map +1 -1
- package/dist/proto/room_pb.cjs +488 -30
- package/dist/proto/room_pb.cjs.map +1 -1
- package/dist/proto/room_pb.d.cts +412 -50
- package/dist/proto/room_pb.d.ts +412 -50
- package/dist/proto/room_pb.d.ts.map +1 -1
- package/dist/proto/room_pb.js +471 -29
- package/dist/proto/room_pb.js.map +1 -1
- package/dist/proto/video_frame_pb.cjs.map +1 -1
- package/dist/proto/video_frame_pb.d.cts +3 -0
- package/dist/proto/video_frame_pb.d.ts +3 -0
- package/dist/proto/video_frame_pb.d.ts.map +1 -1
- package/dist/proto/video_frame_pb.js.map +1 -1
- package/dist/room.cjs +202 -45
- package/dist/room.cjs.map +1 -1
- package/dist/room.d.cts +21 -3
- package/dist/room.d.ts +21 -3
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +203 -45
- package/dist/room.js.map +1 -1
- package/dist/types-BWsKf9LP.d.cts +93 -0
- package/dist/types-Ca3IVRvo.d.ts +93 -0
- package/dist/utils.cjs +51 -0
- package/dist/utils.cjs.map +1 -0
- package/dist/utils.d.cts +7 -0
- package/dist/utils.d.ts +7 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +25 -0
- package/dist/utils.js.map +1 -0
- 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/dist/video_frame.cjs +2 -0
- package/dist/video_frame.cjs.map +1 -1
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +2 -0
- package/dist/video_frame.js.map +1 -1
- package/package.json +9 -7
- package/src/data_streams/index.ts +7 -0
- package/src/data_streams/stream_reader.ts +166 -0
- package/src/data_streams/stream_writer.ts +36 -0
- package/src/data_streams/types.ts +61 -0
- package/src/index.ts +1 -0
- package/src/log.ts +25 -0
- package/src/napi/native.d.ts +5 -5
- package/src/participant.ts +351 -29
- package/src/proto/ffi_pb.ts +86 -1
- package/src/proto/room_pb.ts +788 -68
- package/src/proto/video_frame_pb.ts +3 -0
- package/src/room.ts +251 -68
- package/src/utils.ts +33 -0
- package/src/version.ts +1 -1
- package/src/video_frame.ts +2 -0
package/dist/proto/room_pb.cjs
CHANGED
|
@@ -35,14 +35,19 @@ __export(room_pb_exports, {
|
|
|
35
35
|
ConnectionState: () => ConnectionState,
|
|
36
36
|
ConnectionStateChanged: () => ConnectionStateChanged,
|
|
37
37
|
ContinualGatheringPolicy: () => ContinualGatheringPolicy,
|
|
38
|
+
DataChannelBufferedAmountLowThresholdChanged: () => DataChannelBufferedAmountLowThresholdChanged,
|
|
38
39
|
DataPacketKind: () => DataPacketKind,
|
|
39
40
|
DataPacketReceived: () => DataPacketReceived,
|
|
40
41
|
DataStream: () => DataStream,
|
|
42
|
+
DataStreamChunkReceived: () => DataStreamChunkReceived,
|
|
43
|
+
DataStreamHeaderReceived: () => DataStreamHeaderReceived,
|
|
44
|
+
DataStreamTrailerReceived: () => DataStreamTrailerReceived,
|
|
45
|
+
DataStream_ByteHeader: () => DataStream_ByteHeader,
|
|
41
46
|
DataStream_Chunk: () => DataStream_Chunk,
|
|
42
|
-
DataStream_FileHeader: () => DataStream_FileHeader,
|
|
43
47
|
DataStream_Header: () => DataStream_Header,
|
|
44
48
|
DataStream_OperationType: () => DataStream_OperationType,
|
|
45
49
|
DataStream_TextHeader: () => DataStream_TextHeader,
|
|
50
|
+
DataStream_Trailer: () => DataStream_Trailer,
|
|
46
51
|
DisconnectCallback: () => DisconnectCallback,
|
|
47
52
|
DisconnectRequest: () => DisconnectRequest,
|
|
48
53
|
DisconnectResponse: () => DisconnectResponse,
|
|
@@ -89,6 +94,17 @@ __export(room_pb_exports, {
|
|
|
89
94
|
SendChatMessageCallback: () => SendChatMessageCallback,
|
|
90
95
|
SendChatMessageRequest: () => SendChatMessageRequest,
|
|
91
96
|
SendChatMessageResponse: () => SendChatMessageResponse,
|
|
97
|
+
SendStreamChunkCallback: () => SendStreamChunkCallback,
|
|
98
|
+
SendStreamChunkRequest: () => SendStreamChunkRequest,
|
|
99
|
+
SendStreamChunkResponse: () => SendStreamChunkResponse,
|
|
100
|
+
SendStreamHeaderCallback: () => SendStreamHeaderCallback,
|
|
101
|
+
SendStreamHeaderRequest: () => SendStreamHeaderRequest,
|
|
102
|
+
SendStreamHeaderResponse: () => SendStreamHeaderResponse,
|
|
103
|
+
SendStreamTrailerCallback: () => SendStreamTrailerCallback,
|
|
104
|
+
SendStreamTrailerRequest: () => SendStreamTrailerRequest,
|
|
105
|
+
SendStreamTrailerResponse: () => SendStreamTrailerResponse,
|
|
106
|
+
SetDataChannelBufferedAmountLowThresholdRequest: () => SetDataChannelBufferedAmountLowThresholdRequest,
|
|
107
|
+
SetDataChannelBufferedAmountLowThresholdResponse: () => SetDataChannelBufferedAmountLowThresholdResponse,
|
|
92
108
|
SetLocalAttributesCallback: () => SetLocalAttributesCallback,
|
|
93
109
|
SetLocalAttributesRequest: () => SetLocalAttributesRequest,
|
|
94
110
|
SetLocalAttributesResponse: () => SetLocalAttributesResponse,
|
|
@@ -1625,8 +1641,10 @@ _RoomEvent.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
|
1625
1641
|
{ no: 27, name: "data_packet_received", kind: "message", T: DataPacketReceived, oneof: "message" },
|
|
1626
1642
|
{ no: 28, name: "transcription_received", kind: "message", T: TranscriptionReceived, oneof: "message" },
|
|
1627
1643
|
{ no: 29, name: "chat_message", kind: "message", T: ChatMessageReceived, oneof: "message" },
|
|
1628
|
-
{ no: 30, name: "
|
|
1629
|
-
{ no: 31, name: "
|
|
1644
|
+
{ no: 30, name: "stream_header_received", kind: "message", T: DataStreamHeaderReceived, oneof: "message" },
|
|
1645
|
+
{ no: 31, name: "stream_chunk_received", kind: "message", T: DataStreamChunkReceived, oneof: "message" },
|
|
1646
|
+
{ no: 32, name: "stream_trailer_received", kind: "message", T: DataStreamTrailerReceived, oneof: "message" },
|
|
1647
|
+
{ no: 33, name: "data_channel_low_threshold_changed", kind: "message", T: DataChannelBufferedAmountLowThresholdChanged, oneof: "message" }
|
|
1630
1648
|
]);
|
|
1631
1649
|
let RoomEvent = _RoomEvent;
|
|
1632
1650
|
const _RoomInfo = class _RoomInfo extends import_protobuf.Message {
|
|
@@ -1652,7 +1670,9 @@ _RoomInfo.typeName = "livekit.proto.RoomInfo";
|
|
|
1652
1670
|
_RoomInfo.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1653
1671
|
{ no: 1, name: "sid", kind: "scalar", T: 9, opt: true },
|
|
1654
1672
|
{ no: 2, name: "name", kind: "scalar", T: 9, req: true },
|
|
1655
|
-
{ no: 3, name: "metadata", kind: "scalar", T: 9, req: true }
|
|
1673
|
+
{ no: 3, name: "metadata", kind: "scalar", T: 9, req: true },
|
|
1674
|
+
{ no: 4, name: "lossy_dc_buffered_amount_low_threshold", kind: "scalar", T: 4, req: true },
|
|
1675
|
+
{ no: 5, name: "reliable_dc_buffered_amount_low_threshold", kind: "scalar", T: 4, req: true }
|
|
1656
1676
|
]);
|
|
1657
1677
|
let RoomInfo = _RoomInfo;
|
|
1658
1678
|
const _OwnedRoom = class _OwnedRoom extends import_protobuf.Message {
|
|
@@ -2550,45 +2570,45 @@ _DataStream_TextHeader.runtime = import_protobuf.proto2;
|
|
|
2550
2570
|
_DataStream_TextHeader.typeName = "livekit.proto.DataStream.TextHeader";
|
|
2551
2571
|
_DataStream_TextHeader.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2552
2572
|
{ no: 1, name: "operation_type", kind: "enum", T: import_protobuf.proto2.getEnumType(DataStream_OperationType), req: true },
|
|
2553
|
-
{ no: 2, name: "version", kind: "scalar", T: 5,
|
|
2554
|
-
{ no: 3, name: "reply_to_stream_id", kind: "scalar", T: 9,
|
|
2573
|
+
{ no: 2, name: "version", kind: "scalar", T: 5, opt: true },
|
|
2574
|
+
{ no: 3, name: "reply_to_stream_id", kind: "scalar", T: 9, opt: true },
|
|
2555
2575
|
{ no: 4, name: "attached_stream_ids", kind: "scalar", T: 9, repeated: true },
|
|
2556
|
-
{ no: 5, name: "generated", kind: "scalar", T: 8,
|
|
2576
|
+
{ no: 5, name: "generated", kind: "scalar", T: 8, opt: true }
|
|
2557
2577
|
]);
|
|
2558
2578
|
let DataStream_TextHeader = _DataStream_TextHeader;
|
|
2559
|
-
const
|
|
2579
|
+
const _DataStream_ByteHeader = class _DataStream_ByteHeader extends import_protobuf.Message {
|
|
2560
2580
|
constructor(data) {
|
|
2561
2581
|
super();
|
|
2562
2582
|
import_protobuf.proto2.util.initPartial(data, this);
|
|
2563
2583
|
}
|
|
2564
2584
|
static fromBinary(bytes, options) {
|
|
2565
|
-
return new
|
|
2585
|
+
return new _DataStream_ByteHeader().fromBinary(bytes, options);
|
|
2566
2586
|
}
|
|
2567
2587
|
static fromJson(jsonValue, options) {
|
|
2568
|
-
return new
|
|
2588
|
+
return new _DataStream_ByteHeader().fromJson(jsonValue, options);
|
|
2569
2589
|
}
|
|
2570
2590
|
static fromJsonString(jsonString, options) {
|
|
2571
|
-
return new
|
|
2591
|
+
return new _DataStream_ByteHeader().fromJsonString(jsonString, options);
|
|
2572
2592
|
}
|
|
2573
2593
|
static equals(a, b) {
|
|
2574
|
-
return import_protobuf.proto2.util.equals(
|
|
2594
|
+
return import_protobuf.proto2.util.equals(_DataStream_ByteHeader, a, b);
|
|
2575
2595
|
}
|
|
2576
2596
|
};
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
{ no: 1, name: "
|
|
2597
|
+
_DataStream_ByteHeader.runtime = import_protobuf.proto2;
|
|
2598
|
+
_DataStream_ByteHeader.typeName = "livekit.proto.DataStream.ByteHeader";
|
|
2599
|
+
_DataStream_ByteHeader.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2600
|
+
{ no: 1, name: "name", kind: "scalar", T: 9, req: true }
|
|
2581
2601
|
]);
|
|
2582
|
-
let
|
|
2602
|
+
let DataStream_ByteHeader = _DataStream_ByteHeader;
|
|
2583
2603
|
const _DataStream_Header = class _DataStream_Header extends import_protobuf.Message {
|
|
2584
2604
|
constructor(data) {
|
|
2585
2605
|
super();
|
|
2586
2606
|
/**
|
|
2587
|
-
* user defined
|
|
2607
|
+
* user defined attributes map that can carry additional info
|
|
2588
2608
|
*
|
|
2589
|
-
* @generated from field: map<string, string>
|
|
2609
|
+
* @generated from field: map<string, string> attributes = 6;
|
|
2590
2610
|
*/
|
|
2591
|
-
this.
|
|
2611
|
+
this.attributes = {};
|
|
2592
2612
|
/**
|
|
2593
2613
|
* oneof to choose between specific header types
|
|
2594
2614
|
*
|
|
@@ -2615,17 +2635,16 @@ _DataStream_Header.typeName = "livekit.proto.DataStream.Header";
|
|
|
2615
2635
|
_DataStream_Header.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2616
2636
|
{ no: 1, name: "stream_id", kind: "scalar", T: 9, req: true },
|
|
2617
2637
|
{ no: 2, name: "timestamp", kind: "scalar", T: 3, req: true },
|
|
2618
|
-
{ no: 3, name: "
|
|
2619
|
-
{ no: 4, name: "
|
|
2638
|
+
{ no: 3, name: "mime_type", kind: "scalar", T: 9, req: true },
|
|
2639
|
+
{ no: 4, name: "topic", kind: "scalar", T: 9, req: true },
|
|
2620
2640
|
{ no: 5, name: "total_length", kind: "scalar", T: 4, opt: true },
|
|
2621
|
-
{ no: 6, name: "
|
|
2622
|
-
{ no: 7, name: "extensions", kind: "map", K: 9, V: {
|
|
2641
|
+
{ no: 6, name: "attributes", kind: "map", K: 9, V: {
|
|
2623
2642
|
kind: "scalar",
|
|
2624
2643
|
T: 9
|
|
2625
2644
|
/* ScalarType.STRING */
|
|
2626
2645
|
} },
|
|
2627
|
-
{ no:
|
|
2628
|
-
{ no:
|
|
2646
|
+
{ no: 7, name: "text_header", kind: "message", T: DataStream_TextHeader, oneof: "content_header" },
|
|
2647
|
+
{ no: 8, name: "byte_header", kind: "message", T: DataStream_ByteHeader, oneof: "content_header" }
|
|
2629
2648
|
]);
|
|
2630
2649
|
let DataStream_Header = _DataStream_Header;
|
|
2631
2650
|
const _DataStream_Chunk = class _DataStream_Chunk extends import_protobuf.Message {
|
|
@@ -2652,11 +2671,434 @@ _DataStream_Chunk.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
|
2652
2671
|
{ no: 1, name: "stream_id", kind: "scalar", T: 9, req: true },
|
|
2653
2672
|
{ no: 2, name: "chunk_index", kind: "scalar", T: 4, req: true },
|
|
2654
2673
|
{ no: 3, name: "content", kind: "scalar", T: 12, req: true },
|
|
2655
|
-
{ no: 4, name: "
|
|
2656
|
-
{ no: 5, name: "
|
|
2657
|
-
{ no: 6, name: "iv", kind: "scalar", T: 12, opt: true }
|
|
2674
|
+
{ no: 4, name: "version", kind: "scalar", T: 5, opt: true },
|
|
2675
|
+
{ no: 5, name: "iv", kind: "scalar", T: 12, opt: true }
|
|
2658
2676
|
]);
|
|
2659
2677
|
let DataStream_Chunk = _DataStream_Chunk;
|
|
2678
|
+
const _DataStream_Trailer = class _DataStream_Trailer extends import_protobuf.Message {
|
|
2679
|
+
constructor(data) {
|
|
2680
|
+
super();
|
|
2681
|
+
/**
|
|
2682
|
+
* finalizing updates for the stream, can also include additional insights for errors or endTime for transcription
|
|
2683
|
+
*
|
|
2684
|
+
* @generated from field: map<string, string> attributes = 3;
|
|
2685
|
+
*/
|
|
2686
|
+
this.attributes = {};
|
|
2687
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
2688
|
+
}
|
|
2689
|
+
static fromBinary(bytes, options) {
|
|
2690
|
+
return new _DataStream_Trailer().fromBinary(bytes, options);
|
|
2691
|
+
}
|
|
2692
|
+
static fromJson(jsonValue, options) {
|
|
2693
|
+
return new _DataStream_Trailer().fromJson(jsonValue, options);
|
|
2694
|
+
}
|
|
2695
|
+
static fromJsonString(jsonString, options) {
|
|
2696
|
+
return new _DataStream_Trailer().fromJsonString(jsonString, options);
|
|
2697
|
+
}
|
|
2698
|
+
static equals(a, b) {
|
|
2699
|
+
return import_protobuf.proto2.util.equals(_DataStream_Trailer, a, b);
|
|
2700
|
+
}
|
|
2701
|
+
};
|
|
2702
|
+
_DataStream_Trailer.runtime = import_protobuf.proto2;
|
|
2703
|
+
_DataStream_Trailer.typeName = "livekit.proto.DataStream.Trailer";
|
|
2704
|
+
_DataStream_Trailer.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2705
|
+
{ no: 1, name: "stream_id", kind: "scalar", T: 9, req: true },
|
|
2706
|
+
{ no: 2, name: "reason", kind: "scalar", T: 9, req: true },
|
|
2707
|
+
{ no: 3, name: "attributes", kind: "map", K: 9, V: {
|
|
2708
|
+
kind: "scalar",
|
|
2709
|
+
T: 9
|
|
2710
|
+
/* ScalarType.STRING */
|
|
2711
|
+
} }
|
|
2712
|
+
]);
|
|
2713
|
+
let DataStream_Trailer = _DataStream_Trailer;
|
|
2714
|
+
const _DataStreamHeaderReceived = class _DataStreamHeaderReceived extends import_protobuf.Message {
|
|
2715
|
+
constructor(data) {
|
|
2716
|
+
super();
|
|
2717
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
2718
|
+
}
|
|
2719
|
+
static fromBinary(bytes, options) {
|
|
2720
|
+
return new _DataStreamHeaderReceived().fromBinary(bytes, options);
|
|
2721
|
+
}
|
|
2722
|
+
static fromJson(jsonValue, options) {
|
|
2723
|
+
return new _DataStreamHeaderReceived().fromJson(jsonValue, options);
|
|
2724
|
+
}
|
|
2725
|
+
static fromJsonString(jsonString, options) {
|
|
2726
|
+
return new _DataStreamHeaderReceived().fromJsonString(jsonString, options);
|
|
2727
|
+
}
|
|
2728
|
+
static equals(a, b) {
|
|
2729
|
+
return import_protobuf.proto2.util.equals(_DataStreamHeaderReceived, a, b);
|
|
2730
|
+
}
|
|
2731
|
+
};
|
|
2732
|
+
_DataStreamHeaderReceived.runtime = import_protobuf.proto2;
|
|
2733
|
+
_DataStreamHeaderReceived.typeName = "livekit.proto.DataStreamHeaderReceived";
|
|
2734
|
+
_DataStreamHeaderReceived.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2735
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
2736
|
+
{ no: 2, name: "header", kind: "message", T: DataStream_Header, req: true }
|
|
2737
|
+
]);
|
|
2738
|
+
let DataStreamHeaderReceived = _DataStreamHeaderReceived;
|
|
2739
|
+
const _DataStreamChunkReceived = class _DataStreamChunkReceived extends import_protobuf.Message {
|
|
2740
|
+
constructor(data) {
|
|
2741
|
+
super();
|
|
2742
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
2743
|
+
}
|
|
2744
|
+
static fromBinary(bytes, options) {
|
|
2745
|
+
return new _DataStreamChunkReceived().fromBinary(bytes, options);
|
|
2746
|
+
}
|
|
2747
|
+
static fromJson(jsonValue, options) {
|
|
2748
|
+
return new _DataStreamChunkReceived().fromJson(jsonValue, options);
|
|
2749
|
+
}
|
|
2750
|
+
static fromJsonString(jsonString, options) {
|
|
2751
|
+
return new _DataStreamChunkReceived().fromJsonString(jsonString, options);
|
|
2752
|
+
}
|
|
2753
|
+
static equals(a, b) {
|
|
2754
|
+
return import_protobuf.proto2.util.equals(_DataStreamChunkReceived, a, b);
|
|
2755
|
+
}
|
|
2756
|
+
};
|
|
2757
|
+
_DataStreamChunkReceived.runtime = import_protobuf.proto2;
|
|
2758
|
+
_DataStreamChunkReceived.typeName = "livekit.proto.DataStreamChunkReceived";
|
|
2759
|
+
_DataStreamChunkReceived.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2760
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
2761
|
+
{ no: 2, name: "chunk", kind: "message", T: DataStream_Chunk, req: true }
|
|
2762
|
+
]);
|
|
2763
|
+
let DataStreamChunkReceived = _DataStreamChunkReceived;
|
|
2764
|
+
const _DataStreamTrailerReceived = class _DataStreamTrailerReceived extends import_protobuf.Message {
|
|
2765
|
+
constructor(data) {
|
|
2766
|
+
super();
|
|
2767
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
2768
|
+
}
|
|
2769
|
+
static fromBinary(bytes, options) {
|
|
2770
|
+
return new _DataStreamTrailerReceived().fromBinary(bytes, options);
|
|
2771
|
+
}
|
|
2772
|
+
static fromJson(jsonValue, options) {
|
|
2773
|
+
return new _DataStreamTrailerReceived().fromJson(jsonValue, options);
|
|
2774
|
+
}
|
|
2775
|
+
static fromJsonString(jsonString, options) {
|
|
2776
|
+
return new _DataStreamTrailerReceived().fromJsonString(jsonString, options);
|
|
2777
|
+
}
|
|
2778
|
+
static equals(a, b) {
|
|
2779
|
+
return import_protobuf.proto2.util.equals(_DataStreamTrailerReceived, a, b);
|
|
2780
|
+
}
|
|
2781
|
+
};
|
|
2782
|
+
_DataStreamTrailerReceived.runtime = import_protobuf.proto2;
|
|
2783
|
+
_DataStreamTrailerReceived.typeName = "livekit.proto.DataStreamTrailerReceived";
|
|
2784
|
+
_DataStreamTrailerReceived.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2785
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
2786
|
+
{ no: 2, name: "trailer", kind: "message", T: DataStream_Trailer, req: true }
|
|
2787
|
+
]);
|
|
2788
|
+
let DataStreamTrailerReceived = _DataStreamTrailerReceived;
|
|
2789
|
+
const _SendStreamHeaderRequest = class _SendStreamHeaderRequest extends import_protobuf.Message {
|
|
2790
|
+
constructor(data) {
|
|
2791
|
+
super();
|
|
2792
|
+
/**
|
|
2793
|
+
* @generated from field: repeated string destination_identities = 3;
|
|
2794
|
+
*/
|
|
2795
|
+
this.destinationIdentities = [];
|
|
2796
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
2797
|
+
}
|
|
2798
|
+
static fromBinary(bytes, options) {
|
|
2799
|
+
return new _SendStreamHeaderRequest().fromBinary(bytes, options);
|
|
2800
|
+
}
|
|
2801
|
+
static fromJson(jsonValue, options) {
|
|
2802
|
+
return new _SendStreamHeaderRequest().fromJson(jsonValue, options);
|
|
2803
|
+
}
|
|
2804
|
+
static fromJsonString(jsonString, options) {
|
|
2805
|
+
return new _SendStreamHeaderRequest().fromJsonString(jsonString, options);
|
|
2806
|
+
}
|
|
2807
|
+
static equals(a, b) {
|
|
2808
|
+
return import_protobuf.proto2.util.equals(_SendStreamHeaderRequest, a, b);
|
|
2809
|
+
}
|
|
2810
|
+
};
|
|
2811
|
+
_SendStreamHeaderRequest.runtime = import_protobuf.proto2;
|
|
2812
|
+
_SendStreamHeaderRequest.typeName = "livekit.proto.SendStreamHeaderRequest";
|
|
2813
|
+
_SendStreamHeaderRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2814
|
+
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
|
|
2815
|
+
{ no: 2, name: "header", kind: "message", T: DataStream_Header, req: true },
|
|
2816
|
+
{ no: 3, name: "destination_identities", kind: "scalar", T: 9, repeated: true },
|
|
2817
|
+
{ no: 4, name: "sender_identity", kind: "scalar", T: 9, req: true }
|
|
2818
|
+
]);
|
|
2819
|
+
let SendStreamHeaderRequest = _SendStreamHeaderRequest;
|
|
2820
|
+
const _SendStreamChunkRequest = class _SendStreamChunkRequest extends import_protobuf.Message {
|
|
2821
|
+
constructor(data) {
|
|
2822
|
+
super();
|
|
2823
|
+
/**
|
|
2824
|
+
* @generated from field: repeated string destination_identities = 3;
|
|
2825
|
+
*/
|
|
2826
|
+
this.destinationIdentities = [];
|
|
2827
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
2828
|
+
}
|
|
2829
|
+
static fromBinary(bytes, options) {
|
|
2830
|
+
return new _SendStreamChunkRequest().fromBinary(bytes, options);
|
|
2831
|
+
}
|
|
2832
|
+
static fromJson(jsonValue, options) {
|
|
2833
|
+
return new _SendStreamChunkRequest().fromJson(jsonValue, options);
|
|
2834
|
+
}
|
|
2835
|
+
static fromJsonString(jsonString, options) {
|
|
2836
|
+
return new _SendStreamChunkRequest().fromJsonString(jsonString, options);
|
|
2837
|
+
}
|
|
2838
|
+
static equals(a, b) {
|
|
2839
|
+
return import_protobuf.proto2.util.equals(_SendStreamChunkRequest, a, b);
|
|
2840
|
+
}
|
|
2841
|
+
};
|
|
2842
|
+
_SendStreamChunkRequest.runtime = import_protobuf.proto2;
|
|
2843
|
+
_SendStreamChunkRequest.typeName = "livekit.proto.SendStreamChunkRequest";
|
|
2844
|
+
_SendStreamChunkRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2845
|
+
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
|
|
2846
|
+
{ no: 2, name: "chunk", kind: "message", T: DataStream_Chunk, req: true },
|
|
2847
|
+
{ no: 3, name: "destination_identities", kind: "scalar", T: 9, repeated: true },
|
|
2848
|
+
{ no: 4, name: "sender_identity", kind: "scalar", T: 9, req: true }
|
|
2849
|
+
]);
|
|
2850
|
+
let SendStreamChunkRequest = _SendStreamChunkRequest;
|
|
2851
|
+
const _SendStreamTrailerRequest = class _SendStreamTrailerRequest extends import_protobuf.Message {
|
|
2852
|
+
constructor(data) {
|
|
2853
|
+
super();
|
|
2854
|
+
/**
|
|
2855
|
+
* @generated from field: repeated string destination_identities = 3;
|
|
2856
|
+
*/
|
|
2857
|
+
this.destinationIdentities = [];
|
|
2858
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
2859
|
+
}
|
|
2860
|
+
static fromBinary(bytes, options) {
|
|
2861
|
+
return new _SendStreamTrailerRequest().fromBinary(bytes, options);
|
|
2862
|
+
}
|
|
2863
|
+
static fromJson(jsonValue, options) {
|
|
2864
|
+
return new _SendStreamTrailerRequest().fromJson(jsonValue, options);
|
|
2865
|
+
}
|
|
2866
|
+
static fromJsonString(jsonString, options) {
|
|
2867
|
+
return new _SendStreamTrailerRequest().fromJsonString(jsonString, options);
|
|
2868
|
+
}
|
|
2869
|
+
static equals(a, b) {
|
|
2870
|
+
return import_protobuf.proto2.util.equals(_SendStreamTrailerRequest, a, b);
|
|
2871
|
+
}
|
|
2872
|
+
};
|
|
2873
|
+
_SendStreamTrailerRequest.runtime = import_protobuf.proto2;
|
|
2874
|
+
_SendStreamTrailerRequest.typeName = "livekit.proto.SendStreamTrailerRequest";
|
|
2875
|
+
_SendStreamTrailerRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2876
|
+
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
|
|
2877
|
+
{ no: 2, name: "trailer", kind: "message", T: DataStream_Trailer, req: true },
|
|
2878
|
+
{ no: 3, name: "destination_identities", kind: "scalar", T: 9, repeated: true },
|
|
2879
|
+
{ no: 4, name: "sender_identity", kind: "scalar", T: 9, req: true }
|
|
2880
|
+
]);
|
|
2881
|
+
let SendStreamTrailerRequest = _SendStreamTrailerRequest;
|
|
2882
|
+
const _SendStreamHeaderResponse = class _SendStreamHeaderResponse extends import_protobuf.Message {
|
|
2883
|
+
constructor(data) {
|
|
2884
|
+
super();
|
|
2885
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
2886
|
+
}
|
|
2887
|
+
static fromBinary(bytes, options) {
|
|
2888
|
+
return new _SendStreamHeaderResponse().fromBinary(bytes, options);
|
|
2889
|
+
}
|
|
2890
|
+
static fromJson(jsonValue, options) {
|
|
2891
|
+
return new _SendStreamHeaderResponse().fromJson(jsonValue, options);
|
|
2892
|
+
}
|
|
2893
|
+
static fromJsonString(jsonString, options) {
|
|
2894
|
+
return new _SendStreamHeaderResponse().fromJsonString(jsonString, options);
|
|
2895
|
+
}
|
|
2896
|
+
static equals(a, b) {
|
|
2897
|
+
return import_protobuf.proto2.util.equals(_SendStreamHeaderResponse, a, b);
|
|
2898
|
+
}
|
|
2899
|
+
};
|
|
2900
|
+
_SendStreamHeaderResponse.runtime = import_protobuf.proto2;
|
|
2901
|
+
_SendStreamHeaderResponse.typeName = "livekit.proto.SendStreamHeaderResponse";
|
|
2902
|
+
_SendStreamHeaderResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2903
|
+
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
2904
|
+
]);
|
|
2905
|
+
let SendStreamHeaderResponse = _SendStreamHeaderResponse;
|
|
2906
|
+
const _SendStreamChunkResponse = class _SendStreamChunkResponse extends import_protobuf.Message {
|
|
2907
|
+
constructor(data) {
|
|
2908
|
+
super();
|
|
2909
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
2910
|
+
}
|
|
2911
|
+
static fromBinary(bytes, options) {
|
|
2912
|
+
return new _SendStreamChunkResponse().fromBinary(bytes, options);
|
|
2913
|
+
}
|
|
2914
|
+
static fromJson(jsonValue, options) {
|
|
2915
|
+
return new _SendStreamChunkResponse().fromJson(jsonValue, options);
|
|
2916
|
+
}
|
|
2917
|
+
static fromJsonString(jsonString, options) {
|
|
2918
|
+
return new _SendStreamChunkResponse().fromJsonString(jsonString, options);
|
|
2919
|
+
}
|
|
2920
|
+
static equals(a, b) {
|
|
2921
|
+
return import_protobuf.proto2.util.equals(_SendStreamChunkResponse, a, b);
|
|
2922
|
+
}
|
|
2923
|
+
};
|
|
2924
|
+
_SendStreamChunkResponse.runtime = import_protobuf.proto2;
|
|
2925
|
+
_SendStreamChunkResponse.typeName = "livekit.proto.SendStreamChunkResponse";
|
|
2926
|
+
_SendStreamChunkResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2927
|
+
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
2928
|
+
]);
|
|
2929
|
+
let SendStreamChunkResponse = _SendStreamChunkResponse;
|
|
2930
|
+
const _SendStreamTrailerResponse = class _SendStreamTrailerResponse extends import_protobuf.Message {
|
|
2931
|
+
constructor(data) {
|
|
2932
|
+
super();
|
|
2933
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
2934
|
+
}
|
|
2935
|
+
static fromBinary(bytes, options) {
|
|
2936
|
+
return new _SendStreamTrailerResponse().fromBinary(bytes, options);
|
|
2937
|
+
}
|
|
2938
|
+
static fromJson(jsonValue, options) {
|
|
2939
|
+
return new _SendStreamTrailerResponse().fromJson(jsonValue, options);
|
|
2940
|
+
}
|
|
2941
|
+
static fromJsonString(jsonString, options) {
|
|
2942
|
+
return new _SendStreamTrailerResponse().fromJsonString(jsonString, options);
|
|
2943
|
+
}
|
|
2944
|
+
static equals(a, b) {
|
|
2945
|
+
return import_protobuf.proto2.util.equals(_SendStreamTrailerResponse, a, b);
|
|
2946
|
+
}
|
|
2947
|
+
};
|
|
2948
|
+
_SendStreamTrailerResponse.runtime = import_protobuf.proto2;
|
|
2949
|
+
_SendStreamTrailerResponse.typeName = "livekit.proto.SendStreamTrailerResponse";
|
|
2950
|
+
_SendStreamTrailerResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2951
|
+
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
2952
|
+
]);
|
|
2953
|
+
let SendStreamTrailerResponse = _SendStreamTrailerResponse;
|
|
2954
|
+
const _SendStreamHeaderCallback = class _SendStreamHeaderCallback extends import_protobuf.Message {
|
|
2955
|
+
constructor(data) {
|
|
2956
|
+
super();
|
|
2957
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
2958
|
+
}
|
|
2959
|
+
static fromBinary(bytes, options) {
|
|
2960
|
+
return new _SendStreamHeaderCallback().fromBinary(bytes, options);
|
|
2961
|
+
}
|
|
2962
|
+
static fromJson(jsonValue, options) {
|
|
2963
|
+
return new _SendStreamHeaderCallback().fromJson(jsonValue, options);
|
|
2964
|
+
}
|
|
2965
|
+
static fromJsonString(jsonString, options) {
|
|
2966
|
+
return new _SendStreamHeaderCallback().fromJsonString(jsonString, options);
|
|
2967
|
+
}
|
|
2968
|
+
static equals(a, b) {
|
|
2969
|
+
return import_protobuf.proto2.util.equals(_SendStreamHeaderCallback, a, b);
|
|
2970
|
+
}
|
|
2971
|
+
};
|
|
2972
|
+
_SendStreamHeaderCallback.runtime = import_protobuf.proto2;
|
|
2973
|
+
_SendStreamHeaderCallback.typeName = "livekit.proto.SendStreamHeaderCallback";
|
|
2974
|
+
_SendStreamHeaderCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2975
|
+
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true },
|
|
2976
|
+
{ no: 2, name: "error", kind: "scalar", T: 9, opt: true }
|
|
2977
|
+
]);
|
|
2978
|
+
let SendStreamHeaderCallback = _SendStreamHeaderCallback;
|
|
2979
|
+
const _SendStreamChunkCallback = class _SendStreamChunkCallback extends import_protobuf.Message {
|
|
2980
|
+
constructor(data) {
|
|
2981
|
+
super();
|
|
2982
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
2983
|
+
}
|
|
2984
|
+
static fromBinary(bytes, options) {
|
|
2985
|
+
return new _SendStreamChunkCallback().fromBinary(bytes, options);
|
|
2986
|
+
}
|
|
2987
|
+
static fromJson(jsonValue, options) {
|
|
2988
|
+
return new _SendStreamChunkCallback().fromJson(jsonValue, options);
|
|
2989
|
+
}
|
|
2990
|
+
static fromJsonString(jsonString, options) {
|
|
2991
|
+
return new _SendStreamChunkCallback().fromJsonString(jsonString, options);
|
|
2992
|
+
}
|
|
2993
|
+
static equals(a, b) {
|
|
2994
|
+
return import_protobuf.proto2.util.equals(_SendStreamChunkCallback, a, b);
|
|
2995
|
+
}
|
|
2996
|
+
};
|
|
2997
|
+
_SendStreamChunkCallback.runtime = import_protobuf.proto2;
|
|
2998
|
+
_SendStreamChunkCallback.typeName = "livekit.proto.SendStreamChunkCallback";
|
|
2999
|
+
_SendStreamChunkCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
3000
|
+
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true },
|
|
3001
|
+
{ no: 2, name: "error", kind: "scalar", T: 9, opt: true }
|
|
3002
|
+
]);
|
|
3003
|
+
let SendStreamChunkCallback = _SendStreamChunkCallback;
|
|
3004
|
+
const _SendStreamTrailerCallback = class _SendStreamTrailerCallback extends import_protobuf.Message {
|
|
3005
|
+
constructor(data) {
|
|
3006
|
+
super();
|
|
3007
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
3008
|
+
}
|
|
3009
|
+
static fromBinary(bytes, options) {
|
|
3010
|
+
return new _SendStreamTrailerCallback().fromBinary(bytes, options);
|
|
3011
|
+
}
|
|
3012
|
+
static fromJson(jsonValue, options) {
|
|
3013
|
+
return new _SendStreamTrailerCallback().fromJson(jsonValue, options);
|
|
3014
|
+
}
|
|
3015
|
+
static fromJsonString(jsonString, options) {
|
|
3016
|
+
return new _SendStreamTrailerCallback().fromJsonString(jsonString, options);
|
|
3017
|
+
}
|
|
3018
|
+
static equals(a, b) {
|
|
3019
|
+
return import_protobuf.proto2.util.equals(_SendStreamTrailerCallback, a, b);
|
|
3020
|
+
}
|
|
3021
|
+
};
|
|
3022
|
+
_SendStreamTrailerCallback.runtime = import_protobuf.proto2;
|
|
3023
|
+
_SendStreamTrailerCallback.typeName = "livekit.proto.SendStreamTrailerCallback";
|
|
3024
|
+
_SendStreamTrailerCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
3025
|
+
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true },
|
|
3026
|
+
{ no: 2, name: "error", kind: "scalar", T: 9, opt: true }
|
|
3027
|
+
]);
|
|
3028
|
+
let SendStreamTrailerCallback = _SendStreamTrailerCallback;
|
|
3029
|
+
const _SetDataChannelBufferedAmountLowThresholdRequest = class _SetDataChannelBufferedAmountLowThresholdRequest extends import_protobuf.Message {
|
|
3030
|
+
constructor(data) {
|
|
3031
|
+
super();
|
|
3032
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
3033
|
+
}
|
|
3034
|
+
static fromBinary(bytes, options) {
|
|
3035
|
+
return new _SetDataChannelBufferedAmountLowThresholdRequest().fromBinary(bytes, options);
|
|
3036
|
+
}
|
|
3037
|
+
static fromJson(jsonValue, options) {
|
|
3038
|
+
return new _SetDataChannelBufferedAmountLowThresholdRequest().fromJson(jsonValue, options);
|
|
3039
|
+
}
|
|
3040
|
+
static fromJsonString(jsonString, options) {
|
|
3041
|
+
return new _SetDataChannelBufferedAmountLowThresholdRequest().fromJsonString(jsonString, options);
|
|
3042
|
+
}
|
|
3043
|
+
static equals(a, b) {
|
|
3044
|
+
return import_protobuf.proto2.util.equals(_SetDataChannelBufferedAmountLowThresholdRequest, a, b);
|
|
3045
|
+
}
|
|
3046
|
+
};
|
|
3047
|
+
_SetDataChannelBufferedAmountLowThresholdRequest.runtime = import_protobuf.proto2;
|
|
3048
|
+
_SetDataChannelBufferedAmountLowThresholdRequest.typeName = "livekit.proto.SetDataChannelBufferedAmountLowThresholdRequest";
|
|
3049
|
+
_SetDataChannelBufferedAmountLowThresholdRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
3050
|
+
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
|
|
3051
|
+
{ no: 2, name: "threshold", kind: "scalar", T: 4, req: true },
|
|
3052
|
+
{ no: 3, name: "kind", kind: "enum", T: import_protobuf.proto2.getEnumType(DataPacketKind), req: true }
|
|
3053
|
+
]);
|
|
3054
|
+
let SetDataChannelBufferedAmountLowThresholdRequest = _SetDataChannelBufferedAmountLowThresholdRequest;
|
|
3055
|
+
const _SetDataChannelBufferedAmountLowThresholdResponse = class _SetDataChannelBufferedAmountLowThresholdResponse extends import_protobuf.Message {
|
|
3056
|
+
constructor(data) {
|
|
3057
|
+
super();
|
|
3058
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
3059
|
+
}
|
|
3060
|
+
static fromBinary(bytes, options) {
|
|
3061
|
+
return new _SetDataChannelBufferedAmountLowThresholdResponse().fromBinary(bytes, options);
|
|
3062
|
+
}
|
|
3063
|
+
static fromJson(jsonValue, options) {
|
|
3064
|
+
return new _SetDataChannelBufferedAmountLowThresholdResponse().fromJson(jsonValue, options);
|
|
3065
|
+
}
|
|
3066
|
+
static fromJsonString(jsonString, options) {
|
|
3067
|
+
return new _SetDataChannelBufferedAmountLowThresholdResponse().fromJsonString(jsonString, options);
|
|
3068
|
+
}
|
|
3069
|
+
static equals(a, b) {
|
|
3070
|
+
return import_protobuf.proto2.util.equals(_SetDataChannelBufferedAmountLowThresholdResponse, a, b);
|
|
3071
|
+
}
|
|
3072
|
+
};
|
|
3073
|
+
_SetDataChannelBufferedAmountLowThresholdResponse.runtime = import_protobuf.proto2;
|
|
3074
|
+
_SetDataChannelBufferedAmountLowThresholdResponse.typeName = "livekit.proto.SetDataChannelBufferedAmountLowThresholdResponse";
|
|
3075
|
+
_SetDataChannelBufferedAmountLowThresholdResponse.fields = import_protobuf.proto2.util.newFieldList(() => []);
|
|
3076
|
+
let SetDataChannelBufferedAmountLowThresholdResponse = _SetDataChannelBufferedAmountLowThresholdResponse;
|
|
3077
|
+
const _DataChannelBufferedAmountLowThresholdChanged = class _DataChannelBufferedAmountLowThresholdChanged extends import_protobuf.Message {
|
|
3078
|
+
constructor(data) {
|
|
3079
|
+
super();
|
|
3080
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
3081
|
+
}
|
|
3082
|
+
static fromBinary(bytes, options) {
|
|
3083
|
+
return new _DataChannelBufferedAmountLowThresholdChanged().fromBinary(bytes, options);
|
|
3084
|
+
}
|
|
3085
|
+
static fromJson(jsonValue, options) {
|
|
3086
|
+
return new _DataChannelBufferedAmountLowThresholdChanged().fromJson(jsonValue, options);
|
|
3087
|
+
}
|
|
3088
|
+
static fromJsonString(jsonString, options) {
|
|
3089
|
+
return new _DataChannelBufferedAmountLowThresholdChanged().fromJsonString(jsonString, options);
|
|
3090
|
+
}
|
|
3091
|
+
static equals(a, b) {
|
|
3092
|
+
return import_protobuf.proto2.util.equals(_DataChannelBufferedAmountLowThresholdChanged, a, b);
|
|
3093
|
+
}
|
|
3094
|
+
};
|
|
3095
|
+
_DataChannelBufferedAmountLowThresholdChanged.runtime = import_protobuf.proto2;
|
|
3096
|
+
_DataChannelBufferedAmountLowThresholdChanged.typeName = "livekit.proto.DataChannelBufferedAmountLowThresholdChanged";
|
|
3097
|
+
_DataChannelBufferedAmountLowThresholdChanged.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
3098
|
+
{ no: 1, name: "kind", kind: "enum", T: import_protobuf.proto2.getEnumType(DataPacketKind), req: true },
|
|
3099
|
+
{ no: 2, name: "threshold", kind: "scalar", T: 4, req: true }
|
|
3100
|
+
]);
|
|
3101
|
+
let DataChannelBufferedAmountLowThresholdChanged = _DataChannelBufferedAmountLowThresholdChanged;
|
|
2660
3102
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2661
3103
|
0 && (module.exports = {
|
|
2662
3104
|
ActiveSpeakersChanged,
|
|
@@ -2676,14 +3118,19 @@ let DataStream_Chunk = _DataStream_Chunk;
|
|
|
2676
3118
|
ConnectionState,
|
|
2677
3119
|
ConnectionStateChanged,
|
|
2678
3120
|
ContinualGatheringPolicy,
|
|
3121
|
+
DataChannelBufferedAmountLowThresholdChanged,
|
|
2679
3122
|
DataPacketKind,
|
|
2680
3123
|
DataPacketReceived,
|
|
2681
3124
|
DataStream,
|
|
3125
|
+
DataStreamChunkReceived,
|
|
3126
|
+
DataStreamHeaderReceived,
|
|
3127
|
+
DataStreamTrailerReceived,
|
|
3128
|
+
DataStream_ByteHeader,
|
|
2682
3129
|
DataStream_Chunk,
|
|
2683
|
-
DataStream_FileHeader,
|
|
2684
3130
|
DataStream_Header,
|
|
2685
3131
|
DataStream_OperationType,
|
|
2686
3132
|
DataStream_TextHeader,
|
|
3133
|
+
DataStream_Trailer,
|
|
2687
3134
|
DisconnectCallback,
|
|
2688
3135
|
DisconnectRequest,
|
|
2689
3136
|
DisconnectResponse,
|
|
@@ -2730,6 +3177,17 @@ let DataStream_Chunk = _DataStream_Chunk;
|
|
|
2730
3177
|
SendChatMessageCallback,
|
|
2731
3178
|
SendChatMessageRequest,
|
|
2732
3179
|
SendChatMessageResponse,
|
|
3180
|
+
SendStreamChunkCallback,
|
|
3181
|
+
SendStreamChunkRequest,
|
|
3182
|
+
SendStreamChunkResponse,
|
|
3183
|
+
SendStreamHeaderCallback,
|
|
3184
|
+
SendStreamHeaderRequest,
|
|
3185
|
+
SendStreamHeaderResponse,
|
|
3186
|
+
SendStreamTrailerCallback,
|
|
3187
|
+
SendStreamTrailerRequest,
|
|
3188
|
+
SendStreamTrailerResponse,
|
|
3189
|
+
SetDataChannelBufferedAmountLowThresholdRequest,
|
|
3190
|
+
SetDataChannelBufferedAmountLowThresholdResponse,
|
|
2733
3191
|
SetLocalAttributesCallback,
|
|
2734
3192
|
SetLocalAttributesRequest,
|
|
2735
3193
|
SetLocalAttributesResponse,
|