@livekit/rtc-node 0.13.24 → 0.13.25
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/audio_filter.cjs +2 -2
- package/dist/audio_filter.cjs.map +1 -1
- package/dist/audio_filter.js +1 -1
- package/dist/audio_filter.js.map +1 -1
- package/dist/audio_frame.cjs +9 -5
- package/dist/audio_frame.cjs.map +1 -1
- package/dist/audio_frame.d.cts +2 -7
- package/dist/audio_frame.d.ts +2 -7
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +8 -4
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_mixer.cjs +1 -1
- package/dist/audio_mixer.cjs.map +1 -1
- package/dist/audio_mixer.d.cts +1 -6
- package/dist/audio_mixer.d.ts +1 -6
- package/dist/audio_mixer.js +1 -1
- package/dist/audio_mixer.js.map +1 -1
- package/dist/audio_resampler.cjs +20 -12
- package/dist/audio_resampler.cjs.map +1 -1
- package/dist/audio_resampler.d.cts +6 -6
- package/dist/audio_resampler.d.ts +6 -6
- package/dist/audio_resampler.d.ts.map +1 -1
- package/dist/audio_resampler.js +12 -4
- package/dist/audio_resampler.js.map +1 -1
- package/dist/audio_source.cjs +11 -7
- package/dist/audio_source.cjs.map +1 -1
- package/dist/audio_source.d.cts +1 -7
- package/dist/audio_source.d.ts +1 -7
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +8 -3
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.cjs +16 -6
- package/dist/audio_stream.cjs.map +1 -1
- package/dist/audio_stream.d.cts +1 -14
- package/dist/audio_stream.d.ts +1 -14
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +15 -5
- package/dist/audio_stream.js.map +1 -1
- package/dist/data_streams/index.d.cts +2 -10
- package/dist/data_streams/index.d.ts +2 -10
- package/dist/data_streams/stream_reader.cjs +8 -0
- package/dist/data_streams/stream_reader.cjs.map +1 -1
- package/dist/data_streams/stream_reader.d.cts +2 -10
- package/dist/data_streams/stream_reader.d.ts +2 -10
- package/dist/data_streams/stream_reader.d.ts.map +1 -1
- package/dist/data_streams/stream_reader.js +8 -0
- package/dist/data_streams/stream_reader.js.map +1 -1
- package/dist/data_streams/stream_writer.d.cts +2 -10
- package/dist/data_streams/stream_writer.d.ts +2 -10
- package/dist/data_streams/types.cjs.map +1 -1
- package/dist/data_streams/types.d.cts +2 -10
- package/dist/data_streams/types.d.ts +2 -10
- package/dist/data_streams/types.d.ts.map +1 -1
- package/dist/e2ee.cjs +21 -21
- package/dist/e2ee.cjs.map +1 -1
- package/dist/e2ee.d.cts +1 -2
- package/dist/e2ee.d.ts +1 -2
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +2 -2
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.cjs +11 -12
- package/dist/ffi_client.cjs.map +1 -1
- package/dist/ffi_client.d.cts +3 -16
- package/dist/ffi_client.d.ts +3 -16
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +5 -3
- package/dist/ffi_client.js.map +1 -1
- package/dist/frame_processor.cjs +13 -2
- package/dist/frame_processor.cjs.map +1 -1
- package/dist/frame_processor.d.cts +5 -8
- package/dist/frame_processor.d.ts +5 -8
- package/dist/frame_processor.d.ts.map +1 -1
- package/dist/frame_processor.js +10 -1
- package/dist/frame_processor.js.map +1 -1
- package/dist/index.cjs +25 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -16
- package/dist/index.d.ts +3 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -7
- package/dist/index.js.map +1 -1
- package/dist/participant.cjs +38 -38
- package/dist/participant.cjs.map +1 -1
- package/dist/participant.d.cts +2 -15
- package/dist/participant.d.ts +2 -15
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +12 -12
- package/dist/participant.js.map +1 -1
- package/dist/room.cjs +14 -14
- package/dist/room.cjs.map +1 -1
- package/dist/room.d.cts +2 -15
- package/dist/room.d.ts +2 -15
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +10 -10
- package/dist/room.js.map +1 -1
- package/dist/rpc.cjs.map +1 -1
- package/dist/rpc.d.cts +1 -2
- package/dist/rpc.d.ts +1 -2
- package/dist/rpc.d.ts.map +1 -1
- package/dist/rpc.js.map +1 -1
- package/dist/{stream_reader-Ch2zvjU3.d.cts → stream_reader-CuG4b8Y-.d.cts} +1 -1
- package/dist/{stream_reader-DRyR29vo.d.ts → stream_reader-CuG4b8Y-.d.ts} +1 -1
- package/dist/track.cjs +3 -3
- package/dist/track.cjs.map +1 -1
- package/dist/track.d.cts +1 -14
- package/dist/track.d.ts +1 -14
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +1 -1
- package/dist/track.js.map +1 -1
- package/dist/track_publication.cjs +4 -4
- package/dist/track_publication.cjs.map +1 -1
- package/dist/track_publication.d.cts +1 -14
- package/dist/track_publication.d.ts +1 -14
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +2 -2
- package/dist/track_publication.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/dist/video_frame.cjs +42 -42
- package/dist/video_frame.cjs.map +1 -1
- package/dist/video_frame.d.cts +1 -6
- package/dist/video_frame.d.ts +1 -6
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +2 -2
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.cjs +5 -5
- package/dist/video_source.cjs.map +1 -1
- package/dist/video_source.d.cts +1 -14
- package/dist/video_source.d.ts +1 -14
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +2 -2
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.cjs +12 -4
- package/dist/video_stream.cjs.map +1 -1
- package/dist/video_stream.d.cts +1 -14
- package/dist/video_stream.d.ts +1 -14
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +10 -2
- package/dist/video_stream.js.map +1 -1
- package/package.json +7 -37
- package/src/audio_filter.ts +2 -2
- package/src/audio_frame.ts +17 -5
- package/src/audio_mixer.ts +1 -1
- package/src/audio_resampler.ts +14 -4
- package/src/audio_source.ts +13 -5
- package/src/audio_stream.ts +21 -6
- package/src/data_streams/stream_reader.ts +19 -1
- package/src/data_streams/types.ts +1 -1
- package/src/e2ee.ts +3 -3
- package/src/ffi_client.ts +7 -5
- package/src/frame_processor.ts +21 -0
- package/src/index.ts +6 -5
- package/src/participant.ts +17 -17
- package/src/room.ts +22 -22
- package/src/rpc.ts +1 -1
- package/src/tests/e2e.test.ts +11 -8
- package/src/track.ts +4 -4
- package/src/track_publication.ts +6 -6
- package/src/version.ts +1 -1
- package/src/video_frame.ts +3 -3
- package/src/video_source.ts +3 -3
- package/src/video_stream.ts +15 -3
- package/Cargo.toml +0 -25
- package/build.rs +0 -9
- package/dist/napi/native.cjs +0 -301
- package/dist/napi/native.d.cjs +0 -17
- package/dist/napi/native.d.cjs.map +0 -1
- package/dist/napi/native.d.d.cts +0 -21
- package/dist/napi/native.d.d.ts +0 -21
- package/dist/napi/native.d.js +0 -1
- package/dist/napi/native.d.js.map +0 -1
- package/dist/napi/native.d.ts +0 -19
- package/dist/napi/native.js +0 -15
- package/dist/native.cjs +0 -301
- package/dist/native.d.ts +0 -19
- package/dist/native.js +0 -15
- package/dist/proto/audio_frame_pb.cjs +0 -1357
- package/dist/proto/audio_frame_pb.cjs.map +0 -1
- package/dist/proto/audio_frame_pb.d.cts +0 -1183
- package/dist/proto/audio_frame_pb.d.ts +0 -1183
- package/dist/proto/audio_frame_pb.d.ts.map +0 -1
- package/dist/proto/audio_frame_pb.js +0 -1283
- package/dist/proto/audio_frame_pb.js.map +0 -1
- package/dist/proto/data_stream_pb.cjs +0 -1638
- package/dist/proto/data_stream_pb.cjs.map +0 -1
- package/dist/proto/data_stream_pb.d.cts +0 -1449
- package/dist/proto/data_stream_pb.d.ts +0 -1449
- package/dist/proto/data_stream_pb.d.ts.map +0 -1
- package/dist/proto/data_stream_pb.js +0 -1559
- package/dist/proto/data_stream_pb.js.map +0 -1
- package/dist/proto/e2ee_pb.cjs +0 -746
- package/dist/proto/e2ee_pb.cjs.map +0 -1
- package/dist/proto/e2ee_pb.d.cts +0 -653
- package/dist/proto/e2ee_pb.d.ts +0 -653
- package/dist/proto/e2ee_pb.d.ts.map +0 -1
- package/dist/proto/e2ee_pb.js +0 -696
- package/dist/proto/e2ee_pb.js.map +0 -1
- package/dist/proto/ffi_pb.cjs +0 -477
- package/dist/proto/ffi_pb.cjs.map +0 -1
- package/dist/proto/ffi_pb.d.cts +0 -1321
- package/dist/proto/ffi_pb.d.ts +0 -1321
- package/dist/proto/ffi_pb.d.ts.map +0 -1
- package/dist/proto/ffi_pb.js +0 -444
- package/dist/proto/ffi_pb.js.map +0 -1
- package/dist/proto/handle_pb.cjs +0 -53
- package/dist/proto/handle_pb.cjs.map +0 -1
- package/dist/proto/handle_pb.d.cts +0 -31
- package/dist/proto/handle_pb.d.ts +0 -31
- package/dist/proto/handle_pb.d.ts.map +0 -1
- package/dist/proto/handle_pb.js +0 -29
- package/dist/proto/handle_pb.js.map +0 -1
- package/dist/proto/participant_pb.cjs +0 -173
- package/dist/proto/participant_pb.cjs.map +0 -1
- package/dist/proto/participant_pb.d.cts +0 -218
- package/dist/proto/participant_pb.d.ts +0 -218
- package/dist/proto/participant_pb.d.ts.map +0 -1
- package/dist/proto/participant_pb.js +0 -145
- package/dist/proto/participant_pb.js.map +0 -1
- package/dist/proto/room_pb.cjs +0 -3374
- package/dist/proto/room_pb.cjs.map +0 -1
- package/dist/proto/room_pb.d.cts +0 -3028
- package/dist/proto/room_pb.d.ts +0 -3028
- package/dist/proto/room_pb.d.ts.map +0 -1
- package/dist/proto/room_pb.js +0 -3232
- package/dist/proto/room_pb.js.map +0 -1
- package/dist/proto/rpc_pb.cjs +0 -328
- package/dist/proto/rpc_pb.cjs.map +0 -1
- package/dist/proto/rpc_pb.d.cts +0 -267
- package/dist/proto/rpc_pb.d.ts +0 -267
- package/dist/proto/rpc_pb.d.ts.map +0 -1
- package/dist/proto/rpc_pb.js +0 -294
- package/dist/proto/rpc_pb.js.map +0 -1
- package/dist/proto/stats_pb.cjs +0 -1370
- package/dist/proto/stats_pb.cjs.map +0 -1
- package/dist/proto/stats_pb.d.cts +0 -1764
- package/dist/proto/stats_pb.d.ts +0 -1764
- package/dist/proto/stats_pb.d.ts.map +0 -1
- package/dist/proto/stats_pb.js +0 -1300
- package/dist/proto/stats_pb.js.map +0 -1
- package/dist/proto/track_pb.cjs +0 -630
- package/dist/proto/track_pb.cjs.map +0 -1
- package/dist/proto/track_pb.d.cts +0 -542
- package/dist/proto/track_pb.d.ts +0 -542
- package/dist/proto/track_pb.d.ts.map +0 -1
- package/dist/proto/track_pb.js +0 -584
- package/dist/proto/track_pb.js.map +0 -1
- package/dist/proto/track_publication_pb.cjs +0 -194
- package/dist/proto/track_publication_pb.cjs.map +0 -1
- package/dist/proto/track_publication_pb.d.cts +0 -135
- package/dist/proto/track_publication_pb.d.ts +0 -135
- package/dist/proto/track_publication_pb.d.ts.map +0 -1
- package/dist/proto/track_publication_pb.js +0 -164
- package/dist/proto/track_publication_pb.js.map +0 -1
- package/dist/proto/video_frame_pb.cjs +0 -723
- package/dist/proto/video_frame_pb.cjs.map +0 -1
- package/dist/proto/video_frame_pb.d.cts +0 -667
- package/dist/proto/video_frame_pb.d.ts +0 -667
- package/dist/proto/video_frame_pb.d.ts.map +0 -1
- package/dist/proto/video_frame_pb.js +0 -673
- package/dist/proto/video_frame_pb.js.map +0 -1
- package/src/lib.rs +0 -9
- package/src/napi/native.cjs +0 -301
- package/src/napi/native.d.ts +0 -19
- package/src/napi/native.js +0 -15
- package/src/nodejs.rs +0 -134
- package/src/proto/audio_frame_pb.ts +0 -2270
- package/src/proto/data_stream_pb.ts +0 -2674
- package/src/proto/e2ee_pb.ts +0 -1231
- package/src/proto/ffi_pb.ts +0 -1700
- package/src/proto/handle_pb.ts +0 -69
- package/src/proto/participant_pb.ts +0 -351
- package/src/proto/room_pb.ts +0 -5661
- package/src/proto/rpc_pb.ts +0 -539
- package/src/proto/stats_pb.ts +0 -3050
- package/src/proto/track_pb.ts +0 -1040
- package/src/proto/track_publication_pb.ts +0 -284
- package/src/proto/video_frame_pb.ts +0 -1236
package/dist/proto/room_pb.cjs
DELETED
|
@@ -1,3374 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var room_pb_exports = {};
|
|
20
|
-
__export(room_pb_exports, {
|
|
21
|
-
ActiveSpeakersChanged: () => ActiveSpeakersChanged,
|
|
22
|
-
AttributesEntry: () => AttributesEntry,
|
|
23
|
-
AudioEncoding: () => AudioEncoding,
|
|
24
|
-
BufferInfo: () => BufferInfo,
|
|
25
|
-
ByteStreamOpened: () => ByteStreamOpened,
|
|
26
|
-
ChatMessage: () => ChatMessage,
|
|
27
|
-
ChatMessageReceived: () => ChatMessageReceived,
|
|
28
|
-
ConnectCallback: () => ConnectCallback,
|
|
29
|
-
ConnectCallback_ParticipantWithTracks: () => ConnectCallback_ParticipantWithTracks,
|
|
30
|
-
ConnectCallback_Result: () => ConnectCallback_Result,
|
|
31
|
-
ConnectRequest: () => ConnectRequest,
|
|
32
|
-
ConnectResponse: () => ConnectResponse,
|
|
33
|
-
Connected: () => Connected,
|
|
34
|
-
ConnectionQuality: () => ConnectionQuality,
|
|
35
|
-
ConnectionQualityChanged: () => ConnectionQualityChanged,
|
|
36
|
-
ConnectionState: () => ConnectionState,
|
|
37
|
-
ConnectionStateChanged: () => ConnectionStateChanged,
|
|
38
|
-
ContinualGatheringPolicy: () => ContinualGatheringPolicy,
|
|
39
|
-
DataChannelBufferedAmountLowThresholdChanged: () => DataChannelBufferedAmountLowThresholdChanged,
|
|
40
|
-
DataPacketKind: () => DataPacketKind,
|
|
41
|
-
DataPacketReceived: () => DataPacketReceived,
|
|
42
|
-
DataStream: () => DataStream,
|
|
43
|
-
DataStreamChunkReceived: () => DataStreamChunkReceived,
|
|
44
|
-
DataStreamHeaderReceived: () => DataStreamHeaderReceived,
|
|
45
|
-
DataStreamTrailerReceived: () => DataStreamTrailerReceived,
|
|
46
|
-
DataStream_ByteHeader: () => DataStream_ByteHeader,
|
|
47
|
-
DataStream_Chunk: () => DataStream_Chunk,
|
|
48
|
-
DataStream_Header: () => DataStream_Header,
|
|
49
|
-
DataStream_OperationType: () => DataStream_OperationType,
|
|
50
|
-
DataStream_TextHeader: () => DataStream_TextHeader,
|
|
51
|
-
DataStream_Trailer: () => DataStream_Trailer,
|
|
52
|
-
DisconnectCallback: () => DisconnectCallback,
|
|
53
|
-
DisconnectRequest: () => DisconnectRequest,
|
|
54
|
-
DisconnectResponse: () => DisconnectResponse,
|
|
55
|
-
Disconnected: () => Disconnected,
|
|
56
|
-
E2eeStateChanged: () => E2eeStateChanged,
|
|
57
|
-
EditChatMessageRequest: () => EditChatMessageRequest,
|
|
58
|
-
GetSessionStatsCallback: () => GetSessionStatsCallback,
|
|
59
|
-
GetSessionStatsCallback_Result: () => GetSessionStatsCallback_Result,
|
|
60
|
-
GetSessionStatsRequest: () => GetSessionStatsRequest,
|
|
61
|
-
GetSessionStatsResponse: () => GetSessionStatsResponse,
|
|
62
|
-
IceServer: () => IceServer,
|
|
63
|
-
IceTransportType: () => IceTransportType,
|
|
64
|
-
LocalTrackPublished: () => LocalTrackPublished,
|
|
65
|
-
LocalTrackSubscribed: () => LocalTrackSubscribed,
|
|
66
|
-
LocalTrackUnpublished: () => LocalTrackUnpublished,
|
|
67
|
-
OwnedBuffer: () => OwnedBuffer,
|
|
68
|
-
OwnedRoom: () => OwnedRoom,
|
|
69
|
-
ParticipantAttributesChanged: () => ParticipantAttributesChanged,
|
|
70
|
-
ParticipantConnected: () => ParticipantConnected,
|
|
71
|
-
ParticipantDisconnected: () => ParticipantDisconnected,
|
|
72
|
-
ParticipantEncryptionStatusChanged: () => ParticipantEncryptionStatusChanged,
|
|
73
|
-
ParticipantMetadataChanged: () => ParticipantMetadataChanged,
|
|
74
|
-
ParticipantNameChanged: () => ParticipantNameChanged,
|
|
75
|
-
ParticipantsUpdated: () => ParticipantsUpdated,
|
|
76
|
-
PublishDataCallback: () => PublishDataCallback,
|
|
77
|
-
PublishDataRequest: () => PublishDataRequest,
|
|
78
|
-
PublishDataResponse: () => PublishDataResponse,
|
|
79
|
-
PublishSipDtmfCallback: () => PublishSipDtmfCallback,
|
|
80
|
-
PublishSipDtmfRequest: () => PublishSipDtmfRequest,
|
|
81
|
-
PublishSipDtmfResponse: () => PublishSipDtmfResponse,
|
|
82
|
-
PublishTrackCallback: () => PublishTrackCallback,
|
|
83
|
-
PublishTrackRequest: () => PublishTrackRequest,
|
|
84
|
-
PublishTrackResponse: () => PublishTrackResponse,
|
|
85
|
-
PublishTranscriptionCallback: () => PublishTranscriptionCallback,
|
|
86
|
-
PublishTranscriptionRequest: () => PublishTranscriptionRequest,
|
|
87
|
-
PublishTranscriptionResponse: () => PublishTranscriptionResponse,
|
|
88
|
-
Reconnected: () => Reconnected,
|
|
89
|
-
Reconnecting: () => Reconnecting,
|
|
90
|
-
RoomEOS: () => RoomEOS,
|
|
91
|
-
RoomEvent: () => RoomEvent,
|
|
92
|
-
RoomInfo: () => RoomInfo,
|
|
93
|
-
RoomMetadataChanged: () => RoomMetadataChanged,
|
|
94
|
-
RoomOptions: () => RoomOptions,
|
|
95
|
-
RoomSidChanged: () => RoomSidChanged,
|
|
96
|
-
RtcConfig: () => RtcConfig,
|
|
97
|
-
SendChatMessageCallback: () => SendChatMessageCallback,
|
|
98
|
-
SendChatMessageRequest: () => SendChatMessageRequest,
|
|
99
|
-
SendChatMessageResponse: () => SendChatMessageResponse,
|
|
100
|
-
SendStreamChunkCallback: () => SendStreamChunkCallback,
|
|
101
|
-
SendStreamChunkRequest: () => SendStreamChunkRequest,
|
|
102
|
-
SendStreamChunkResponse: () => SendStreamChunkResponse,
|
|
103
|
-
SendStreamHeaderCallback: () => SendStreamHeaderCallback,
|
|
104
|
-
SendStreamHeaderRequest: () => SendStreamHeaderRequest,
|
|
105
|
-
SendStreamHeaderResponse: () => SendStreamHeaderResponse,
|
|
106
|
-
SendStreamTrailerCallback: () => SendStreamTrailerCallback,
|
|
107
|
-
SendStreamTrailerRequest: () => SendStreamTrailerRequest,
|
|
108
|
-
SendStreamTrailerResponse: () => SendStreamTrailerResponse,
|
|
109
|
-
SetDataChannelBufferedAmountLowThresholdRequest: () => SetDataChannelBufferedAmountLowThresholdRequest,
|
|
110
|
-
SetDataChannelBufferedAmountLowThresholdResponse: () => SetDataChannelBufferedAmountLowThresholdResponse,
|
|
111
|
-
SetLocalAttributesCallback: () => SetLocalAttributesCallback,
|
|
112
|
-
SetLocalAttributesRequest: () => SetLocalAttributesRequest,
|
|
113
|
-
SetLocalAttributesResponse: () => SetLocalAttributesResponse,
|
|
114
|
-
SetLocalMetadataCallback: () => SetLocalMetadataCallback,
|
|
115
|
-
SetLocalMetadataRequest: () => SetLocalMetadataRequest,
|
|
116
|
-
SetLocalMetadataResponse: () => SetLocalMetadataResponse,
|
|
117
|
-
SetLocalNameCallback: () => SetLocalNameCallback,
|
|
118
|
-
SetLocalNameRequest: () => SetLocalNameRequest,
|
|
119
|
-
SetLocalNameResponse: () => SetLocalNameResponse,
|
|
120
|
-
SetSubscribedRequest: () => SetSubscribedRequest,
|
|
121
|
-
SetSubscribedResponse: () => SetSubscribedResponse,
|
|
122
|
-
SipDTMF: () => SipDTMF,
|
|
123
|
-
TextStreamOpened: () => TextStreamOpened,
|
|
124
|
-
TokenRefreshed: () => TokenRefreshed,
|
|
125
|
-
TrackMuted: () => TrackMuted,
|
|
126
|
-
TrackPublishOptions: () => TrackPublishOptions,
|
|
127
|
-
TrackPublished: () => TrackPublished,
|
|
128
|
-
TrackSubscribed: () => TrackSubscribed,
|
|
129
|
-
TrackSubscriptionFailed: () => TrackSubscriptionFailed,
|
|
130
|
-
TrackUnmuted: () => TrackUnmuted,
|
|
131
|
-
TrackUnpublished: () => TrackUnpublished,
|
|
132
|
-
TrackUnsubscribed: () => TrackUnsubscribed,
|
|
133
|
-
TranscriptionReceived: () => TranscriptionReceived,
|
|
134
|
-
TranscriptionSegment: () => TranscriptionSegment,
|
|
135
|
-
UnpublishTrackCallback: () => UnpublishTrackCallback,
|
|
136
|
-
UnpublishTrackRequest: () => UnpublishTrackRequest,
|
|
137
|
-
UnpublishTrackResponse: () => UnpublishTrackResponse,
|
|
138
|
-
UserPacket: () => UserPacket,
|
|
139
|
-
VideoEncoding: () => VideoEncoding
|
|
140
|
-
});
|
|
141
|
-
module.exports = __toCommonJS(room_pb_exports);
|
|
142
|
-
var import_protobuf = require("@bufbuild/protobuf");
|
|
143
|
-
var import_participant_pb = require("./participant_pb.cjs");
|
|
144
|
-
var import_track_pb = require("./track_pb.cjs");
|
|
145
|
-
var import_stats_pb = require("./stats_pb.cjs");
|
|
146
|
-
var import_video_frame_pb = require("./video_frame_pb.cjs");
|
|
147
|
-
var import_e2ee_pb = require("./e2ee_pb.cjs");
|
|
148
|
-
var import_handle_pb = require("./handle_pb.cjs");
|
|
149
|
-
var import_data_stream_pb = require("./data_stream_pb.cjs");
|
|
150
|
-
var IceTransportType = /* @__PURE__ */ ((IceTransportType2) => {
|
|
151
|
-
IceTransportType2[IceTransportType2["TRANSPORT_RELAY"] = 0] = "TRANSPORT_RELAY";
|
|
152
|
-
IceTransportType2[IceTransportType2["TRANSPORT_NOHOST"] = 1] = "TRANSPORT_NOHOST";
|
|
153
|
-
IceTransportType2[IceTransportType2["TRANSPORT_ALL"] = 2] = "TRANSPORT_ALL";
|
|
154
|
-
return IceTransportType2;
|
|
155
|
-
})(IceTransportType || {});
|
|
156
|
-
import_protobuf.proto2.util.setEnumType(IceTransportType, "livekit.proto.IceTransportType", [
|
|
157
|
-
{ no: 0, name: "TRANSPORT_RELAY" },
|
|
158
|
-
{ no: 1, name: "TRANSPORT_NOHOST" },
|
|
159
|
-
{ no: 2, name: "TRANSPORT_ALL" }
|
|
160
|
-
]);
|
|
161
|
-
var ContinualGatheringPolicy = /* @__PURE__ */ ((ContinualGatheringPolicy2) => {
|
|
162
|
-
ContinualGatheringPolicy2[ContinualGatheringPolicy2["GATHER_ONCE"] = 0] = "GATHER_ONCE";
|
|
163
|
-
ContinualGatheringPolicy2[ContinualGatheringPolicy2["GATHER_CONTINUALLY"] = 1] = "GATHER_CONTINUALLY";
|
|
164
|
-
return ContinualGatheringPolicy2;
|
|
165
|
-
})(ContinualGatheringPolicy || {});
|
|
166
|
-
import_protobuf.proto2.util.setEnumType(ContinualGatheringPolicy, "livekit.proto.ContinualGatheringPolicy", [
|
|
167
|
-
{ no: 0, name: "GATHER_ONCE" },
|
|
168
|
-
{ no: 1, name: "GATHER_CONTINUALLY" }
|
|
169
|
-
]);
|
|
170
|
-
var ConnectionQuality = /* @__PURE__ */ ((ConnectionQuality2) => {
|
|
171
|
-
ConnectionQuality2[ConnectionQuality2["QUALITY_POOR"] = 0] = "QUALITY_POOR";
|
|
172
|
-
ConnectionQuality2[ConnectionQuality2["QUALITY_GOOD"] = 1] = "QUALITY_GOOD";
|
|
173
|
-
ConnectionQuality2[ConnectionQuality2["QUALITY_EXCELLENT"] = 2] = "QUALITY_EXCELLENT";
|
|
174
|
-
ConnectionQuality2[ConnectionQuality2["QUALITY_LOST"] = 3] = "QUALITY_LOST";
|
|
175
|
-
return ConnectionQuality2;
|
|
176
|
-
})(ConnectionQuality || {});
|
|
177
|
-
import_protobuf.proto2.util.setEnumType(ConnectionQuality, "livekit.proto.ConnectionQuality", [
|
|
178
|
-
{ no: 0, name: "QUALITY_POOR" },
|
|
179
|
-
{ no: 1, name: "QUALITY_GOOD" },
|
|
180
|
-
{ no: 2, name: "QUALITY_EXCELLENT" },
|
|
181
|
-
{ no: 3, name: "QUALITY_LOST" }
|
|
182
|
-
]);
|
|
183
|
-
var ConnectionState = /* @__PURE__ */ ((ConnectionState2) => {
|
|
184
|
-
ConnectionState2[ConnectionState2["CONN_DISCONNECTED"] = 0] = "CONN_DISCONNECTED";
|
|
185
|
-
ConnectionState2[ConnectionState2["CONN_CONNECTED"] = 1] = "CONN_CONNECTED";
|
|
186
|
-
ConnectionState2[ConnectionState2["CONN_RECONNECTING"] = 2] = "CONN_RECONNECTING";
|
|
187
|
-
return ConnectionState2;
|
|
188
|
-
})(ConnectionState || {});
|
|
189
|
-
import_protobuf.proto2.util.setEnumType(ConnectionState, "livekit.proto.ConnectionState", [
|
|
190
|
-
{ no: 0, name: "CONN_DISCONNECTED" },
|
|
191
|
-
{ no: 1, name: "CONN_CONNECTED" },
|
|
192
|
-
{ no: 2, name: "CONN_RECONNECTING" }
|
|
193
|
-
]);
|
|
194
|
-
var DataPacketKind = /* @__PURE__ */ ((DataPacketKind2) => {
|
|
195
|
-
DataPacketKind2[DataPacketKind2["KIND_LOSSY"] = 0] = "KIND_LOSSY";
|
|
196
|
-
DataPacketKind2[DataPacketKind2["KIND_RELIABLE"] = 1] = "KIND_RELIABLE";
|
|
197
|
-
return DataPacketKind2;
|
|
198
|
-
})(DataPacketKind || {});
|
|
199
|
-
import_protobuf.proto2.util.setEnumType(DataPacketKind, "livekit.proto.DataPacketKind", [
|
|
200
|
-
{ no: 0, name: "KIND_LOSSY" },
|
|
201
|
-
{ no: 1, name: "KIND_RELIABLE" }
|
|
202
|
-
]);
|
|
203
|
-
const _ConnectRequest = class _ConnectRequest extends import_protobuf.Message {
|
|
204
|
-
constructor(data) {
|
|
205
|
-
super();
|
|
206
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
207
|
-
}
|
|
208
|
-
static fromBinary(bytes, options) {
|
|
209
|
-
return new _ConnectRequest().fromBinary(bytes, options);
|
|
210
|
-
}
|
|
211
|
-
static fromJson(jsonValue, options) {
|
|
212
|
-
return new _ConnectRequest().fromJson(jsonValue, options);
|
|
213
|
-
}
|
|
214
|
-
static fromJsonString(jsonString, options) {
|
|
215
|
-
return new _ConnectRequest().fromJsonString(jsonString, options);
|
|
216
|
-
}
|
|
217
|
-
static equals(a, b) {
|
|
218
|
-
return import_protobuf.proto2.util.equals(_ConnectRequest, a, b);
|
|
219
|
-
}
|
|
220
|
-
};
|
|
221
|
-
_ConnectRequest.runtime = import_protobuf.proto2;
|
|
222
|
-
_ConnectRequest.typeName = "livekit.proto.ConnectRequest";
|
|
223
|
-
_ConnectRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
224
|
-
{ no: 1, name: "url", kind: "scalar", T: 9, req: true },
|
|
225
|
-
{ no: 2, name: "token", kind: "scalar", T: 9, req: true },
|
|
226
|
-
{ no: 3, name: "options", kind: "message", T: RoomOptions, req: true }
|
|
227
|
-
]);
|
|
228
|
-
let ConnectRequest = _ConnectRequest;
|
|
229
|
-
const _ConnectResponse = class _ConnectResponse extends import_protobuf.Message {
|
|
230
|
-
constructor(data) {
|
|
231
|
-
super();
|
|
232
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
233
|
-
}
|
|
234
|
-
static fromBinary(bytes, options) {
|
|
235
|
-
return new _ConnectResponse().fromBinary(bytes, options);
|
|
236
|
-
}
|
|
237
|
-
static fromJson(jsonValue, options) {
|
|
238
|
-
return new _ConnectResponse().fromJson(jsonValue, options);
|
|
239
|
-
}
|
|
240
|
-
static fromJsonString(jsonString, options) {
|
|
241
|
-
return new _ConnectResponse().fromJsonString(jsonString, options);
|
|
242
|
-
}
|
|
243
|
-
static equals(a, b) {
|
|
244
|
-
return import_protobuf.proto2.util.equals(_ConnectResponse, a, b);
|
|
245
|
-
}
|
|
246
|
-
};
|
|
247
|
-
_ConnectResponse.runtime = import_protobuf.proto2;
|
|
248
|
-
_ConnectResponse.typeName = "livekit.proto.ConnectResponse";
|
|
249
|
-
_ConnectResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
250
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
251
|
-
]);
|
|
252
|
-
let ConnectResponse = _ConnectResponse;
|
|
253
|
-
const _ConnectCallback = class _ConnectCallback extends import_protobuf.Message {
|
|
254
|
-
constructor(data) {
|
|
255
|
-
super();
|
|
256
|
-
/**
|
|
257
|
-
* @generated from oneof livekit.proto.ConnectCallback.message
|
|
258
|
-
*/
|
|
259
|
-
this.message = { case: void 0 };
|
|
260
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
261
|
-
}
|
|
262
|
-
static fromBinary(bytes, options) {
|
|
263
|
-
return new _ConnectCallback().fromBinary(bytes, options);
|
|
264
|
-
}
|
|
265
|
-
static fromJson(jsonValue, options) {
|
|
266
|
-
return new _ConnectCallback().fromJson(jsonValue, options);
|
|
267
|
-
}
|
|
268
|
-
static fromJsonString(jsonString, options) {
|
|
269
|
-
return new _ConnectCallback().fromJsonString(jsonString, options);
|
|
270
|
-
}
|
|
271
|
-
static equals(a, b) {
|
|
272
|
-
return import_protobuf.proto2.util.equals(_ConnectCallback, a, b);
|
|
273
|
-
}
|
|
274
|
-
};
|
|
275
|
-
_ConnectCallback.runtime = import_protobuf.proto2;
|
|
276
|
-
_ConnectCallback.typeName = "livekit.proto.ConnectCallback";
|
|
277
|
-
_ConnectCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
278
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true },
|
|
279
|
-
{ no: 2, name: "error", kind: "scalar", T: 9, oneof: "message" },
|
|
280
|
-
{ no: 3, name: "result", kind: "message", T: ConnectCallback_Result, oneof: "message" }
|
|
281
|
-
]);
|
|
282
|
-
let ConnectCallback = _ConnectCallback;
|
|
283
|
-
const _ConnectCallback_ParticipantWithTracks = class _ConnectCallback_ParticipantWithTracks extends import_protobuf.Message {
|
|
284
|
-
constructor(data) {
|
|
285
|
-
super();
|
|
286
|
-
/**
|
|
287
|
-
* TrackInfo are not needed here, if we're subscribed to a track, the FfiServer will send
|
|
288
|
-
* a TrackSubscribed event
|
|
289
|
-
*
|
|
290
|
-
* @generated from field: repeated livekit.proto.OwnedTrackPublication publications = 2;
|
|
291
|
-
*/
|
|
292
|
-
this.publications = [];
|
|
293
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
294
|
-
}
|
|
295
|
-
static fromBinary(bytes, options) {
|
|
296
|
-
return new _ConnectCallback_ParticipantWithTracks().fromBinary(bytes, options);
|
|
297
|
-
}
|
|
298
|
-
static fromJson(jsonValue, options) {
|
|
299
|
-
return new _ConnectCallback_ParticipantWithTracks().fromJson(jsonValue, options);
|
|
300
|
-
}
|
|
301
|
-
static fromJsonString(jsonString, options) {
|
|
302
|
-
return new _ConnectCallback_ParticipantWithTracks().fromJsonString(jsonString, options);
|
|
303
|
-
}
|
|
304
|
-
static equals(a, b) {
|
|
305
|
-
return import_protobuf.proto2.util.equals(_ConnectCallback_ParticipantWithTracks, a, b);
|
|
306
|
-
}
|
|
307
|
-
};
|
|
308
|
-
_ConnectCallback_ParticipantWithTracks.runtime = import_protobuf.proto2;
|
|
309
|
-
_ConnectCallback_ParticipantWithTracks.typeName = "livekit.proto.ConnectCallback.ParticipantWithTracks";
|
|
310
|
-
_ConnectCallback_ParticipantWithTracks.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
311
|
-
{ no: 1, name: "participant", kind: "message", T: import_participant_pb.OwnedParticipant, req: true },
|
|
312
|
-
{ no: 2, name: "publications", kind: "message", T: import_track_pb.OwnedTrackPublication, repeated: true }
|
|
313
|
-
]);
|
|
314
|
-
let ConnectCallback_ParticipantWithTracks = _ConnectCallback_ParticipantWithTracks;
|
|
315
|
-
const _ConnectCallback_Result = class _ConnectCallback_Result extends import_protobuf.Message {
|
|
316
|
-
constructor(data) {
|
|
317
|
-
super();
|
|
318
|
-
/**
|
|
319
|
-
* @generated from field: repeated livekit.proto.ConnectCallback.ParticipantWithTracks participants = 3;
|
|
320
|
-
*/
|
|
321
|
-
this.participants = [];
|
|
322
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
323
|
-
}
|
|
324
|
-
static fromBinary(bytes, options) {
|
|
325
|
-
return new _ConnectCallback_Result().fromBinary(bytes, options);
|
|
326
|
-
}
|
|
327
|
-
static fromJson(jsonValue, options) {
|
|
328
|
-
return new _ConnectCallback_Result().fromJson(jsonValue, options);
|
|
329
|
-
}
|
|
330
|
-
static fromJsonString(jsonString, options) {
|
|
331
|
-
return new _ConnectCallback_Result().fromJsonString(jsonString, options);
|
|
332
|
-
}
|
|
333
|
-
static equals(a, b) {
|
|
334
|
-
return import_protobuf.proto2.util.equals(_ConnectCallback_Result, a, b);
|
|
335
|
-
}
|
|
336
|
-
};
|
|
337
|
-
_ConnectCallback_Result.runtime = import_protobuf.proto2;
|
|
338
|
-
_ConnectCallback_Result.typeName = "livekit.proto.ConnectCallback.Result";
|
|
339
|
-
_ConnectCallback_Result.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
340
|
-
{ no: 1, name: "room", kind: "message", T: OwnedRoom, req: true },
|
|
341
|
-
{ no: 2, name: "local_participant", kind: "message", T: import_participant_pb.OwnedParticipant, req: true },
|
|
342
|
-
{ no: 3, name: "participants", kind: "message", T: ConnectCallback_ParticipantWithTracks, repeated: true }
|
|
343
|
-
]);
|
|
344
|
-
let ConnectCallback_Result = _ConnectCallback_Result;
|
|
345
|
-
const _DisconnectRequest = class _DisconnectRequest extends import_protobuf.Message {
|
|
346
|
-
constructor(data) {
|
|
347
|
-
super();
|
|
348
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
349
|
-
}
|
|
350
|
-
static fromBinary(bytes, options) {
|
|
351
|
-
return new _DisconnectRequest().fromBinary(bytes, options);
|
|
352
|
-
}
|
|
353
|
-
static fromJson(jsonValue, options) {
|
|
354
|
-
return new _DisconnectRequest().fromJson(jsonValue, options);
|
|
355
|
-
}
|
|
356
|
-
static fromJsonString(jsonString, options) {
|
|
357
|
-
return new _DisconnectRequest().fromJsonString(jsonString, options);
|
|
358
|
-
}
|
|
359
|
-
static equals(a, b) {
|
|
360
|
-
return import_protobuf.proto2.util.equals(_DisconnectRequest, a, b);
|
|
361
|
-
}
|
|
362
|
-
};
|
|
363
|
-
_DisconnectRequest.runtime = import_protobuf.proto2;
|
|
364
|
-
_DisconnectRequest.typeName = "livekit.proto.DisconnectRequest";
|
|
365
|
-
_DisconnectRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
366
|
-
{ no: 1, name: "room_handle", kind: "scalar", T: 4, req: true }
|
|
367
|
-
]);
|
|
368
|
-
let DisconnectRequest = _DisconnectRequest;
|
|
369
|
-
const _DisconnectResponse = class _DisconnectResponse extends import_protobuf.Message {
|
|
370
|
-
constructor(data) {
|
|
371
|
-
super();
|
|
372
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
373
|
-
}
|
|
374
|
-
static fromBinary(bytes, options) {
|
|
375
|
-
return new _DisconnectResponse().fromBinary(bytes, options);
|
|
376
|
-
}
|
|
377
|
-
static fromJson(jsonValue, options) {
|
|
378
|
-
return new _DisconnectResponse().fromJson(jsonValue, options);
|
|
379
|
-
}
|
|
380
|
-
static fromJsonString(jsonString, options) {
|
|
381
|
-
return new _DisconnectResponse().fromJsonString(jsonString, options);
|
|
382
|
-
}
|
|
383
|
-
static equals(a, b) {
|
|
384
|
-
return import_protobuf.proto2.util.equals(_DisconnectResponse, a, b);
|
|
385
|
-
}
|
|
386
|
-
};
|
|
387
|
-
_DisconnectResponse.runtime = import_protobuf.proto2;
|
|
388
|
-
_DisconnectResponse.typeName = "livekit.proto.DisconnectResponse";
|
|
389
|
-
_DisconnectResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
390
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
391
|
-
]);
|
|
392
|
-
let DisconnectResponse = _DisconnectResponse;
|
|
393
|
-
const _DisconnectCallback = class _DisconnectCallback extends import_protobuf.Message {
|
|
394
|
-
constructor(data) {
|
|
395
|
-
super();
|
|
396
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
397
|
-
}
|
|
398
|
-
static fromBinary(bytes, options) {
|
|
399
|
-
return new _DisconnectCallback().fromBinary(bytes, options);
|
|
400
|
-
}
|
|
401
|
-
static fromJson(jsonValue, options) {
|
|
402
|
-
return new _DisconnectCallback().fromJson(jsonValue, options);
|
|
403
|
-
}
|
|
404
|
-
static fromJsonString(jsonString, options) {
|
|
405
|
-
return new _DisconnectCallback().fromJsonString(jsonString, options);
|
|
406
|
-
}
|
|
407
|
-
static equals(a, b) {
|
|
408
|
-
return import_protobuf.proto2.util.equals(_DisconnectCallback, a, b);
|
|
409
|
-
}
|
|
410
|
-
};
|
|
411
|
-
_DisconnectCallback.runtime = import_protobuf.proto2;
|
|
412
|
-
_DisconnectCallback.typeName = "livekit.proto.DisconnectCallback";
|
|
413
|
-
_DisconnectCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
414
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
415
|
-
]);
|
|
416
|
-
let DisconnectCallback = _DisconnectCallback;
|
|
417
|
-
const _PublishTrackRequest = class _PublishTrackRequest extends import_protobuf.Message {
|
|
418
|
-
constructor(data) {
|
|
419
|
-
super();
|
|
420
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
421
|
-
}
|
|
422
|
-
static fromBinary(bytes, options) {
|
|
423
|
-
return new _PublishTrackRequest().fromBinary(bytes, options);
|
|
424
|
-
}
|
|
425
|
-
static fromJson(jsonValue, options) {
|
|
426
|
-
return new _PublishTrackRequest().fromJson(jsonValue, options);
|
|
427
|
-
}
|
|
428
|
-
static fromJsonString(jsonString, options) {
|
|
429
|
-
return new _PublishTrackRequest().fromJsonString(jsonString, options);
|
|
430
|
-
}
|
|
431
|
-
static equals(a, b) {
|
|
432
|
-
return import_protobuf.proto2.util.equals(_PublishTrackRequest, a, b);
|
|
433
|
-
}
|
|
434
|
-
};
|
|
435
|
-
_PublishTrackRequest.runtime = import_protobuf.proto2;
|
|
436
|
-
_PublishTrackRequest.typeName = "livekit.proto.PublishTrackRequest";
|
|
437
|
-
_PublishTrackRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
438
|
-
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
|
|
439
|
-
{ no: 2, name: "track_handle", kind: "scalar", T: 4, req: true },
|
|
440
|
-
{ no: 3, name: "options", kind: "message", T: TrackPublishOptions, req: true }
|
|
441
|
-
]);
|
|
442
|
-
let PublishTrackRequest = _PublishTrackRequest;
|
|
443
|
-
const _PublishTrackResponse = class _PublishTrackResponse extends import_protobuf.Message {
|
|
444
|
-
constructor(data) {
|
|
445
|
-
super();
|
|
446
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
447
|
-
}
|
|
448
|
-
static fromBinary(bytes, options) {
|
|
449
|
-
return new _PublishTrackResponse().fromBinary(bytes, options);
|
|
450
|
-
}
|
|
451
|
-
static fromJson(jsonValue, options) {
|
|
452
|
-
return new _PublishTrackResponse().fromJson(jsonValue, options);
|
|
453
|
-
}
|
|
454
|
-
static fromJsonString(jsonString, options) {
|
|
455
|
-
return new _PublishTrackResponse().fromJsonString(jsonString, options);
|
|
456
|
-
}
|
|
457
|
-
static equals(a, b) {
|
|
458
|
-
return import_protobuf.proto2.util.equals(_PublishTrackResponse, a, b);
|
|
459
|
-
}
|
|
460
|
-
};
|
|
461
|
-
_PublishTrackResponse.runtime = import_protobuf.proto2;
|
|
462
|
-
_PublishTrackResponse.typeName = "livekit.proto.PublishTrackResponse";
|
|
463
|
-
_PublishTrackResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
464
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
465
|
-
]);
|
|
466
|
-
let PublishTrackResponse = _PublishTrackResponse;
|
|
467
|
-
const _PublishTrackCallback = class _PublishTrackCallback extends import_protobuf.Message {
|
|
468
|
-
constructor(data) {
|
|
469
|
-
super();
|
|
470
|
-
/**
|
|
471
|
-
* @generated from oneof livekit.proto.PublishTrackCallback.message
|
|
472
|
-
*/
|
|
473
|
-
this.message = { case: void 0 };
|
|
474
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
475
|
-
}
|
|
476
|
-
static fromBinary(bytes, options) {
|
|
477
|
-
return new _PublishTrackCallback().fromBinary(bytes, options);
|
|
478
|
-
}
|
|
479
|
-
static fromJson(jsonValue, options) {
|
|
480
|
-
return new _PublishTrackCallback().fromJson(jsonValue, options);
|
|
481
|
-
}
|
|
482
|
-
static fromJsonString(jsonString, options) {
|
|
483
|
-
return new _PublishTrackCallback().fromJsonString(jsonString, options);
|
|
484
|
-
}
|
|
485
|
-
static equals(a, b) {
|
|
486
|
-
return import_protobuf.proto2.util.equals(_PublishTrackCallback, a, b);
|
|
487
|
-
}
|
|
488
|
-
};
|
|
489
|
-
_PublishTrackCallback.runtime = import_protobuf.proto2;
|
|
490
|
-
_PublishTrackCallback.typeName = "livekit.proto.PublishTrackCallback";
|
|
491
|
-
_PublishTrackCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
492
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true },
|
|
493
|
-
{ no: 2, name: "error", kind: "scalar", T: 9, oneof: "message" },
|
|
494
|
-
{ no: 3, name: "publication", kind: "message", T: import_track_pb.OwnedTrackPublication, oneof: "message" }
|
|
495
|
-
]);
|
|
496
|
-
let PublishTrackCallback = _PublishTrackCallback;
|
|
497
|
-
const _UnpublishTrackRequest = class _UnpublishTrackRequest extends import_protobuf.Message {
|
|
498
|
-
constructor(data) {
|
|
499
|
-
super();
|
|
500
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
501
|
-
}
|
|
502
|
-
static fromBinary(bytes, options) {
|
|
503
|
-
return new _UnpublishTrackRequest().fromBinary(bytes, options);
|
|
504
|
-
}
|
|
505
|
-
static fromJson(jsonValue, options) {
|
|
506
|
-
return new _UnpublishTrackRequest().fromJson(jsonValue, options);
|
|
507
|
-
}
|
|
508
|
-
static fromJsonString(jsonString, options) {
|
|
509
|
-
return new _UnpublishTrackRequest().fromJsonString(jsonString, options);
|
|
510
|
-
}
|
|
511
|
-
static equals(a, b) {
|
|
512
|
-
return import_protobuf.proto2.util.equals(_UnpublishTrackRequest, a, b);
|
|
513
|
-
}
|
|
514
|
-
};
|
|
515
|
-
_UnpublishTrackRequest.runtime = import_protobuf.proto2;
|
|
516
|
-
_UnpublishTrackRequest.typeName = "livekit.proto.UnpublishTrackRequest";
|
|
517
|
-
_UnpublishTrackRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
518
|
-
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
|
|
519
|
-
{ no: 2, name: "track_sid", kind: "scalar", T: 9, req: true },
|
|
520
|
-
{ no: 3, name: "stop_on_unpublish", kind: "scalar", T: 8, req: true }
|
|
521
|
-
]);
|
|
522
|
-
let UnpublishTrackRequest = _UnpublishTrackRequest;
|
|
523
|
-
const _UnpublishTrackResponse = class _UnpublishTrackResponse extends import_protobuf.Message {
|
|
524
|
-
constructor(data) {
|
|
525
|
-
super();
|
|
526
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
527
|
-
}
|
|
528
|
-
static fromBinary(bytes, options) {
|
|
529
|
-
return new _UnpublishTrackResponse().fromBinary(bytes, options);
|
|
530
|
-
}
|
|
531
|
-
static fromJson(jsonValue, options) {
|
|
532
|
-
return new _UnpublishTrackResponse().fromJson(jsonValue, options);
|
|
533
|
-
}
|
|
534
|
-
static fromJsonString(jsonString, options) {
|
|
535
|
-
return new _UnpublishTrackResponse().fromJsonString(jsonString, options);
|
|
536
|
-
}
|
|
537
|
-
static equals(a, b) {
|
|
538
|
-
return import_protobuf.proto2.util.equals(_UnpublishTrackResponse, a, b);
|
|
539
|
-
}
|
|
540
|
-
};
|
|
541
|
-
_UnpublishTrackResponse.runtime = import_protobuf.proto2;
|
|
542
|
-
_UnpublishTrackResponse.typeName = "livekit.proto.UnpublishTrackResponse";
|
|
543
|
-
_UnpublishTrackResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
544
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
545
|
-
]);
|
|
546
|
-
let UnpublishTrackResponse = _UnpublishTrackResponse;
|
|
547
|
-
const _UnpublishTrackCallback = class _UnpublishTrackCallback extends import_protobuf.Message {
|
|
548
|
-
constructor(data) {
|
|
549
|
-
super();
|
|
550
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
551
|
-
}
|
|
552
|
-
static fromBinary(bytes, options) {
|
|
553
|
-
return new _UnpublishTrackCallback().fromBinary(bytes, options);
|
|
554
|
-
}
|
|
555
|
-
static fromJson(jsonValue, options) {
|
|
556
|
-
return new _UnpublishTrackCallback().fromJson(jsonValue, options);
|
|
557
|
-
}
|
|
558
|
-
static fromJsonString(jsonString, options) {
|
|
559
|
-
return new _UnpublishTrackCallback().fromJsonString(jsonString, options);
|
|
560
|
-
}
|
|
561
|
-
static equals(a, b) {
|
|
562
|
-
return import_protobuf.proto2.util.equals(_UnpublishTrackCallback, a, b);
|
|
563
|
-
}
|
|
564
|
-
};
|
|
565
|
-
_UnpublishTrackCallback.runtime = import_protobuf.proto2;
|
|
566
|
-
_UnpublishTrackCallback.typeName = "livekit.proto.UnpublishTrackCallback";
|
|
567
|
-
_UnpublishTrackCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
568
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true },
|
|
569
|
-
{ no: 2, name: "error", kind: "scalar", T: 9, opt: true }
|
|
570
|
-
]);
|
|
571
|
-
let UnpublishTrackCallback = _UnpublishTrackCallback;
|
|
572
|
-
const _PublishDataRequest = class _PublishDataRequest extends import_protobuf.Message {
|
|
573
|
-
constructor(data) {
|
|
574
|
-
super();
|
|
575
|
-
/**
|
|
576
|
-
* @generated from field: repeated string destination_sids = 5 [deprecated = true];
|
|
577
|
-
* @deprecated
|
|
578
|
-
*/
|
|
579
|
-
this.destinationSids = [];
|
|
580
|
-
/**
|
|
581
|
-
* @generated from field: repeated string destination_identities = 7;
|
|
582
|
-
*/
|
|
583
|
-
this.destinationIdentities = [];
|
|
584
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
585
|
-
}
|
|
586
|
-
static fromBinary(bytes, options) {
|
|
587
|
-
return new _PublishDataRequest().fromBinary(bytes, options);
|
|
588
|
-
}
|
|
589
|
-
static fromJson(jsonValue, options) {
|
|
590
|
-
return new _PublishDataRequest().fromJson(jsonValue, options);
|
|
591
|
-
}
|
|
592
|
-
static fromJsonString(jsonString, options) {
|
|
593
|
-
return new _PublishDataRequest().fromJsonString(jsonString, options);
|
|
594
|
-
}
|
|
595
|
-
static equals(a, b) {
|
|
596
|
-
return import_protobuf.proto2.util.equals(_PublishDataRequest, a, b);
|
|
597
|
-
}
|
|
598
|
-
};
|
|
599
|
-
_PublishDataRequest.runtime = import_protobuf.proto2;
|
|
600
|
-
_PublishDataRequest.typeName = "livekit.proto.PublishDataRequest";
|
|
601
|
-
_PublishDataRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
602
|
-
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
|
|
603
|
-
{ no: 2, name: "data_ptr", kind: "scalar", T: 4, req: true },
|
|
604
|
-
{ no: 3, name: "data_len", kind: "scalar", T: 4, req: true },
|
|
605
|
-
{ no: 4, name: "reliable", kind: "scalar", T: 8, req: true },
|
|
606
|
-
{ no: 5, name: "destination_sids", kind: "scalar", T: 9, repeated: true },
|
|
607
|
-
{ no: 6, name: "topic", kind: "scalar", T: 9, opt: true },
|
|
608
|
-
{ no: 7, name: "destination_identities", kind: "scalar", T: 9, repeated: true }
|
|
609
|
-
]);
|
|
610
|
-
let PublishDataRequest = _PublishDataRequest;
|
|
611
|
-
const _PublishDataResponse = class _PublishDataResponse extends import_protobuf.Message {
|
|
612
|
-
constructor(data) {
|
|
613
|
-
super();
|
|
614
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
615
|
-
}
|
|
616
|
-
static fromBinary(bytes, options) {
|
|
617
|
-
return new _PublishDataResponse().fromBinary(bytes, options);
|
|
618
|
-
}
|
|
619
|
-
static fromJson(jsonValue, options) {
|
|
620
|
-
return new _PublishDataResponse().fromJson(jsonValue, options);
|
|
621
|
-
}
|
|
622
|
-
static fromJsonString(jsonString, options) {
|
|
623
|
-
return new _PublishDataResponse().fromJsonString(jsonString, options);
|
|
624
|
-
}
|
|
625
|
-
static equals(a, b) {
|
|
626
|
-
return import_protobuf.proto2.util.equals(_PublishDataResponse, a, b);
|
|
627
|
-
}
|
|
628
|
-
};
|
|
629
|
-
_PublishDataResponse.runtime = import_protobuf.proto2;
|
|
630
|
-
_PublishDataResponse.typeName = "livekit.proto.PublishDataResponse";
|
|
631
|
-
_PublishDataResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
632
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
633
|
-
]);
|
|
634
|
-
let PublishDataResponse = _PublishDataResponse;
|
|
635
|
-
const _PublishDataCallback = class _PublishDataCallback extends import_protobuf.Message {
|
|
636
|
-
constructor(data) {
|
|
637
|
-
super();
|
|
638
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
639
|
-
}
|
|
640
|
-
static fromBinary(bytes, options) {
|
|
641
|
-
return new _PublishDataCallback().fromBinary(bytes, options);
|
|
642
|
-
}
|
|
643
|
-
static fromJson(jsonValue, options) {
|
|
644
|
-
return new _PublishDataCallback().fromJson(jsonValue, options);
|
|
645
|
-
}
|
|
646
|
-
static fromJsonString(jsonString, options) {
|
|
647
|
-
return new _PublishDataCallback().fromJsonString(jsonString, options);
|
|
648
|
-
}
|
|
649
|
-
static equals(a, b) {
|
|
650
|
-
return import_protobuf.proto2.util.equals(_PublishDataCallback, a, b);
|
|
651
|
-
}
|
|
652
|
-
};
|
|
653
|
-
_PublishDataCallback.runtime = import_protobuf.proto2;
|
|
654
|
-
_PublishDataCallback.typeName = "livekit.proto.PublishDataCallback";
|
|
655
|
-
_PublishDataCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
656
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true },
|
|
657
|
-
{ no: 2, name: "error", kind: "scalar", T: 9, opt: true }
|
|
658
|
-
]);
|
|
659
|
-
let PublishDataCallback = _PublishDataCallback;
|
|
660
|
-
const _PublishTranscriptionRequest = class _PublishTranscriptionRequest extends import_protobuf.Message {
|
|
661
|
-
constructor(data) {
|
|
662
|
-
super();
|
|
663
|
-
/**
|
|
664
|
-
* @generated from field: repeated livekit.proto.TranscriptionSegment segments = 4;
|
|
665
|
-
*/
|
|
666
|
-
this.segments = [];
|
|
667
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
668
|
-
}
|
|
669
|
-
static fromBinary(bytes, options) {
|
|
670
|
-
return new _PublishTranscriptionRequest().fromBinary(bytes, options);
|
|
671
|
-
}
|
|
672
|
-
static fromJson(jsonValue, options) {
|
|
673
|
-
return new _PublishTranscriptionRequest().fromJson(jsonValue, options);
|
|
674
|
-
}
|
|
675
|
-
static fromJsonString(jsonString, options) {
|
|
676
|
-
return new _PublishTranscriptionRequest().fromJsonString(jsonString, options);
|
|
677
|
-
}
|
|
678
|
-
static equals(a, b) {
|
|
679
|
-
return import_protobuf.proto2.util.equals(_PublishTranscriptionRequest, a, b);
|
|
680
|
-
}
|
|
681
|
-
};
|
|
682
|
-
_PublishTranscriptionRequest.runtime = import_protobuf.proto2;
|
|
683
|
-
_PublishTranscriptionRequest.typeName = "livekit.proto.PublishTranscriptionRequest";
|
|
684
|
-
_PublishTranscriptionRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
685
|
-
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
|
|
686
|
-
{ no: 2, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
687
|
-
{ no: 3, name: "track_id", kind: "scalar", T: 9, req: true },
|
|
688
|
-
{ no: 4, name: "segments", kind: "message", T: TranscriptionSegment, repeated: true }
|
|
689
|
-
]);
|
|
690
|
-
let PublishTranscriptionRequest = _PublishTranscriptionRequest;
|
|
691
|
-
const _PublishTranscriptionResponse = class _PublishTranscriptionResponse extends import_protobuf.Message {
|
|
692
|
-
constructor(data) {
|
|
693
|
-
super();
|
|
694
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
695
|
-
}
|
|
696
|
-
static fromBinary(bytes, options) {
|
|
697
|
-
return new _PublishTranscriptionResponse().fromBinary(bytes, options);
|
|
698
|
-
}
|
|
699
|
-
static fromJson(jsonValue, options) {
|
|
700
|
-
return new _PublishTranscriptionResponse().fromJson(jsonValue, options);
|
|
701
|
-
}
|
|
702
|
-
static fromJsonString(jsonString, options) {
|
|
703
|
-
return new _PublishTranscriptionResponse().fromJsonString(jsonString, options);
|
|
704
|
-
}
|
|
705
|
-
static equals(a, b) {
|
|
706
|
-
return import_protobuf.proto2.util.equals(_PublishTranscriptionResponse, a, b);
|
|
707
|
-
}
|
|
708
|
-
};
|
|
709
|
-
_PublishTranscriptionResponse.runtime = import_protobuf.proto2;
|
|
710
|
-
_PublishTranscriptionResponse.typeName = "livekit.proto.PublishTranscriptionResponse";
|
|
711
|
-
_PublishTranscriptionResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
712
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
713
|
-
]);
|
|
714
|
-
let PublishTranscriptionResponse = _PublishTranscriptionResponse;
|
|
715
|
-
const _PublishTranscriptionCallback = class _PublishTranscriptionCallback extends import_protobuf.Message {
|
|
716
|
-
constructor(data) {
|
|
717
|
-
super();
|
|
718
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
719
|
-
}
|
|
720
|
-
static fromBinary(bytes, options) {
|
|
721
|
-
return new _PublishTranscriptionCallback().fromBinary(bytes, options);
|
|
722
|
-
}
|
|
723
|
-
static fromJson(jsonValue, options) {
|
|
724
|
-
return new _PublishTranscriptionCallback().fromJson(jsonValue, options);
|
|
725
|
-
}
|
|
726
|
-
static fromJsonString(jsonString, options) {
|
|
727
|
-
return new _PublishTranscriptionCallback().fromJsonString(jsonString, options);
|
|
728
|
-
}
|
|
729
|
-
static equals(a, b) {
|
|
730
|
-
return import_protobuf.proto2.util.equals(_PublishTranscriptionCallback, a, b);
|
|
731
|
-
}
|
|
732
|
-
};
|
|
733
|
-
_PublishTranscriptionCallback.runtime = import_protobuf.proto2;
|
|
734
|
-
_PublishTranscriptionCallback.typeName = "livekit.proto.PublishTranscriptionCallback";
|
|
735
|
-
_PublishTranscriptionCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
736
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true },
|
|
737
|
-
{ no: 2, name: "error", kind: "scalar", T: 9, opt: true }
|
|
738
|
-
]);
|
|
739
|
-
let PublishTranscriptionCallback = _PublishTranscriptionCallback;
|
|
740
|
-
const _PublishSipDtmfRequest = class _PublishSipDtmfRequest extends import_protobuf.Message {
|
|
741
|
-
constructor(data) {
|
|
742
|
-
super();
|
|
743
|
-
/**
|
|
744
|
-
* @generated from field: repeated string destination_identities = 4;
|
|
745
|
-
*/
|
|
746
|
-
this.destinationIdentities = [];
|
|
747
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
748
|
-
}
|
|
749
|
-
static fromBinary(bytes, options) {
|
|
750
|
-
return new _PublishSipDtmfRequest().fromBinary(bytes, options);
|
|
751
|
-
}
|
|
752
|
-
static fromJson(jsonValue, options) {
|
|
753
|
-
return new _PublishSipDtmfRequest().fromJson(jsonValue, options);
|
|
754
|
-
}
|
|
755
|
-
static fromJsonString(jsonString, options) {
|
|
756
|
-
return new _PublishSipDtmfRequest().fromJsonString(jsonString, options);
|
|
757
|
-
}
|
|
758
|
-
static equals(a, b) {
|
|
759
|
-
return import_protobuf.proto2.util.equals(_PublishSipDtmfRequest, a, b);
|
|
760
|
-
}
|
|
761
|
-
};
|
|
762
|
-
_PublishSipDtmfRequest.runtime = import_protobuf.proto2;
|
|
763
|
-
_PublishSipDtmfRequest.typeName = "livekit.proto.PublishSipDtmfRequest";
|
|
764
|
-
_PublishSipDtmfRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
765
|
-
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
|
|
766
|
-
{ no: 2, name: "code", kind: "scalar", T: 13, req: true },
|
|
767
|
-
{ no: 3, name: "digit", kind: "scalar", T: 9, req: true },
|
|
768
|
-
{ no: 4, name: "destination_identities", kind: "scalar", T: 9, repeated: true }
|
|
769
|
-
]);
|
|
770
|
-
let PublishSipDtmfRequest = _PublishSipDtmfRequest;
|
|
771
|
-
const _PublishSipDtmfResponse = class _PublishSipDtmfResponse extends import_protobuf.Message {
|
|
772
|
-
constructor(data) {
|
|
773
|
-
super();
|
|
774
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
775
|
-
}
|
|
776
|
-
static fromBinary(bytes, options) {
|
|
777
|
-
return new _PublishSipDtmfResponse().fromBinary(bytes, options);
|
|
778
|
-
}
|
|
779
|
-
static fromJson(jsonValue, options) {
|
|
780
|
-
return new _PublishSipDtmfResponse().fromJson(jsonValue, options);
|
|
781
|
-
}
|
|
782
|
-
static fromJsonString(jsonString, options) {
|
|
783
|
-
return new _PublishSipDtmfResponse().fromJsonString(jsonString, options);
|
|
784
|
-
}
|
|
785
|
-
static equals(a, b) {
|
|
786
|
-
return import_protobuf.proto2.util.equals(_PublishSipDtmfResponse, a, b);
|
|
787
|
-
}
|
|
788
|
-
};
|
|
789
|
-
_PublishSipDtmfResponse.runtime = import_protobuf.proto2;
|
|
790
|
-
_PublishSipDtmfResponse.typeName = "livekit.proto.PublishSipDtmfResponse";
|
|
791
|
-
_PublishSipDtmfResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
792
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
793
|
-
]);
|
|
794
|
-
let PublishSipDtmfResponse = _PublishSipDtmfResponse;
|
|
795
|
-
const _PublishSipDtmfCallback = class _PublishSipDtmfCallback extends import_protobuf.Message {
|
|
796
|
-
constructor(data) {
|
|
797
|
-
super();
|
|
798
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
799
|
-
}
|
|
800
|
-
static fromBinary(bytes, options) {
|
|
801
|
-
return new _PublishSipDtmfCallback().fromBinary(bytes, options);
|
|
802
|
-
}
|
|
803
|
-
static fromJson(jsonValue, options) {
|
|
804
|
-
return new _PublishSipDtmfCallback().fromJson(jsonValue, options);
|
|
805
|
-
}
|
|
806
|
-
static fromJsonString(jsonString, options) {
|
|
807
|
-
return new _PublishSipDtmfCallback().fromJsonString(jsonString, options);
|
|
808
|
-
}
|
|
809
|
-
static equals(a, b) {
|
|
810
|
-
return import_protobuf.proto2.util.equals(_PublishSipDtmfCallback, a, b);
|
|
811
|
-
}
|
|
812
|
-
};
|
|
813
|
-
_PublishSipDtmfCallback.runtime = import_protobuf.proto2;
|
|
814
|
-
_PublishSipDtmfCallback.typeName = "livekit.proto.PublishSipDtmfCallback";
|
|
815
|
-
_PublishSipDtmfCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
816
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true },
|
|
817
|
-
{ no: 2, name: "error", kind: "scalar", T: 9, opt: true }
|
|
818
|
-
]);
|
|
819
|
-
let PublishSipDtmfCallback = _PublishSipDtmfCallback;
|
|
820
|
-
const _SetLocalMetadataRequest = class _SetLocalMetadataRequest extends import_protobuf.Message {
|
|
821
|
-
constructor(data) {
|
|
822
|
-
super();
|
|
823
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
824
|
-
}
|
|
825
|
-
static fromBinary(bytes, options) {
|
|
826
|
-
return new _SetLocalMetadataRequest().fromBinary(bytes, options);
|
|
827
|
-
}
|
|
828
|
-
static fromJson(jsonValue, options) {
|
|
829
|
-
return new _SetLocalMetadataRequest().fromJson(jsonValue, options);
|
|
830
|
-
}
|
|
831
|
-
static fromJsonString(jsonString, options) {
|
|
832
|
-
return new _SetLocalMetadataRequest().fromJsonString(jsonString, options);
|
|
833
|
-
}
|
|
834
|
-
static equals(a, b) {
|
|
835
|
-
return import_protobuf.proto2.util.equals(_SetLocalMetadataRequest, a, b);
|
|
836
|
-
}
|
|
837
|
-
};
|
|
838
|
-
_SetLocalMetadataRequest.runtime = import_protobuf.proto2;
|
|
839
|
-
_SetLocalMetadataRequest.typeName = "livekit.proto.SetLocalMetadataRequest";
|
|
840
|
-
_SetLocalMetadataRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
841
|
-
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
|
|
842
|
-
{ no: 2, name: "metadata", kind: "scalar", T: 9, req: true }
|
|
843
|
-
]);
|
|
844
|
-
let SetLocalMetadataRequest = _SetLocalMetadataRequest;
|
|
845
|
-
const _SetLocalMetadataResponse = class _SetLocalMetadataResponse extends import_protobuf.Message {
|
|
846
|
-
constructor(data) {
|
|
847
|
-
super();
|
|
848
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
849
|
-
}
|
|
850
|
-
static fromBinary(bytes, options) {
|
|
851
|
-
return new _SetLocalMetadataResponse().fromBinary(bytes, options);
|
|
852
|
-
}
|
|
853
|
-
static fromJson(jsonValue, options) {
|
|
854
|
-
return new _SetLocalMetadataResponse().fromJson(jsonValue, options);
|
|
855
|
-
}
|
|
856
|
-
static fromJsonString(jsonString, options) {
|
|
857
|
-
return new _SetLocalMetadataResponse().fromJsonString(jsonString, options);
|
|
858
|
-
}
|
|
859
|
-
static equals(a, b) {
|
|
860
|
-
return import_protobuf.proto2.util.equals(_SetLocalMetadataResponse, a, b);
|
|
861
|
-
}
|
|
862
|
-
};
|
|
863
|
-
_SetLocalMetadataResponse.runtime = import_protobuf.proto2;
|
|
864
|
-
_SetLocalMetadataResponse.typeName = "livekit.proto.SetLocalMetadataResponse";
|
|
865
|
-
_SetLocalMetadataResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
866
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
867
|
-
]);
|
|
868
|
-
let SetLocalMetadataResponse = _SetLocalMetadataResponse;
|
|
869
|
-
const _SetLocalMetadataCallback = class _SetLocalMetadataCallback extends import_protobuf.Message {
|
|
870
|
-
constructor(data) {
|
|
871
|
-
super();
|
|
872
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
873
|
-
}
|
|
874
|
-
static fromBinary(bytes, options) {
|
|
875
|
-
return new _SetLocalMetadataCallback().fromBinary(bytes, options);
|
|
876
|
-
}
|
|
877
|
-
static fromJson(jsonValue, options) {
|
|
878
|
-
return new _SetLocalMetadataCallback().fromJson(jsonValue, options);
|
|
879
|
-
}
|
|
880
|
-
static fromJsonString(jsonString, options) {
|
|
881
|
-
return new _SetLocalMetadataCallback().fromJsonString(jsonString, options);
|
|
882
|
-
}
|
|
883
|
-
static equals(a, b) {
|
|
884
|
-
return import_protobuf.proto2.util.equals(_SetLocalMetadataCallback, a, b);
|
|
885
|
-
}
|
|
886
|
-
};
|
|
887
|
-
_SetLocalMetadataCallback.runtime = import_protobuf.proto2;
|
|
888
|
-
_SetLocalMetadataCallback.typeName = "livekit.proto.SetLocalMetadataCallback";
|
|
889
|
-
_SetLocalMetadataCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
890
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true },
|
|
891
|
-
{ no: 2, name: "error", kind: "scalar", T: 9, opt: true }
|
|
892
|
-
]);
|
|
893
|
-
let SetLocalMetadataCallback = _SetLocalMetadataCallback;
|
|
894
|
-
const _SendChatMessageRequest = class _SendChatMessageRequest extends import_protobuf.Message {
|
|
895
|
-
constructor(data) {
|
|
896
|
-
super();
|
|
897
|
-
/**
|
|
898
|
-
* @generated from field: repeated string destination_identities = 3;
|
|
899
|
-
*/
|
|
900
|
-
this.destinationIdentities = [];
|
|
901
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
902
|
-
}
|
|
903
|
-
static fromBinary(bytes, options) {
|
|
904
|
-
return new _SendChatMessageRequest().fromBinary(bytes, options);
|
|
905
|
-
}
|
|
906
|
-
static fromJson(jsonValue, options) {
|
|
907
|
-
return new _SendChatMessageRequest().fromJson(jsonValue, options);
|
|
908
|
-
}
|
|
909
|
-
static fromJsonString(jsonString, options) {
|
|
910
|
-
return new _SendChatMessageRequest().fromJsonString(jsonString, options);
|
|
911
|
-
}
|
|
912
|
-
static equals(a, b) {
|
|
913
|
-
return import_protobuf.proto2.util.equals(_SendChatMessageRequest, a, b);
|
|
914
|
-
}
|
|
915
|
-
};
|
|
916
|
-
_SendChatMessageRequest.runtime = import_protobuf.proto2;
|
|
917
|
-
_SendChatMessageRequest.typeName = "livekit.proto.SendChatMessageRequest";
|
|
918
|
-
_SendChatMessageRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
919
|
-
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
|
|
920
|
-
{ no: 2, name: "message", kind: "scalar", T: 9, req: true },
|
|
921
|
-
{ no: 3, name: "destination_identities", kind: "scalar", T: 9, repeated: true },
|
|
922
|
-
{ no: 4, name: "sender_identity", kind: "scalar", T: 9, opt: true }
|
|
923
|
-
]);
|
|
924
|
-
let SendChatMessageRequest = _SendChatMessageRequest;
|
|
925
|
-
const _EditChatMessageRequest = class _EditChatMessageRequest extends import_protobuf.Message {
|
|
926
|
-
constructor(data) {
|
|
927
|
-
super();
|
|
928
|
-
/**
|
|
929
|
-
* @generated from field: repeated string destination_identities = 4;
|
|
930
|
-
*/
|
|
931
|
-
this.destinationIdentities = [];
|
|
932
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
933
|
-
}
|
|
934
|
-
static fromBinary(bytes, options) {
|
|
935
|
-
return new _EditChatMessageRequest().fromBinary(bytes, options);
|
|
936
|
-
}
|
|
937
|
-
static fromJson(jsonValue, options) {
|
|
938
|
-
return new _EditChatMessageRequest().fromJson(jsonValue, options);
|
|
939
|
-
}
|
|
940
|
-
static fromJsonString(jsonString, options) {
|
|
941
|
-
return new _EditChatMessageRequest().fromJsonString(jsonString, options);
|
|
942
|
-
}
|
|
943
|
-
static equals(a, b) {
|
|
944
|
-
return import_protobuf.proto2.util.equals(_EditChatMessageRequest, a, b);
|
|
945
|
-
}
|
|
946
|
-
};
|
|
947
|
-
_EditChatMessageRequest.runtime = import_protobuf.proto2;
|
|
948
|
-
_EditChatMessageRequest.typeName = "livekit.proto.EditChatMessageRequest";
|
|
949
|
-
_EditChatMessageRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
950
|
-
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
|
|
951
|
-
{ no: 2, name: "edit_text", kind: "scalar", T: 9, req: true },
|
|
952
|
-
{ no: 3, name: "original_message", kind: "message", T: ChatMessage, req: true },
|
|
953
|
-
{ no: 4, name: "destination_identities", kind: "scalar", T: 9, repeated: true },
|
|
954
|
-
{ no: 5, name: "sender_identity", kind: "scalar", T: 9, opt: true }
|
|
955
|
-
]);
|
|
956
|
-
let EditChatMessageRequest = _EditChatMessageRequest;
|
|
957
|
-
const _SendChatMessageResponse = class _SendChatMessageResponse extends import_protobuf.Message {
|
|
958
|
-
constructor(data) {
|
|
959
|
-
super();
|
|
960
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
961
|
-
}
|
|
962
|
-
static fromBinary(bytes, options) {
|
|
963
|
-
return new _SendChatMessageResponse().fromBinary(bytes, options);
|
|
964
|
-
}
|
|
965
|
-
static fromJson(jsonValue, options) {
|
|
966
|
-
return new _SendChatMessageResponse().fromJson(jsonValue, options);
|
|
967
|
-
}
|
|
968
|
-
static fromJsonString(jsonString, options) {
|
|
969
|
-
return new _SendChatMessageResponse().fromJsonString(jsonString, options);
|
|
970
|
-
}
|
|
971
|
-
static equals(a, b) {
|
|
972
|
-
return import_protobuf.proto2.util.equals(_SendChatMessageResponse, a, b);
|
|
973
|
-
}
|
|
974
|
-
};
|
|
975
|
-
_SendChatMessageResponse.runtime = import_protobuf.proto2;
|
|
976
|
-
_SendChatMessageResponse.typeName = "livekit.proto.SendChatMessageResponse";
|
|
977
|
-
_SendChatMessageResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
978
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
979
|
-
]);
|
|
980
|
-
let SendChatMessageResponse = _SendChatMessageResponse;
|
|
981
|
-
const _SendChatMessageCallback = class _SendChatMessageCallback extends import_protobuf.Message {
|
|
982
|
-
constructor(data) {
|
|
983
|
-
super();
|
|
984
|
-
/**
|
|
985
|
-
* @generated from oneof livekit.proto.SendChatMessageCallback.message
|
|
986
|
-
*/
|
|
987
|
-
this.message = { case: void 0 };
|
|
988
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
989
|
-
}
|
|
990
|
-
static fromBinary(bytes, options) {
|
|
991
|
-
return new _SendChatMessageCallback().fromBinary(bytes, options);
|
|
992
|
-
}
|
|
993
|
-
static fromJson(jsonValue, options) {
|
|
994
|
-
return new _SendChatMessageCallback().fromJson(jsonValue, options);
|
|
995
|
-
}
|
|
996
|
-
static fromJsonString(jsonString, options) {
|
|
997
|
-
return new _SendChatMessageCallback().fromJsonString(jsonString, options);
|
|
998
|
-
}
|
|
999
|
-
static equals(a, b) {
|
|
1000
|
-
return import_protobuf.proto2.util.equals(_SendChatMessageCallback, a, b);
|
|
1001
|
-
}
|
|
1002
|
-
};
|
|
1003
|
-
_SendChatMessageCallback.runtime = import_protobuf.proto2;
|
|
1004
|
-
_SendChatMessageCallback.typeName = "livekit.proto.SendChatMessageCallback";
|
|
1005
|
-
_SendChatMessageCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1006
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true },
|
|
1007
|
-
{ no: 2, name: "error", kind: "scalar", T: 9, oneof: "message" },
|
|
1008
|
-
{ no: 3, name: "chat_message", kind: "message", T: ChatMessage, oneof: "message" }
|
|
1009
|
-
]);
|
|
1010
|
-
let SendChatMessageCallback = _SendChatMessageCallback;
|
|
1011
|
-
const _SetLocalAttributesRequest = class _SetLocalAttributesRequest extends import_protobuf.Message {
|
|
1012
|
-
constructor(data) {
|
|
1013
|
-
super();
|
|
1014
|
-
/**
|
|
1015
|
-
* @generated from field: repeated livekit.proto.AttributesEntry attributes = 2;
|
|
1016
|
-
*/
|
|
1017
|
-
this.attributes = [];
|
|
1018
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1019
|
-
}
|
|
1020
|
-
static fromBinary(bytes, options) {
|
|
1021
|
-
return new _SetLocalAttributesRequest().fromBinary(bytes, options);
|
|
1022
|
-
}
|
|
1023
|
-
static fromJson(jsonValue, options) {
|
|
1024
|
-
return new _SetLocalAttributesRequest().fromJson(jsonValue, options);
|
|
1025
|
-
}
|
|
1026
|
-
static fromJsonString(jsonString, options) {
|
|
1027
|
-
return new _SetLocalAttributesRequest().fromJsonString(jsonString, options);
|
|
1028
|
-
}
|
|
1029
|
-
static equals(a, b) {
|
|
1030
|
-
return import_protobuf.proto2.util.equals(_SetLocalAttributesRequest, a, b);
|
|
1031
|
-
}
|
|
1032
|
-
};
|
|
1033
|
-
_SetLocalAttributesRequest.runtime = import_protobuf.proto2;
|
|
1034
|
-
_SetLocalAttributesRequest.typeName = "livekit.proto.SetLocalAttributesRequest";
|
|
1035
|
-
_SetLocalAttributesRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1036
|
-
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
|
|
1037
|
-
{ no: 2, name: "attributes", kind: "message", T: AttributesEntry, repeated: true }
|
|
1038
|
-
]);
|
|
1039
|
-
let SetLocalAttributesRequest = _SetLocalAttributesRequest;
|
|
1040
|
-
const _AttributesEntry = class _AttributesEntry extends import_protobuf.Message {
|
|
1041
|
-
constructor(data) {
|
|
1042
|
-
super();
|
|
1043
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1044
|
-
}
|
|
1045
|
-
static fromBinary(bytes, options) {
|
|
1046
|
-
return new _AttributesEntry().fromBinary(bytes, options);
|
|
1047
|
-
}
|
|
1048
|
-
static fromJson(jsonValue, options) {
|
|
1049
|
-
return new _AttributesEntry().fromJson(jsonValue, options);
|
|
1050
|
-
}
|
|
1051
|
-
static fromJsonString(jsonString, options) {
|
|
1052
|
-
return new _AttributesEntry().fromJsonString(jsonString, options);
|
|
1053
|
-
}
|
|
1054
|
-
static equals(a, b) {
|
|
1055
|
-
return import_protobuf.proto2.util.equals(_AttributesEntry, a, b);
|
|
1056
|
-
}
|
|
1057
|
-
};
|
|
1058
|
-
_AttributesEntry.runtime = import_protobuf.proto2;
|
|
1059
|
-
_AttributesEntry.typeName = "livekit.proto.AttributesEntry";
|
|
1060
|
-
_AttributesEntry.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1061
|
-
{ no: 1, name: "key", kind: "scalar", T: 9, req: true },
|
|
1062
|
-
{ no: 2, name: "value", kind: "scalar", T: 9, req: true }
|
|
1063
|
-
]);
|
|
1064
|
-
let AttributesEntry = _AttributesEntry;
|
|
1065
|
-
const _SetLocalAttributesResponse = class _SetLocalAttributesResponse extends import_protobuf.Message {
|
|
1066
|
-
constructor(data) {
|
|
1067
|
-
super();
|
|
1068
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1069
|
-
}
|
|
1070
|
-
static fromBinary(bytes, options) {
|
|
1071
|
-
return new _SetLocalAttributesResponse().fromBinary(bytes, options);
|
|
1072
|
-
}
|
|
1073
|
-
static fromJson(jsonValue, options) {
|
|
1074
|
-
return new _SetLocalAttributesResponse().fromJson(jsonValue, options);
|
|
1075
|
-
}
|
|
1076
|
-
static fromJsonString(jsonString, options) {
|
|
1077
|
-
return new _SetLocalAttributesResponse().fromJsonString(jsonString, options);
|
|
1078
|
-
}
|
|
1079
|
-
static equals(a, b) {
|
|
1080
|
-
return import_protobuf.proto2.util.equals(_SetLocalAttributesResponse, a, b);
|
|
1081
|
-
}
|
|
1082
|
-
};
|
|
1083
|
-
_SetLocalAttributesResponse.runtime = import_protobuf.proto2;
|
|
1084
|
-
_SetLocalAttributesResponse.typeName = "livekit.proto.SetLocalAttributesResponse";
|
|
1085
|
-
_SetLocalAttributesResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1086
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
1087
|
-
]);
|
|
1088
|
-
let SetLocalAttributesResponse = _SetLocalAttributesResponse;
|
|
1089
|
-
const _SetLocalAttributesCallback = class _SetLocalAttributesCallback extends import_protobuf.Message {
|
|
1090
|
-
constructor(data) {
|
|
1091
|
-
super();
|
|
1092
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1093
|
-
}
|
|
1094
|
-
static fromBinary(bytes, options) {
|
|
1095
|
-
return new _SetLocalAttributesCallback().fromBinary(bytes, options);
|
|
1096
|
-
}
|
|
1097
|
-
static fromJson(jsonValue, options) {
|
|
1098
|
-
return new _SetLocalAttributesCallback().fromJson(jsonValue, options);
|
|
1099
|
-
}
|
|
1100
|
-
static fromJsonString(jsonString, options) {
|
|
1101
|
-
return new _SetLocalAttributesCallback().fromJsonString(jsonString, options);
|
|
1102
|
-
}
|
|
1103
|
-
static equals(a, b) {
|
|
1104
|
-
return import_protobuf.proto2.util.equals(_SetLocalAttributesCallback, a, b);
|
|
1105
|
-
}
|
|
1106
|
-
};
|
|
1107
|
-
_SetLocalAttributesCallback.runtime = import_protobuf.proto2;
|
|
1108
|
-
_SetLocalAttributesCallback.typeName = "livekit.proto.SetLocalAttributesCallback";
|
|
1109
|
-
_SetLocalAttributesCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1110
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true },
|
|
1111
|
-
{ no: 2, name: "error", kind: "scalar", T: 9, opt: true }
|
|
1112
|
-
]);
|
|
1113
|
-
let SetLocalAttributesCallback = _SetLocalAttributesCallback;
|
|
1114
|
-
const _SetLocalNameRequest = class _SetLocalNameRequest extends import_protobuf.Message {
|
|
1115
|
-
constructor(data) {
|
|
1116
|
-
super();
|
|
1117
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1118
|
-
}
|
|
1119
|
-
static fromBinary(bytes, options) {
|
|
1120
|
-
return new _SetLocalNameRequest().fromBinary(bytes, options);
|
|
1121
|
-
}
|
|
1122
|
-
static fromJson(jsonValue, options) {
|
|
1123
|
-
return new _SetLocalNameRequest().fromJson(jsonValue, options);
|
|
1124
|
-
}
|
|
1125
|
-
static fromJsonString(jsonString, options) {
|
|
1126
|
-
return new _SetLocalNameRequest().fromJsonString(jsonString, options);
|
|
1127
|
-
}
|
|
1128
|
-
static equals(a, b) {
|
|
1129
|
-
return import_protobuf.proto2.util.equals(_SetLocalNameRequest, a, b);
|
|
1130
|
-
}
|
|
1131
|
-
};
|
|
1132
|
-
_SetLocalNameRequest.runtime = import_protobuf.proto2;
|
|
1133
|
-
_SetLocalNameRequest.typeName = "livekit.proto.SetLocalNameRequest";
|
|
1134
|
-
_SetLocalNameRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1135
|
-
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
|
|
1136
|
-
{ no: 2, name: "name", kind: "scalar", T: 9, req: true }
|
|
1137
|
-
]);
|
|
1138
|
-
let SetLocalNameRequest = _SetLocalNameRequest;
|
|
1139
|
-
const _SetLocalNameResponse = class _SetLocalNameResponse extends import_protobuf.Message {
|
|
1140
|
-
constructor(data) {
|
|
1141
|
-
super();
|
|
1142
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1143
|
-
}
|
|
1144
|
-
static fromBinary(bytes, options) {
|
|
1145
|
-
return new _SetLocalNameResponse().fromBinary(bytes, options);
|
|
1146
|
-
}
|
|
1147
|
-
static fromJson(jsonValue, options) {
|
|
1148
|
-
return new _SetLocalNameResponse().fromJson(jsonValue, options);
|
|
1149
|
-
}
|
|
1150
|
-
static fromJsonString(jsonString, options) {
|
|
1151
|
-
return new _SetLocalNameResponse().fromJsonString(jsonString, options);
|
|
1152
|
-
}
|
|
1153
|
-
static equals(a, b) {
|
|
1154
|
-
return import_protobuf.proto2.util.equals(_SetLocalNameResponse, a, b);
|
|
1155
|
-
}
|
|
1156
|
-
};
|
|
1157
|
-
_SetLocalNameResponse.runtime = import_protobuf.proto2;
|
|
1158
|
-
_SetLocalNameResponse.typeName = "livekit.proto.SetLocalNameResponse";
|
|
1159
|
-
_SetLocalNameResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1160
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
1161
|
-
]);
|
|
1162
|
-
let SetLocalNameResponse = _SetLocalNameResponse;
|
|
1163
|
-
const _SetLocalNameCallback = class _SetLocalNameCallback extends import_protobuf.Message {
|
|
1164
|
-
constructor(data) {
|
|
1165
|
-
super();
|
|
1166
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1167
|
-
}
|
|
1168
|
-
static fromBinary(bytes, options) {
|
|
1169
|
-
return new _SetLocalNameCallback().fromBinary(bytes, options);
|
|
1170
|
-
}
|
|
1171
|
-
static fromJson(jsonValue, options) {
|
|
1172
|
-
return new _SetLocalNameCallback().fromJson(jsonValue, options);
|
|
1173
|
-
}
|
|
1174
|
-
static fromJsonString(jsonString, options) {
|
|
1175
|
-
return new _SetLocalNameCallback().fromJsonString(jsonString, options);
|
|
1176
|
-
}
|
|
1177
|
-
static equals(a, b) {
|
|
1178
|
-
return import_protobuf.proto2.util.equals(_SetLocalNameCallback, a, b);
|
|
1179
|
-
}
|
|
1180
|
-
};
|
|
1181
|
-
_SetLocalNameCallback.runtime = import_protobuf.proto2;
|
|
1182
|
-
_SetLocalNameCallback.typeName = "livekit.proto.SetLocalNameCallback";
|
|
1183
|
-
_SetLocalNameCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1184
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true },
|
|
1185
|
-
{ no: 2, name: "error", kind: "scalar", T: 9, opt: true }
|
|
1186
|
-
]);
|
|
1187
|
-
let SetLocalNameCallback = _SetLocalNameCallback;
|
|
1188
|
-
const _SetSubscribedRequest = class _SetSubscribedRequest extends import_protobuf.Message {
|
|
1189
|
-
constructor(data) {
|
|
1190
|
-
super();
|
|
1191
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1192
|
-
}
|
|
1193
|
-
static fromBinary(bytes, options) {
|
|
1194
|
-
return new _SetSubscribedRequest().fromBinary(bytes, options);
|
|
1195
|
-
}
|
|
1196
|
-
static fromJson(jsonValue, options) {
|
|
1197
|
-
return new _SetSubscribedRequest().fromJson(jsonValue, options);
|
|
1198
|
-
}
|
|
1199
|
-
static fromJsonString(jsonString, options) {
|
|
1200
|
-
return new _SetSubscribedRequest().fromJsonString(jsonString, options);
|
|
1201
|
-
}
|
|
1202
|
-
static equals(a, b) {
|
|
1203
|
-
return import_protobuf.proto2.util.equals(_SetSubscribedRequest, a, b);
|
|
1204
|
-
}
|
|
1205
|
-
};
|
|
1206
|
-
_SetSubscribedRequest.runtime = import_protobuf.proto2;
|
|
1207
|
-
_SetSubscribedRequest.typeName = "livekit.proto.SetSubscribedRequest";
|
|
1208
|
-
_SetSubscribedRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1209
|
-
{ no: 1, name: "subscribe", kind: "scalar", T: 8, req: true },
|
|
1210
|
-
{ no: 2, name: "publication_handle", kind: "scalar", T: 4, req: true }
|
|
1211
|
-
]);
|
|
1212
|
-
let SetSubscribedRequest = _SetSubscribedRequest;
|
|
1213
|
-
const _SetSubscribedResponse = class _SetSubscribedResponse extends import_protobuf.Message {
|
|
1214
|
-
constructor(data) {
|
|
1215
|
-
super();
|
|
1216
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1217
|
-
}
|
|
1218
|
-
static fromBinary(bytes, options) {
|
|
1219
|
-
return new _SetSubscribedResponse().fromBinary(bytes, options);
|
|
1220
|
-
}
|
|
1221
|
-
static fromJson(jsonValue, options) {
|
|
1222
|
-
return new _SetSubscribedResponse().fromJson(jsonValue, options);
|
|
1223
|
-
}
|
|
1224
|
-
static fromJsonString(jsonString, options) {
|
|
1225
|
-
return new _SetSubscribedResponse().fromJsonString(jsonString, options);
|
|
1226
|
-
}
|
|
1227
|
-
static equals(a, b) {
|
|
1228
|
-
return import_protobuf.proto2.util.equals(_SetSubscribedResponse, a, b);
|
|
1229
|
-
}
|
|
1230
|
-
};
|
|
1231
|
-
_SetSubscribedResponse.runtime = import_protobuf.proto2;
|
|
1232
|
-
_SetSubscribedResponse.typeName = "livekit.proto.SetSubscribedResponse";
|
|
1233
|
-
_SetSubscribedResponse.fields = import_protobuf.proto2.util.newFieldList(() => []);
|
|
1234
|
-
let SetSubscribedResponse = _SetSubscribedResponse;
|
|
1235
|
-
const _GetSessionStatsRequest = class _GetSessionStatsRequest extends import_protobuf.Message {
|
|
1236
|
-
constructor(data) {
|
|
1237
|
-
super();
|
|
1238
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1239
|
-
}
|
|
1240
|
-
static fromBinary(bytes, options) {
|
|
1241
|
-
return new _GetSessionStatsRequest().fromBinary(bytes, options);
|
|
1242
|
-
}
|
|
1243
|
-
static fromJson(jsonValue, options) {
|
|
1244
|
-
return new _GetSessionStatsRequest().fromJson(jsonValue, options);
|
|
1245
|
-
}
|
|
1246
|
-
static fromJsonString(jsonString, options) {
|
|
1247
|
-
return new _GetSessionStatsRequest().fromJsonString(jsonString, options);
|
|
1248
|
-
}
|
|
1249
|
-
static equals(a, b) {
|
|
1250
|
-
return import_protobuf.proto2.util.equals(_GetSessionStatsRequest, a, b);
|
|
1251
|
-
}
|
|
1252
|
-
};
|
|
1253
|
-
_GetSessionStatsRequest.runtime = import_protobuf.proto2;
|
|
1254
|
-
_GetSessionStatsRequest.typeName = "livekit.proto.GetSessionStatsRequest";
|
|
1255
|
-
_GetSessionStatsRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1256
|
-
{ no: 1, name: "room_handle", kind: "scalar", T: 4, req: true }
|
|
1257
|
-
]);
|
|
1258
|
-
let GetSessionStatsRequest = _GetSessionStatsRequest;
|
|
1259
|
-
const _GetSessionStatsResponse = class _GetSessionStatsResponse extends import_protobuf.Message {
|
|
1260
|
-
constructor(data) {
|
|
1261
|
-
super();
|
|
1262
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1263
|
-
}
|
|
1264
|
-
static fromBinary(bytes, options) {
|
|
1265
|
-
return new _GetSessionStatsResponse().fromBinary(bytes, options);
|
|
1266
|
-
}
|
|
1267
|
-
static fromJson(jsonValue, options) {
|
|
1268
|
-
return new _GetSessionStatsResponse().fromJson(jsonValue, options);
|
|
1269
|
-
}
|
|
1270
|
-
static fromJsonString(jsonString, options) {
|
|
1271
|
-
return new _GetSessionStatsResponse().fromJsonString(jsonString, options);
|
|
1272
|
-
}
|
|
1273
|
-
static equals(a, b) {
|
|
1274
|
-
return import_protobuf.proto2.util.equals(_GetSessionStatsResponse, a, b);
|
|
1275
|
-
}
|
|
1276
|
-
};
|
|
1277
|
-
_GetSessionStatsResponse.runtime = import_protobuf.proto2;
|
|
1278
|
-
_GetSessionStatsResponse.typeName = "livekit.proto.GetSessionStatsResponse";
|
|
1279
|
-
_GetSessionStatsResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1280
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
1281
|
-
]);
|
|
1282
|
-
let GetSessionStatsResponse = _GetSessionStatsResponse;
|
|
1283
|
-
const _GetSessionStatsCallback = class _GetSessionStatsCallback extends import_protobuf.Message {
|
|
1284
|
-
constructor(data) {
|
|
1285
|
-
super();
|
|
1286
|
-
/**
|
|
1287
|
-
* @generated from oneof livekit.proto.GetSessionStatsCallback.message
|
|
1288
|
-
*/
|
|
1289
|
-
this.message = { case: void 0 };
|
|
1290
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1291
|
-
}
|
|
1292
|
-
static fromBinary(bytes, options) {
|
|
1293
|
-
return new _GetSessionStatsCallback().fromBinary(bytes, options);
|
|
1294
|
-
}
|
|
1295
|
-
static fromJson(jsonValue, options) {
|
|
1296
|
-
return new _GetSessionStatsCallback().fromJson(jsonValue, options);
|
|
1297
|
-
}
|
|
1298
|
-
static fromJsonString(jsonString, options) {
|
|
1299
|
-
return new _GetSessionStatsCallback().fromJsonString(jsonString, options);
|
|
1300
|
-
}
|
|
1301
|
-
static equals(a, b) {
|
|
1302
|
-
return import_protobuf.proto2.util.equals(_GetSessionStatsCallback, a, b);
|
|
1303
|
-
}
|
|
1304
|
-
};
|
|
1305
|
-
_GetSessionStatsCallback.runtime = import_protobuf.proto2;
|
|
1306
|
-
_GetSessionStatsCallback.typeName = "livekit.proto.GetSessionStatsCallback";
|
|
1307
|
-
_GetSessionStatsCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1308
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true },
|
|
1309
|
-
{ no: 2, name: "error", kind: "scalar", T: 9, oneof: "message" },
|
|
1310
|
-
{ no: 3, name: "result", kind: "message", T: GetSessionStatsCallback_Result, oneof: "message" }
|
|
1311
|
-
]);
|
|
1312
|
-
let GetSessionStatsCallback = _GetSessionStatsCallback;
|
|
1313
|
-
const _GetSessionStatsCallback_Result = class _GetSessionStatsCallback_Result extends import_protobuf.Message {
|
|
1314
|
-
constructor(data) {
|
|
1315
|
-
super();
|
|
1316
|
-
/**
|
|
1317
|
-
* @generated from field: repeated livekit.proto.RtcStats publisher_stats = 1;
|
|
1318
|
-
*/
|
|
1319
|
-
this.publisherStats = [];
|
|
1320
|
-
/**
|
|
1321
|
-
* @generated from field: repeated livekit.proto.RtcStats subscriber_stats = 2;
|
|
1322
|
-
*/
|
|
1323
|
-
this.subscriberStats = [];
|
|
1324
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1325
|
-
}
|
|
1326
|
-
static fromBinary(bytes, options) {
|
|
1327
|
-
return new _GetSessionStatsCallback_Result().fromBinary(bytes, options);
|
|
1328
|
-
}
|
|
1329
|
-
static fromJson(jsonValue, options) {
|
|
1330
|
-
return new _GetSessionStatsCallback_Result().fromJson(jsonValue, options);
|
|
1331
|
-
}
|
|
1332
|
-
static fromJsonString(jsonString, options) {
|
|
1333
|
-
return new _GetSessionStatsCallback_Result().fromJsonString(jsonString, options);
|
|
1334
|
-
}
|
|
1335
|
-
static equals(a, b) {
|
|
1336
|
-
return import_protobuf.proto2.util.equals(_GetSessionStatsCallback_Result, a, b);
|
|
1337
|
-
}
|
|
1338
|
-
};
|
|
1339
|
-
_GetSessionStatsCallback_Result.runtime = import_protobuf.proto2;
|
|
1340
|
-
_GetSessionStatsCallback_Result.typeName = "livekit.proto.GetSessionStatsCallback.Result";
|
|
1341
|
-
_GetSessionStatsCallback_Result.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1342
|
-
{ no: 1, name: "publisher_stats", kind: "message", T: import_stats_pb.RtcStats, repeated: true },
|
|
1343
|
-
{ no: 2, name: "subscriber_stats", kind: "message", T: import_stats_pb.RtcStats, repeated: true }
|
|
1344
|
-
]);
|
|
1345
|
-
let GetSessionStatsCallback_Result = _GetSessionStatsCallback_Result;
|
|
1346
|
-
const _VideoEncoding = class _VideoEncoding extends import_protobuf.Message {
|
|
1347
|
-
constructor(data) {
|
|
1348
|
-
super();
|
|
1349
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1350
|
-
}
|
|
1351
|
-
static fromBinary(bytes, options) {
|
|
1352
|
-
return new _VideoEncoding().fromBinary(bytes, options);
|
|
1353
|
-
}
|
|
1354
|
-
static fromJson(jsonValue, options) {
|
|
1355
|
-
return new _VideoEncoding().fromJson(jsonValue, options);
|
|
1356
|
-
}
|
|
1357
|
-
static fromJsonString(jsonString, options) {
|
|
1358
|
-
return new _VideoEncoding().fromJsonString(jsonString, options);
|
|
1359
|
-
}
|
|
1360
|
-
static equals(a, b) {
|
|
1361
|
-
return import_protobuf.proto2.util.equals(_VideoEncoding, a, b);
|
|
1362
|
-
}
|
|
1363
|
-
};
|
|
1364
|
-
_VideoEncoding.runtime = import_protobuf.proto2;
|
|
1365
|
-
_VideoEncoding.typeName = "livekit.proto.VideoEncoding";
|
|
1366
|
-
_VideoEncoding.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1367
|
-
{ no: 1, name: "max_bitrate", kind: "scalar", T: 4, req: true },
|
|
1368
|
-
{ no: 2, name: "max_framerate", kind: "scalar", T: 1, req: true }
|
|
1369
|
-
]);
|
|
1370
|
-
let VideoEncoding = _VideoEncoding;
|
|
1371
|
-
const _AudioEncoding = class _AudioEncoding extends import_protobuf.Message {
|
|
1372
|
-
constructor(data) {
|
|
1373
|
-
super();
|
|
1374
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1375
|
-
}
|
|
1376
|
-
static fromBinary(bytes, options) {
|
|
1377
|
-
return new _AudioEncoding().fromBinary(bytes, options);
|
|
1378
|
-
}
|
|
1379
|
-
static fromJson(jsonValue, options) {
|
|
1380
|
-
return new _AudioEncoding().fromJson(jsonValue, options);
|
|
1381
|
-
}
|
|
1382
|
-
static fromJsonString(jsonString, options) {
|
|
1383
|
-
return new _AudioEncoding().fromJsonString(jsonString, options);
|
|
1384
|
-
}
|
|
1385
|
-
static equals(a, b) {
|
|
1386
|
-
return import_protobuf.proto2.util.equals(_AudioEncoding, a, b);
|
|
1387
|
-
}
|
|
1388
|
-
};
|
|
1389
|
-
_AudioEncoding.runtime = import_protobuf.proto2;
|
|
1390
|
-
_AudioEncoding.typeName = "livekit.proto.AudioEncoding";
|
|
1391
|
-
_AudioEncoding.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1392
|
-
{ no: 1, name: "max_bitrate", kind: "scalar", T: 4, req: true }
|
|
1393
|
-
]);
|
|
1394
|
-
let AudioEncoding = _AudioEncoding;
|
|
1395
|
-
const _TrackPublishOptions = class _TrackPublishOptions extends import_protobuf.Message {
|
|
1396
|
-
constructor(data) {
|
|
1397
|
-
super();
|
|
1398
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1399
|
-
}
|
|
1400
|
-
static fromBinary(bytes, options) {
|
|
1401
|
-
return new _TrackPublishOptions().fromBinary(bytes, options);
|
|
1402
|
-
}
|
|
1403
|
-
static fromJson(jsonValue, options) {
|
|
1404
|
-
return new _TrackPublishOptions().fromJson(jsonValue, options);
|
|
1405
|
-
}
|
|
1406
|
-
static fromJsonString(jsonString, options) {
|
|
1407
|
-
return new _TrackPublishOptions().fromJsonString(jsonString, options);
|
|
1408
|
-
}
|
|
1409
|
-
static equals(a, b) {
|
|
1410
|
-
return import_protobuf.proto2.util.equals(_TrackPublishOptions, a, b);
|
|
1411
|
-
}
|
|
1412
|
-
};
|
|
1413
|
-
_TrackPublishOptions.runtime = import_protobuf.proto2;
|
|
1414
|
-
_TrackPublishOptions.typeName = "livekit.proto.TrackPublishOptions";
|
|
1415
|
-
_TrackPublishOptions.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1416
|
-
{ no: 1, name: "video_encoding", kind: "message", T: VideoEncoding, opt: true },
|
|
1417
|
-
{ no: 2, name: "audio_encoding", kind: "message", T: AudioEncoding, opt: true },
|
|
1418
|
-
{ no: 3, name: "video_codec", kind: "enum", T: import_protobuf.proto2.getEnumType(import_video_frame_pb.VideoCodec), opt: true },
|
|
1419
|
-
{ no: 4, name: "dtx", kind: "scalar", T: 8, opt: true },
|
|
1420
|
-
{ no: 5, name: "red", kind: "scalar", T: 8, opt: true },
|
|
1421
|
-
{ no: 6, name: "simulcast", kind: "scalar", T: 8, opt: true },
|
|
1422
|
-
{ no: 7, name: "source", kind: "enum", T: import_protobuf.proto2.getEnumType(import_track_pb.TrackSource), opt: true },
|
|
1423
|
-
{ no: 8, name: "stream", kind: "scalar", T: 9, opt: true },
|
|
1424
|
-
{ no: 9, name: "preconnect_buffer", kind: "scalar", T: 8, opt: true }
|
|
1425
|
-
]);
|
|
1426
|
-
let TrackPublishOptions = _TrackPublishOptions;
|
|
1427
|
-
const _IceServer = class _IceServer extends import_protobuf.Message {
|
|
1428
|
-
constructor(data) {
|
|
1429
|
-
super();
|
|
1430
|
-
/**
|
|
1431
|
-
* @generated from field: repeated string urls = 1;
|
|
1432
|
-
*/
|
|
1433
|
-
this.urls = [];
|
|
1434
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1435
|
-
}
|
|
1436
|
-
static fromBinary(bytes, options) {
|
|
1437
|
-
return new _IceServer().fromBinary(bytes, options);
|
|
1438
|
-
}
|
|
1439
|
-
static fromJson(jsonValue, options) {
|
|
1440
|
-
return new _IceServer().fromJson(jsonValue, options);
|
|
1441
|
-
}
|
|
1442
|
-
static fromJsonString(jsonString, options) {
|
|
1443
|
-
return new _IceServer().fromJsonString(jsonString, options);
|
|
1444
|
-
}
|
|
1445
|
-
static equals(a, b) {
|
|
1446
|
-
return import_protobuf.proto2.util.equals(_IceServer, a, b);
|
|
1447
|
-
}
|
|
1448
|
-
};
|
|
1449
|
-
_IceServer.runtime = import_protobuf.proto2;
|
|
1450
|
-
_IceServer.typeName = "livekit.proto.IceServer";
|
|
1451
|
-
_IceServer.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1452
|
-
{ no: 1, name: "urls", kind: "scalar", T: 9, repeated: true },
|
|
1453
|
-
{ no: 2, name: "username", kind: "scalar", T: 9, opt: true },
|
|
1454
|
-
{ no: 3, name: "password", kind: "scalar", T: 9, opt: true }
|
|
1455
|
-
]);
|
|
1456
|
-
let IceServer = _IceServer;
|
|
1457
|
-
const _RtcConfig = class _RtcConfig extends import_protobuf.Message {
|
|
1458
|
-
constructor(data) {
|
|
1459
|
-
super();
|
|
1460
|
-
/**
|
|
1461
|
-
* empty fallback to default
|
|
1462
|
-
*
|
|
1463
|
-
* @generated from field: repeated livekit.proto.IceServer ice_servers = 3;
|
|
1464
|
-
*/
|
|
1465
|
-
this.iceServers = [];
|
|
1466
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1467
|
-
}
|
|
1468
|
-
static fromBinary(bytes, options) {
|
|
1469
|
-
return new _RtcConfig().fromBinary(bytes, options);
|
|
1470
|
-
}
|
|
1471
|
-
static fromJson(jsonValue, options) {
|
|
1472
|
-
return new _RtcConfig().fromJson(jsonValue, options);
|
|
1473
|
-
}
|
|
1474
|
-
static fromJsonString(jsonString, options) {
|
|
1475
|
-
return new _RtcConfig().fromJsonString(jsonString, options);
|
|
1476
|
-
}
|
|
1477
|
-
static equals(a, b) {
|
|
1478
|
-
return import_protobuf.proto2.util.equals(_RtcConfig, a, b);
|
|
1479
|
-
}
|
|
1480
|
-
};
|
|
1481
|
-
_RtcConfig.runtime = import_protobuf.proto2;
|
|
1482
|
-
_RtcConfig.typeName = "livekit.proto.RtcConfig";
|
|
1483
|
-
_RtcConfig.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1484
|
-
{ no: 1, name: "ice_transport_type", kind: "enum", T: import_protobuf.proto2.getEnumType(IceTransportType), opt: true },
|
|
1485
|
-
{ no: 2, name: "continual_gathering_policy", kind: "enum", T: import_protobuf.proto2.getEnumType(ContinualGatheringPolicy), opt: true },
|
|
1486
|
-
{ no: 3, name: "ice_servers", kind: "message", T: IceServer, repeated: true }
|
|
1487
|
-
]);
|
|
1488
|
-
let RtcConfig = _RtcConfig;
|
|
1489
|
-
const _RoomOptions = class _RoomOptions extends import_protobuf.Message {
|
|
1490
|
-
constructor(data) {
|
|
1491
|
-
super();
|
|
1492
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1493
|
-
}
|
|
1494
|
-
static fromBinary(bytes, options) {
|
|
1495
|
-
return new _RoomOptions().fromBinary(bytes, options);
|
|
1496
|
-
}
|
|
1497
|
-
static fromJson(jsonValue, options) {
|
|
1498
|
-
return new _RoomOptions().fromJson(jsonValue, options);
|
|
1499
|
-
}
|
|
1500
|
-
static fromJsonString(jsonString, options) {
|
|
1501
|
-
return new _RoomOptions().fromJsonString(jsonString, options);
|
|
1502
|
-
}
|
|
1503
|
-
static equals(a, b) {
|
|
1504
|
-
return import_protobuf.proto2.util.equals(_RoomOptions, a, b);
|
|
1505
|
-
}
|
|
1506
|
-
};
|
|
1507
|
-
_RoomOptions.runtime = import_protobuf.proto2;
|
|
1508
|
-
_RoomOptions.typeName = "livekit.proto.RoomOptions";
|
|
1509
|
-
_RoomOptions.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1510
|
-
{ no: 1, name: "auto_subscribe", kind: "scalar", T: 8, opt: true },
|
|
1511
|
-
{ no: 2, name: "adaptive_stream", kind: "scalar", T: 8, opt: true },
|
|
1512
|
-
{ no: 3, name: "dynacast", kind: "scalar", T: 8, opt: true },
|
|
1513
|
-
{ no: 4, name: "e2ee", kind: "message", T: import_e2ee_pb.E2eeOptions, opt: true },
|
|
1514
|
-
{ no: 5, name: "rtc_config", kind: "message", T: RtcConfig, opt: true },
|
|
1515
|
-
{ no: 6, name: "join_retries", kind: "scalar", T: 13, opt: true },
|
|
1516
|
-
{ no: 7, name: "encryption", kind: "message", T: import_e2ee_pb.E2eeOptions, opt: true }
|
|
1517
|
-
]);
|
|
1518
|
-
let RoomOptions = _RoomOptions;
|
|
1519
|
-
const _TranscriptionSegment = class _TranscriptionSegment extends import_protobuf.Message {
|
|
1520
|
-
constructor(data) {
|
|
1521
|
-
super();
|
|
1522
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1523
|
-
}
|
|
1524
|
-
static fromBinary(bytes, options) {
|
|
1525
|
-
return new _TranscriptionSegment().fromBinary(bytes, options);
|
|
1526
|
-
}
|
|
1527
|
-
static fromJson(jsonValue, options) {
|
|
1528
|
-
return new _TranscriptionSegment().fromJson(jsonValue, options);
|
|
1529
|
-
}
|
|
1530
|
-
static fromJsonString(jsonString, options) {
|
|
1531
|
-
return new _TranscriptionSegment().fromJsonString(jsonString, options);
|
|
1532
|
-
}
|
|
1533
|
-
static equals(a, b) {
|
|
1534
|
-
return import_protobuf.proto2.util.equals(_TranscriptionSegment, a, b);
|
|
1535
|
-
}
|
|
1536
|
-
};
|
|
1537
|
-
_TranscriptionSegment.runtime = import_protobuf.proto2;
|
|
1538
|
-
_TranscriptionSegment.typeName = "livekit.proto.TranscriptionSegment";
|
|
1539
|
-
_TranscriptionSegment.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1540
|
-
{ no: 1, name: "id", kind: "scalar", T: 9, req: true },
|
|
1541
|
-
{ no: 2, name: "text", kind: "scalar", T: 9, req: true },
|
|
1542
|
-
{ no: 3, name: "start_time", kind: "scalar", T: 4, req: true },
|
|
1543
|
-
{ no: 4, name: "end_time", kind: "scalar", T: 4, req: true },
|
|
1544
|
-
{ no: 5, name: "final", kind: "scalar", T: 8, req: true },
|
|
1545
|
-
{ no: 6, name: "language", kind: "scalar", T: 9, req: true }
|
|
1546
|
-
]);
|
|
1547
|
-
let TranscriptionSegment = _TranscriptionSegment;
|
|
1548
|
-
const _BufferInfo = class _BufferInfo extends import_protobuf.Message {
|
|
1549
|
-
constructor(data) {
|
|
1550
|
-
super();
|
|
1551
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1552
|
-
}
|
|
1553
|
-
static fromBinary(bytes, options) {
|
|
1554
|
-
return new _BufferInfo().fromBinary(bytes, options);
|
|
1555
|
-
}
|
|
1556
|
-
static fromJson(jsonValue, options) {
|
|
1557
|
-
return new _BufferInfo().fromJson(jsonValue, options);
|
|
1558
|
-
}
|
|
1559
|
-
static fromJsonString(jsonString, options) {
|
|
1560
|
-
return new _BufferInfo().fromJsonString(jsonString, options);
|
|
1561
|
-
}
|
|
1562
|
-
static equals(a, b) {
|
|
1563
|
-
return import_protobuf.proto2.util.equals(_BufferInfo, a, b);
|
|
1564
|
-
}
|
|
1565
|
-
};
|
|
1566
|
-
_BufferInfo.runtime = import_protobuf.proto2;
|
|
1567
|
-
_BufferInfo.typeName = "livekit.proto.BufferInfo";
|
|
1568
|
-
_BufferInfo.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1569
|
-
{ no: 1, name: "data_ptr", kind: "scalar", T: 4, req: true },
|
|
1570
|
-
{ no: 2, name: "data_len", kind: "scalar", T: 4, req: true }
|
|
1571
|
-
]);
|
|
1572
|
-
let BufferInfo = _BufferInfo;
|
|
1573
|
-
const _OwnedBuffer = class _OwnedBuffer extends import_protobuf.Message {
|
|
1574
|
-
constructor(data) {
|
|
1575
|
-
super();
|
|
1576
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1577
|
-
}
|
|
1578
|
-
static fromBinary(bytes, options) {
|
|
1579
|
-
return new _OwnedBuffer().fromBinary(bytes, options);
|
|
1580
|
-
}
|
|
1581
|
-
static fromJson(jsonValue, options) {
|
|
1582
|
-
return new _OwnedBuffer().fromJson(jsonValue, options);
|
|
1583
|
-
}
|
|
1584
|
-
static fromJsonString(jsonString, options) {
|
|
1585
|
-
return new _OwnedBuffer().fromJsonString(jsonString, options);
|
|
1586
|
-
}
|
|
1587
|
-
static equals(a, b) {
|
|
1588
|
-
return import_protobuf.proto2.util.equals(_OwnedBuffer, a, b);
|
|
1589
|
-
}
|
|
1590
|
-
};
|
|
1591
|
-
_OwnedBuffer.runtime = import_protobuf.proto2;
|
|
1592
|
-
_OwnedBuffer.typeName = "livekit.proto.OwnedBuffer";
|
|
1593
|
-
_OwnedBuffer.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1594
|
-
{ no: 1, name: "handle", kind: "message", T: import_handle_pb.FfiOwnedHandle, req: true },
|
|
1595
|
-
{ no: 2, name: "data", kind: "message", T: BufferInfo, req: true }
|
|
1596
|
-
]);
|
|
1597
|
-
let OwnedBuffer = _OwnedBuffer;
|
|
1598
|
-
const _RoomEvent = class _RoomEvent extends import_protobuf.Message {
|
|
1599
|
-
constructor(data) {
|
|
1600
|
-
super();
|
|
1601
|
-
/**
|
|
1602
|
-
* @generated from oneof livekit.proto.RoomEvent.message
|
|
1603
|
-
*/
|
|
1604
|
-
this.message = { case: void 0 };
|
|
1605
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1606
|
-
}
|
|
1607
|
-
static fromBinary(bytes, options) {
|
|
1608
|
-
return new _RoomEvent().fromBinary(bytes, options);
|
|
1609
|
-
}
|
|
1610
|
-
static fromJson(jsonValue, options) {
|
|
1611
|
-
return new _RoomEvent().fromJson(jsonValue, options);
|
|
1612
|
-
}
|
|
1613
|
-
static fromJsonString(jsonString, options) {
|
|
1614
|
-
return new _RoomEvent().fromJsonString(jsonString, options);
|
|
1615
|
-
}
|
|
1616
|
-
static equals(a, b) {
|
|
1617
|
-
return import_protobuf.proto2.util.equals(_RoomEvent, a, b);
|
|
1618
|
-
}
|
|
1619
|
-
};
|
|
1620
|
-
_RoomEvent.runtime = import_protobuf.proto2;
|
|
1621
|
-
_RoomEvent.typeName = "livekit.proto.RoomEvent";
|
|
1622
|
-
_RoomEvent.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1623
|
-
{ no: 1, name: "room_handle", kind: "scalar", T: 4, req: true },
|
|
1624
|
-
{ no: 2, name: "participant_connected", kind: "message", T: ParticipantConnected, oneof: "message" },
|
|
1625
|
-
{ no: 3, name: "participant_disconnected", kind: "message", T: ParticipantDisconnected, oneof: "message" },
|
|
1626
|
-
{ no: 4, name: "local_track_published", kind: "message", T: LocalTrackPublished, oneof: "message" },
|
|
1627
|
-
{ no: 5, name: "local_track_unpublished", kind: "message", T: LocalTrackUnpublished, oneof: "message" },
|
|
1628
|
-
{ no: 6, name: "local_track_subscribed", kind: "message", T: LocalTrackSubscribed, oneof: "message" },
|
|
1629
|
-
{ no: 7, name: "track_published", kind: "message", T: TrackPublished, oneof: "message" },
|
|
1630
|
-
{ no: 8, name: "track_unpublished", kind: "message", T: TrackUnpublished, oneof: "message" },
|
|
1631
|
-
{ no: 9, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
|
|
1632
|
-
{ no: 10, name: "track_unsubscribed", kind: "message", T: TrackUnsubscribed, oneof: "message" },
|
|
1633
|
-
{ no: 11, name: "track_subscription_failed", kind: "message", T: TrackSubscriptionFailed, oneof: "message" },
|
|
1634
|
-
{ no: 12, name: "track_muted", kind: "message", T: TrackMuted, oneof: "message" },
|
|
1635
|
-
{ no: 13, name: "track_unmuted", kind: "message", T: TrackUnmuted, oneof: "message" },
|
|
1636
|
-
{ no: 14, name: "active_speakers_changed", kind: "message", T: ActiveSpeakersChanged, oneof: "message" },
|
|
1637
|
-
{ no: 15, name: "room_metadata_changed", kind: "message", T: RoomMetadataChanged, oneof: "message" },
|
|
1638
|
-
{ no: 16, name: "room_sid_changed", kind: "message", T: RoomSidChanged, oneof: "message" },
|
|
1639
|
-
{ no: 17, name: "participant_metadata_changed", kind: "message", T: ParticipantMetadataChanged, oneof: "message" },
|
|
1640
|
-
{ no: 18, name: "participant_name_changed", kind: "message", T: ParticipantNameChanged, oneof: "message" },
|
|
1641
|
-
{ no: 19, name: "participant_attributes_changed", kind: "message", T: ParticipantAttributesChanged, oneof: "message" },
|
|
1642
|
-
{ no: 20, name: "connection_quality_changed", kind: "message", T: ConnectionQualityChanged, oneof: "message" },
|
|
1643
|
-
{ no: 21, name: "connection_state_changed", kind: "message", T: ConnectionStateChanged, oneof: "message" },
|
|
1644
|
-
{ no: 22, name: "disconnected", kind: "message", T: Disconnected, oneof: "message" },
|
|
1645
|
-
{ no: 23, name: "reconnecting", kind: "message", T: Reconnecting, oneof: "message" },
|
|
1646
|
-
{ no: 24, name: "reconnected", kind: "message", T: Reconnected, oneof: "message" },
|
|
1647
|
-
{ no: 25, name: "e2ee_state_changed", kind: "message", T: E2eeStateChanged, oneof: "message" },
|
|
1648
|
-
{ no: 26, name: "eos", kind: "message", T: RoomEOS, oneof: "message" },
|
|
1649
|
-
{ no: 27, name: "data_packet_received", kind: "message", T: DataPacketReceived, oneof: "message" },
|
|
1650
|
-
{ no: 28, name: "transcription_received", kind: "message", T: TranscriptionReceived, oneof: "message" },
|
|
1651
|
-
{ no: 29, name: "chat_message", kind: "message", T: ChatMessageReceived, oneof: "message" },
|
|
1652
|
-
{ no: 30, name: "stream_header_received", kind: "message", T: DataStreamHeaderReceived, oneof: "message" },
|
|
1653
|
-
{ no: 31, name: "stream_chunk_received", kind: "message", T: DataStreamChunkReceived, oneof: "message" },
|
|
1654
|
-
{ no: 32, name: "stream_trailer_received", kind: "message", T: DataStreamTrailerReceived, oneof: "message" },
|
|
1655
|
-
{ no: 33, name: "data_channel_low_threshold_changed", kind: "message", T: DataChannelBufferedAmountLowThresholdChanged, oneof: "message" },
|
|
1656
|
-
{ no: 34, name: "byte_stream_opened", kind: "message", T: ByteStreamOpened, oneof: "message" },
|
|
1657
|
-
{ no: 35, name: "text_stream_opened", kind: "message", T: TextStreamOpened, oneof: "message" },
|
|
1658
|
-
{ no: 36, name: "room_updated", kind: "message", T: RoomInfo, oneof: "message" },
|
|
1659
|
-
{ no: 37, name: "moved", kind: "message", T: RoomInfo, oneof: "message" },
|
|
1660
|
-
{ no: 38, name: "participants_updated", kind: "message", T: ParticipantsUpdated, oneof: "message" },
|
|
1661
|
-
{ no: 39, name: "participant_encryption_status_changed", kind: "message", T: ParticipantEncryptionStatusChanged, oneof: "message" },
|
|
1662
|
-
{ no: 40, name: "token_refreshed", kind: "message", T: TokenRefreshed, oneof: "message" }
|
|
1663
|
-
]);
|
|
1664
|
-
let RoomEvent = _RoomEvent;
|
|
1665
|
-
const _RoomInfo = class _RoomInfo extends import_protobuf.Message {
|
|
1666
|
-
constructor(data) {
|
|
1667
|
-
super();
|
|
1668
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1669
|
-
}
|
|
1670
|
-
static fromBinary(bytes, options) {
|
|
1671
|
-
return new _RoomInfo().fromBinary(bytes, options);
|
|
1672
|
-
}
|
|
1673
|
-
static fromJson(jsonValue, options) {
|
|
1674
|
-
return new _RoomInfo().fromJson(jsonValue, options);
|
|
1675
|
-
}
|
|
1676
|
-
static fromJsonString(jsonString, options) {
|
|
1677
|
-
return new _RoomInfo().fromJsonString(jsonString, options);
|
|
1678
|
-
}
|
|
1679
|
-
static equals(a, b) {
|
|
1680
|
-
return import_protobuf.proto2.util.equals(_RoomInfo, a, b);
|
|
1681
|
-
}
|
|
1682
|
-
};
|
|
1683
|
-
_RoomInfo.runtime = import_protobuf.proto2;
|
|
1684
|
-
_RoomInfo.typeName = "livekit.proto.RoomInfo";
|
|
1685
|
-
_RoomInfo.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1686
|
-
{ no: 1, name: "sid", kind: "scalar", T: 9, opt: true },
|
|
1687
|
-
{ no: 2, name: "name", kind: "scalar", T: 9, req: true },
|
|
1688
|
-
{ no: 3, name: "metadata", kind: "scalar", T: 9, req: true },
|
|
1689
|
-
{ no: 4, name: "lossy_dc_buffered_amount_low_threshold", kind: "scalar", T: 4, req: true },
|
|
1690
|
-
{ no: 5, name: "reliable_dc_buffered_amount_low_threshold", kind: "scalar", T: 4, req: true },
|
|
1691
|
-
{ no: 6, name: "empty_timeout", kind: "scalar", T: 13, req: true },
|
|
1692
|
-
{ no: 7, name: "departure_timeout", kind: "scalar", T: 13, req: true },
|
|
1693
|
-
{ no: 8, name: "max_participants", kind: "scalar", T: 13, req: true },
|
|
1694
|
-
{ no: 9, name: "creation_time", kind: "scalar", T: 3, req: true },
|
|
1695
|
-
{ no: 10, name: "num_participants", kind: "scalar", T: 13, req: true },
|
|
1696
|
-
{ no: 11, name: "num_publishers", kind: "scalar", T: 13, req: true },
|
|
1697
|
-
{ no: 12, name: "active_recording", kind: "scalar", T: 8, req: true }
|
|
1698
|
-
]);
|
|
1699
|
-
let RoomInfo = _RoomInfo;
|
|
1700
|
-
const _OwnedRoom = class _OwnedRoom extends import_protobuf.Message {
|
|
1701
|
-
constructor(data) {
|
|
1702
|
-
super();
|
|
1703
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1704
|
-
}
|
|
1705
|
-
static fromBinary(bytes, options) {
|
|
1706
|
-
return new _OwnedRoom().fromBinary(bytes, options);
|
|
1707
|
-
}
|
|
1708
|
-
static fromJson(jsonValue, options) {
|
|
1709
|
-
return new _OwnedRoom().fromJson(jsonValue, options);
|
|
1710
|
-
}
|
|
1711
|
-
static fromJsonString(jsonString, options) {
|
|
1712
|
-
return new _OwnedRoom().fromJsonString(jsonString, options);
|
|
1713
|
-
}
|
|
1714
|
-
static equals(a, b) {
|
|
1715
|
-
return import_protobuf.proto2.util.equals(_OwnedRoom, a, b);
|
|
1716
|
-
}
|
|
1717
|
-
};
|
|
1718
|
-
_OwnedRoom.runtime = import_protobuf.proto2;
|
|
1719
|
-
_OwnedRoom.typeName = "livekit.proto.OwnedRoom";
|
|
1720
|
-
_OwnedRoom.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1721
|
-
{ no: 1, name: "handle", kind: "message", T: import_handle_pb.FfiOwnedHandle, req: true },
|
|
1722
|
-
{ no: 2, name: "info", kind: "message", T: RoomInfo, req: true }
|
|
1723
|
-
]);
|
|
1724
|
-
let OwnedRoom = _OwnedRoom;
|
|
1725
|
-
const _ParticipantsUpdated = class _ParticipantsUpdated extends import_protobuf.Message {
|
|
1726
|
-
constructor(data) {
|
|
1727
|
-
super();
|
|
1728
|
-
/**
|
|
1729
|
-
* @generated from field: repeated livekit.proto.ParticipantInfo participants = 1;
|
|
1730
|
-
*/
|
|
1731
|
-
this.participants = [];
|
|
1732
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1733
|
-
}
|
|
1734
|
-
static fromBinary(bytes, options) {
|
|
1735
|
-
return new _ParticipantsUpdated().fromBinary(bytes, options);
|
|
1736
|
-
}
|
|
1737
|
-
static fromJson(jsonValue, options) {
|
|
1738
|
-
return new _ParticipantsUpdated().fromJson(jsonValue, options);
|
|
1739
|
-
}
|
|
1740
|
-
static fromJsonString(jsonString, options) {
|
|
1741
|
-
return new _ParticipantsUpdated().fromJsonString(jsonString, options);
|
|
1742
|
-
}
|
|
1743
|
-
static equals(a, b) {
|
|
1744
|
-
return import_protobuf.proto2.util.equals(_ParticipantsUpdated, a, b);
|
|
1745
|
-
}
|
|
1746
|
-
};
|
|
1747
|
-
_ParticipantsUpdated.runtime = import_protobuf.proto2;
|
|
1748
|
-
_ParticipantsUpdated.typeName = "livekit.proto.ParticipantsUpdated";
|
|
1749
|
-
_ParticipantsUpdated.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1750
|
-
{ no: 1, name: "participants", kind: "message", T: import_participant_pb.ParticipantInfo, repeated: true }
|
|
1751
|
-
]);
|
|
1752
|
-
let ParticipantsUpdated = _ParticipantsUpdated;
|
|
1753
|
-
const _ParticipantConnected = class _ParticipantConnected extends import_protobuf.Message {
|
|
1754
|
-
constructor(data) {
|
|
1755
|
-
super();
|
|
1756
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1757
|
-
}
|
|
1758
|
-
static fromBinary(bytes, options) {
|
|
1759
|
-
return new _ParticipantConnected().fromBinary(bytes, options);
|
|
1760
|
-
}
|
|
1761
|
-
static fromJson(jsonValue, options) {
|
|
1762
|
-
return new _ParticipantConnected().fromJson(jsonValue, options);
|
|
1763
|
-
}
|
|
1764
|
-
static fromJsonString(jsonString, options) {
|
|
1765
|
-
return new _ParticipantConnected().fromJsonString(jsonString, options);
|
|
1766
|
-
}
|
|
1767
|
-
static equals(a, b) {
|
|
1768
|
-
return import_protobuf.proto2.util.equals(_ParticipantConnected, a, b);
|
|
1769
|
-
}
|
|
1770
|
-
};
|
|
1771
|
-
_ParticipantConnected.runtime = import_protobuf.proto2;
|
|
1772
|
-
_ParticipantConnected.typeName = "livekit.proto.ParticipantConnected";
|
|
1773
|
-
_ParticipantConnected.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1774
|
-
{ no: 1, name: "info", kind: "message", T: import_participant_pb.OwnedParticipant, req: true }
|
|
1775
|
-
]);
|
|
1776
|
-
let ParticipantConnected = _ParticipantConnected;
|
|
1777
|
-
const _ParticipantDisconnected = class _ParticipantDisconnected extends import_protobuf.Message {
|
|
1778
|
-
constructor(data) {
|
|
1779
|
-
super();
|
|
1780
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1781
|
-
}
|
|
1782
|
-
static fromBinary(bytes, options) {
|
|
1783
|
-
return new _ParticipantDisconnected().fromBinary(bytes, options);
|
|
1784
|
-
}
|
|
1785
|
-
static fromJson(jsonValue, options) {
|
|
1786
|
-
return new _ParticipantDisconnected().fromJson(jsonValue, options);
|
|
1787
|
-
}
|
|
1788
|
-
static fromJsonString(jsonString, options) {
|
|
1789
|
-
return new _ParticipantDisconnected().fromJsonString(jsonString, options);
|
|
1790
|
-
}
|
|
1791
|
-
static equals(a, b) {
|
|
1792
|
-
return import_protobuf.proto2.util.equals(_ParticipantDisconnected, a, b);
|
|
1793
|
-
}
|
|
1794
|
-
};
|
|
1795
|
-
_ParticipantDisconnected.runtime = import_protobuf.proto2;
|
|
1796
|
-
_ParticipantDisconnected.typeName = "livekit.proto.ParticipantDisconnected";
|
|
1797
|
-
_ParticipantDisconnected.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1798
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
1799
|
-
{ no: 2, name: "disconnect_reason", kind: "enum", T: import_protobuf.proto2.getEnumType(import_participant_pb.DisconnectReason), req: true }
|
|
1800
|
-
]);
|
|
1801
|
-
let ParticipantDisconnected = _ParticipantDisconnected;
|
|
1802
|
-
const _LocalTrackPublished = class _LocalTrackPublished extends import_protobuf.Message {
|
|
1803
|
-
constructor(data) {
|
|
1804
|
-
super();
|
|
1805
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1806
|
-
}
|
|
1807
|
-
static fromBinary(bytes, options) {
|
|
1808
|
-
return new _LocalTrackPublished().fromBinary(bytes, options);
|
|
1809
|
-
}
|
|
1810
|
-
static fromJson(jsonValue, options) {
|
|
1811
|
-
return new _LocalTrackPublished().fromJson(jsonValue, options);
|
|
1812
|
-
}
|
|
1813
|
-
static fromJsonString(jsonString, options) {
|
|
1814
|
-
return new _LocalTrackPublished().fromJsonString(jsonString, options);
|
|
1815
|
-
}
|
|
1816
|
-
static equals(a, b) {
|
|
1817
|
-
return import_protobuf.proto2.util.equals(_LocalTrackPublished, a, b);
|
|
1818
|
-
}
|
|
1819
|
-
};
|
|
1820
|
-
_LocalTrackPublished.runtime = import_protobuf.proto2;
|
|
1821
|
-
_LocalTrackPublished.typeName = "livekit.proto.LocalTrackPublished";
|
|
1822
|
-
_LocalTrackPublished.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1823
|
-
{ no: 1, name: "track_sid", kind: "scalar", T: 9, req: true }
|
|
1824
|
-
]);
|
|
1825
|
-
let LocalTrackPublished = _LocalTrackPublished;
|
|
1826
|
-
const _LocalTrackUnpublished = class _LocalTrackUnpublished extends import_protobuf.Message {
|
|
1827
|
-
constructor(data) {
|
|
1828
|
-
super();
|
|
1829
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1830
|
-
}
|
|
1831
|
-
static fromBinary(bytes, options) {
|
|
1832
|
-
return new _LocalTrackUnpublished().fromBinary(bytes, options);
|
|
1833
|
-
}
|
|
1834
|
-
static fromJson(jsonValue, options) {
|
|
1835
|
-
return new _LocalTrackUnpublished().fromJson(jsonValue, options);
|
|
1836
|
-
}
|
|
1837
|
-
static fromJsonString(jsonString, options) {
|
|
1838
|
-
return new _LocalTrackUnpublished().fromJsonString(jsonString, options);
|
|
1839
|
-
}
|
|
1840
|
-
static equals(a, b) {
|
|
1841
|
-
return import_protobuf.proto2.util.equals(_LocalTrackUnpublished, a, b);
|
|
1842
|
-
}
|
|
1843
|
-
};
|
|
1844
|
-
_LocalTrackUnpublished.runtime = import_protobuf.proto2;
|
|
1845
|
-
_LocalTrackUnpublished.typeName = "livekit.proto.LocalTrackUnpublished";
|
|
1846
|
-
_LocalTrackUnpublished.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1847
|
-
{ no: 1, name: "publication_sid", kind: "scalar", T: 9, req: true }
|
|
1848
|
-
]);
|
|
1849
|
-
let LocalTrackUnpublished = _LocalTrackUnpublished;
|
|
1850
|
-
const _LocalTrackSubscribed = class _LocalTrackSubscribed extends import_protobuf.Message {
|
|
1851
|
-
constructor(data) {
|
|
1852
|
-
super();
|
|
1853
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1854
|
-
}
|
|
1855
|
-
static fromBinary(bytes, options) {
|
|
1856
|
-
return new _LocalTrackSubscribed().fromBinary(bytes, options);
|
|
1857
|
-
}
|
|
1858
|
-
static fromJson(jsonValue, options) {
|
|
1859
|
-
return new _LocalTrackSubscribed().fromJson(jsonValue, options);
|
|
1860
|
-
}
|
|
1861
|
-
static fromJsonString(jsonString, options) {
|
|
1862
|
-
return new _LocalTrackSubscribed().fromJsonString(jsonString, options);
|
|
1863
|
-
}
|
|
1864
|
-
static equals(a, b) {
|
|
1865
|
-
return import_protobuf.proto2.util.equals(_LocalTrackSubscribed, a, b);
|
|
1866
|
-
}
|
|
1867
|
-
};
|
|
1868
|
-
_LocalTrackSubscribed.runtime = import_protobuf.proto2;
|
|
1869
|
-
_LocalTrackSubscribed.typeName = "livekit.proto.LocalTrackSubscribed";
|
|
1870
|
-
_LocalTrackSubscribed.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1871
|
-
{ no: 2, name: "track_sid", kind: "scalar", T: 9, req: true }
|
|
1872
|
-
]);
|
|
1873
|
-
let LocalTrackSubscribed = _LocalTrackSubscribed;
|
|
1874
|
-
const _TrackPublished = class _TrackPublished extends import_protobuf.Message {
|
|
1875
|
-
constructor(data) {
|
|
1876
|
-
super();
|
|
1877
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1878
|
-
}
|
|
1879
|
-
static fromBinary(bytes, options) {
|
|
1880
|
-
return new _TrackPublished().fromBinary(bytes, options);
|
|
1881
|
-
}
|
|
1882
|
-
static fromJson(jsonValue, options) {
|
|
1883
|
-
return new _TrackPublished().fromJson(jsonValue, options);
|
|
1884
|
-
}
|
|
1885
|
-
static fromJsonString(jsonString, options) {
|
|
1886
|
-
return new _TrackPublished().fromJsonString(jsonString, options);
|
|
1887
|
-
}
|
|
1888
|
-
static equals(a, b) {
|
|
1889
|
-
return import_protobuf.proto2.util.equals(_TrackPublished, a, b);
|
|
1890
|
-
}
|
|
1891
|
-
};
|
|
1892
|
-
_TrackPublished.runtime = import_protobuf.proto2;
|
|
1893
|
-
_TrackPublished.typeName = "livekit.proto.TrackPublished";
|
|
1894
|
-
_TrackPublished.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1895
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
1896
|
-
{ no: 2, name: "publication", kind: "message", T: import_track_pb.OwnedTrackPublication, req: true }
|
|
1897
|
-
]);
|
|
1898
|
-
let TrackPublished = _TrackPublished;
|
|
1899
|
-
const _TrackUnpublished = class _TrackUnpublished extends import_protobuf.Message {
|
|
1900
|
-
constructor(data) {
|
|
1901
|
-
super();
|
|
1902
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1903
|
-
}
|
|
1904
|
-
static fromBinary(bytes, options) {
|
|
1905
|
-
return new _TrackUnpublished().fromBinary(bytes, options);
|
|
1906
|
-
}
|
|
1907
|
-
static fromJson(jsonValue, options) {
|
|
1908
|
-
return new _TrackUnpublished().fromJson(jsonValue, options);
|
|
1909
|
-
}
|
|
1910
|
-
static fromJsonString(jsonString, options) {
|
|
1911
|
-
return new _TrackUnpublished().fromJsonString(jsonString, options);
|
|
1912
|
-
}
|
|
1913
|
-
static equals(a, b) {
|
|
1914
|
-
return import_protobuf.proto2.util.equals(_TrackUnpublished, a, b);
|
|
1915
|
-
}
|
|
1916
|
-
};
|
|
1917
|
-
_TrackUnpublished.runtime = import_protobuf.proto2;
|
|
1918
|
-
_TrackUnpublished.typeName = "livekit.proto.TrackUnpublished";
|
|
1919
|
-
_TrackUnpublished.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1920
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
1921
|
-
{ no: 2, name: "publication_sid", kind: "scalar", T: 9, req: true }
|
|
1922
|
-
]);
|
|
1923
|
-
let TrackUnpublished = _TrackUnpublished;
|
|
1924
|
-
const _TrackSubscribed = class _TrackSubscribed extends import_protobuf.Message {
|
|
1925
|
-
constructor(data) {
|
|
1926
|
-
super();
|
|
1927
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1928
|
-
}
|
|
1929
|
-
static fromBinary(bytes, options) {
|
|
1930
|
-
return new _TrackSubscribed().fromBinary(bytes, options);
|
|
1931
|
-
}
|
|
1932
|
-
static fromJson(jsonValue, options) {
|
|
1933
|
-
return new _TrackSubscribed().fromJson(jsonValue, options);
|
|
1934
|
-
}
|
|
1935
|
-
static fromJsonString(jsonString, options) {
|
|
1936
|
-
return new _TrackSubscribed().fromJsonString(jsonString, options);
|
|
1937
|
-
}
|
|
1938
|
-
static equals(a, b) {
|
|
1939
|
-
return import_protobuf.proto2.util.equals(_TrackSubscribed, a, b);
|
|
1940
|
-
}
|
|
1941
|
-
};
|
|
1942
|
-
_TrackSubscribed.runtime = import_protobuf.proto2;
|
|
1943
|
-
_TrackSubscribed.typeName = "livekit.proto.TrackSubscribed";
|
|
1944
|
-
_TrackSubscribed.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1945
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
1946
|
-
{ no: 2, name: "track", kind: "message", T: import_track_pb.OwnedTrack, req: true }
|
|
1947
|
-
]);
|
|
1948
|
-
let TrackSubscribed = _TrackSubscribed;
|
|
1949
|
-
const _TrackUnsubscribed = class _TrackUnsubscribed extends import_protobuf.Message {
|
|
1950
|
-
constructor(data) {
|
|
1951
|
-
super();
|
|
1952
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1953
|
-
}
|
|
1954
|
-
static fromBinary(bytes, options) {
|
|
1955
|
-
return new _TrackUnsubscribed().fromBinary(bytes, options);
|
|
1956
|
-
}
|
|
1957
|
-
static fromJson(jsonValue, options) {
|
|
1958
|
-
return new _TrackUnsubscribed().fromJson(jsonValue, options);
|
|
1959
|
-
}
|
|
1960
|
-
static fromJsonString(jsonString, options) {
|
|
1961
|
-
return new _TrackUnsubscribed().fromJsonString(jsonString, options);
|
|
1962
|
-
}
|
|
1963
|
-
static equals(a, b) {
|
|
1964
|
-
return import_protobuf.proto2.util.equals(_TrackUnsubscribed, a, b);
|
|
1965
|
-
}
|
|
1966
|
-
};
|
|
1967
|
-
_TrackUnsubscribed.runtime = import_protobuf.proto2;
|
|
1968
|
-
_TrackUnsubscribed.typeName = "livekit.proto.TrackUnsubscribed";
|
|
1969
|
-
_TrackUnsubscribed.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1970
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
1971
|
-
{ no: 2, name: "track_sid", kind: "scalar", T: 9, req: true }
|
|
1972
|
-
]);
|
|
1973
|
-
let TrackUnsubscribed = _TrackUnsubscribed;
|
|
1974
|
-
const _TrackSubscriptionFailed = class _TrackSubscriptionFailed extends import_protobuf.Message {
|
|
1975
|
-
constructor(data) {
|
|
1976
|
-
super();
|
|
1977
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1978
|
-
}
|
|
1979
|
-
static fromBinary(bytes, options) {
|
|
1980
|
-
return new _TrackSubscriptionFailed().fromBinary(bytes, options);
|
|
1981
|
-
}
|
|
1982
|
-
static fromJson(jsonValue, options) {
|
|
1983
|
-
return new _TrackSubscriptionFailed().fromJson(jsonValue, options);
|
|
1984
|
-
}
|
|
1985
|
-
static fromJsonString(jsonString, options) {
|
|
1986
|
-
return new _TrackSubscriptionFailed().fromJsonString(jsonString, options);
|
|
1987
|
-
}
|
|
1988
|
-
static equals(a, b) {
|
|
1989
|
-
return import_protobuf.proto2.util.equals(_TrackSubscriptionFailed, a, b);
|
|
1990
|
-
}
|
|
1991
|
-
};
|
|
1992
|
-
_TrackSubscriptionFailed.runtime = import_protobuf.proto2;
|
|
1993
|
-
_TrackSubscriptionFailed.typeName = "livekit.proto.TrackSubscriptionFailed";
|
|
1994
|
-
_TrackSubscriptionFailed.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1995
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
1996
|
-
{ no: 2, name: "track_sid", kind: "scalar", T: 9, req: true },
|
|
1997
|
-
{ no: 3, name: "error", kind: "scalar", T: 9, req: true }
|
|
1998
|
-
]);
|
|
1999
|
-
let TrackSubscriptionFailed = _TrackSubscriptionFailed;
|
|
2000
|
-
const _TrackMuted = class _TrackMuted extends import_protobuf.Message {
|
|
2001
|
-
constructor(data) {
|
|
2002
|
-
super();
|
|
2003
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2004
|
-
}
|
|
2005
|
-
static fromBinary(bytes, options) {
|
|
2006
|
-
return new _TrackMuted().fromBinary(bytes, options);
|
|
2007
|
-
}
|
|
2008
|
-
static fromJson(jsonValue, options) {
|
|
2009
|
-
return new _TrackMuted().fromJson(jsonValue, options);
|
|
2010
|
-
}
|
|
2011
|
-
static fromJsonString(jsonString, options) {
|
|
2012
|
-
return new _TrackMuted().fromJsonString(jsonString, options);
|
|
2013
|
-
}
|
|
2014
|
-
static equals(a, b) {
|
|
2015
|
-
return import_protobuf.proto2.util.equals(_TrackMuted, a, b);
|
|
2016
|
-
}
|
|
2017
|
-
};
|
|
2018
|
-
_TrackMuted.runtime = import_protobuf.proto2;
|
|
2019
|
-
_TrackMuted.typeName = "livekit.proto.TrackMuted";
|
|
2020
|
-
_TrackMuted.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2021
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
2022
|
-
{ no: 2, name: "track_sid", kind: "scalar", T: 9, req: true }
|
|
2023
|
-
]);
|
|
2024
|
-
let TrackMuted = _TrackMuted;
|
|
2025
|
-
const _TrackUnmuted = class _TrackUnmuted extends import_protobuf.Message {
|
|
2026
|
-
constructor(data) {
|
|
2027
|
-
super();
|
|
2028
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2029
|
-
}
|
|
2030
|
-
static fromBinary(bytes, options) {
|
|
2031
|
-
return new _TrackUnmuted().fromBinary(bytes, options);
|
|
2032
|
-
}
|
|
2033
|
-
static fromJson(jsonValue, options) {
|
|
2034
|
-
return new _TrackUnmuted().fromJson(jsonValue, options);
|
|
2035
|
-
}
|
|
2036
|
-
static fromJsonString(jsonString, options) {
|
|
2037
|
-
return new _TrackUnmuted().fromJsonString(jsonString, options);
|
|
2038
|
-
}
|
|
2039
|
-
static equals(a, b) {
|
|
2040
|
-
return import_protobuf.proto2.util.equals(_TrackUnmuted, a, b);
|
|
2041
|
-
}
|
|
2042
|
-
};
|
|
2043
|
-
_TrackUnmuted.runtime = import_protobuf.proto2;
|
|
2044
|
-
_TrackUnmuted.typeName = "livekit.proto.TrackUnmuted";
|
|
2045
|
-
_TrackUnmuted.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2046
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
2047
|
-
{ no: 2, name: "track_sid", kind: "scalar", T: 9, req: true }
|
|
2048
|
-
]);
|
|
2049
|
-
let TrackUnmuted = _TrackUnmuted;
|
|
2050
|
-
const _E2eeStateChanged = class _E2eeStateChanged extends import_protobuf.Message {
|
|
2051
|
-
constructor(data) {
|
|
2052
|
-
super();
|
|
2053
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2054
|
-
}
|
|
2055
|
-
static fromBinary(bytes, options) {
|
|
2056
|
-
return new _E2eeStateChanged().fromBinary(bytes, options);
|
|
2057
|
-
}
|
|
2058
|
-
static fromJson(jsonValue, options) {
|
|
2059
|
-
return new _E2eeStateChanged().fromJson(jsonValue, options);
|
|
2060
|
-
}
|
|
2061
|
-
static fromJsonString(jsonString, options) {
|
|
2062
|
-
return new _E2eeStateChanged().fromJsonString(jsonString, options);
|
|
2063
|
-
}
|
|
2064
|
-
static equals(a, b) {
|
|
2065
|
-
return import_protobuf.proto2.util.equals(_E2eeStateChanged, a, b);
|
|
2066
|
-
}
|
|
2067
|
-
};
|
|
2068
|
-
_E2eeStateChanged.runtime = import_protobuf.proto2;
|
|
2069
|
-
_E2eeStateChanged.typeName = "livekit.proto.E2eeStateChanged";
|
|
2070
|
-
_E2eeStateChanged.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2071
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
2072
|
-
{ no: 2, name: "state", kind: "enum", T: import_protobuf.proto2.getEnumType(import_e2ee_pb.EncryptionState), req: true }
|
|
2073
|
-
]);
|
|
2074
|
-
let E2eeStateChanged = _E2eeStateChanged;
|
|
2075
|
-
const _ActiveSpeakersChanged = class _ActiveSpeakersChanged extends import_protobuf.Message {
|
|
2076
|
-
constructor(data) {
|
|
2077
|
-
super();
|
|
2078
|
-
/**
|
|
2079
|
-
* @generated from field: repeated string participant_identities = 1;
|
|
2080
|
-
*/
|
|
2081
|
-
this.participantIdentities = [];
|
|
2082
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2083
|
-
}
|
|
2084
|
-
static fromBinary(bytes, options) {
|
|
2085
|
-
return new _ActiveSpeakersChanged().fromBinary(bytes, options);
|
|
2086
|
-
}
|
|
2087
|
-
static fromJson(jsonValue, options) {
|
|
2088
|
-
return new _ActiveSpeakersChanged().fromJson(jsonValue, options);
|
|
2089
|
-
}
|
|
2090
|
-
static fromJsonString(jsonString, options) {
|
|
2091
|
-
return new _ActiveSpeakersChanged().fromJsonString(jsonString, options);
|
|
2092
|
-
}
|
|
2093
|
-
static equals(a, b) {
|
|
2094
|
-
return import_protobuf.proto2.util.equals(_ActiveSpeakersChanged, a, b);
|
|
2095
|
-
}
|
|
2096
|
-
};
|
|
2097
|
-
_ActiveSpeakersChanged.runtime = import_protobuf.proto2;
|
|
2098
|
-
_ActiveSpeakersChanged.typeName = "livekit.proto.ActiveSpeakersChanged";
|
|
2099
|
-
_ActiveSpeakersChanged.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2100
|
-
{ no: 1, name: "participant_identities", kind: "scalar", T: 9, repeated: true }
|
|
2101
|
-
]);
|
|
2102
|
-
let ActiveSpeakersChanged = _ActiveSpeakersChanged;
|
|
2103
|
-
const _RoomMetadataChanged = class _RoomMetadataChanged extends import_protobuf.Message {
|
|
2104
|
-
constructor(data) {
|
|
2105
|
-
super();
|
|
2106
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2107
|
-
}
|
|
2108
|
-
static fromBinary(bytes, options) {
|
|
2109
|
-
return new _RoomMetadataChanged().fromBinary(bytes, options);
|
|
2110
|
-
}
|
|
2111
|
-
static fromJson(jsonValue, options) {
|
|
2112
|
-
return new _RoomMetadataChanged().fromJson(jsonValue, options);
|
|
2113
|
-
}
|
|
2114
|
-
static fromJsonString(jsonString, options) {
|
|
2115
|
-
return new _RoomMetadataChanged().fromJsonString(jsonString, options);
|
|
2116
|
-
}
|
|
2117
|
-
static equals(a, b) {
|
|
2118
|
-
return import_protobuf.proto2.util.equals(_RoomMetadataChanged, a, b);
|
|
2119
|
-
}
|
|
2120
|
-
};
|
|
2121
|
-
_RoomMetadataChanged.runtime = import_protobuf.proto2;
|
|
2122
|
-
_RoomMetadataChanged.typeName = "livekit.proto.RoomMetadataChanged";
|
|
2123
|
-
_RoomMetadataChanged.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2124
|
-
{ no: 1, name: "metadata", kind: "scalar", T: 9, req: true }
|
|
2125
|
-
]);
|
|
2126
|
-
let RoomMetadataChanged = _RoomMetadataChanged;
|
|
2127
|
-
const _RoomSidChanged = class _RoomSidChanged extends import_protobuf.Message {
|
|
2128
|
-
constructor(data) {
|
|
2129
|
-
super();
|
|
2130
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2131
|
-
}
|
|
2132
|
-
static fromBinary(bytes, options) {
|
|
2133
|
-
return new _RoomSidChanged().fromBinary(bytes, options);
|
|
2134
|
-
}
|
|
2135
|
-
static fromJson(jsonValue, options) {
|
|
2136
|
-
return new _RoomSidChanged().fromJson(jsonValue, options);
|
|
2137
|
-
}
|
|
2138
|
-
static fromJsonString(jsonString, options) {
|
|
2139
|
-
return new _RoomSidChanged().fromJsonString(jsonString, options);
|
|
2140
|
-
}
|
|
2141
|
-
static equals(a, b) {
|
|
2142
|
-
return import_protobuf.proto2.util.equals(_RoomSidChanged, a, b);
|
|
2143
|
-
}
|
|
2144
|
-
};
|
|
2145
|
-
_RoomSidChanged.runtime = import_protobuf.proto2;
|
|
2146
|
-
_RoomSidChanged.typeName = "livekit.proto.RoomSidChanged";
|
|
2147
|
-
_RoomSidChanged.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2148
|
-
{ no: 1, name: "sid", kind: "scalar", T: 9, req: true }
|
|
2149
|
-
]);
|
|
2150
|
-
let RoomSidChanged = _RoomSidChanged;
|
|
2151
|
-
const _ParticipantMetadataChanged = class _ParticipantMetadataChanged extends import_protobuf.Message {
|
|
2152
|
-
constructor(data) {
|
|
2153
|
-
super();
|
|
2154
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2155
|
-
}
|
|
2156
|
-
static fromBinary(bytes, options) {
|
|
2157
|
-
return new _ParticipantMetadataChanged().fromBinary(bytes, options);
|
|
2158
|
-
}
|
|
2159
|
-
static fromJson(jsonValue, options) {
|
|
2160
|
-
return new _ParticipantMetadataChanged().fromJson(jsonValue, options);
|
|
2161
|
-
}
|
|
2162
|
-
static fromJsonString(jsonString, options) {
|
|
2163
|
-
return new _ParticipantMetadataChanged().fromJsonString(jsonString, options);
|
|
2164
|
-
}
|
|
2165
|
-
static equals(a, b) {
|
|
2166
|
-
return import_protobuf.proto2.util.equals(_ParticipantMetadataChanged, a, b);
|
|
2167
|
-
}
|
|
2168
|
-
};
|
|
2169
|
-
_ParticipantMetadataChanged.runtime = import_protobuf.proto2;
|
|
2170
|
-
_ParticipantMetadataChanged.typeName = "livekit.proto.ParticipantMetadataChanged";
|
|
2171
|
-
_ParticipantMetadataChanged.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2172
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
2173
|
-
{ no: 2, name: "metadata", kind: "scalar", T: 9, req: true }
|
|
2174
|
-
]);
|
|
2175
|
-
let ParticipantMetadataChanged = _ParticipantMetadataChanged;
|
|
2176
|
-
const _ParticipantAttributesChanged = class _ParticipantAttributesChanged extends import_protobuf.Message {
|
|
2177
|
-
constructor(data) {
|
|
2178
|
-
super();
|
|
2179
|
-
/**
|
|
2180
|
-
* @generated from field: repeated livekit.proto.AttributesEntry attributes = 2;
|
|
2181
|
-
*/
|
|
2182
|
-
this.attributes = [];
|
|
2183
|
-
/**
|
|
2184
|
-
* @generated from field: repeated livekit.proto.AttributesEntry changed_attributes = 3;
|
|
2185
|
-
*/
|
|
2186
|
-
this.changedAttributes = [];
|
|
2187
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2188
|
-
}
|
|
2189
|
-
static fromBinary(bytes, options) {
|
|
2190
|
-
return new _ParticipantAttributesChanged().fromBinary(bytes, options);
|
|
2191
|
-
}
|
|
2192
|
-
static fromJson(jsonValue, options) {
|
|
2193
|
-
return new _ParticipantAttributesChanged().fromJson(jsonValue, options);
|
|
2194
|
-
}
|
|
2195
|
-
static fromJsonString(jsonString, options) {
|
|
2196
|
-
return new _ParticipantAttributesChanged().fromJsonString(jsonString, options);
|
|
2197
|
-
}
|
|
2198
|
-
static equals(a, b) {
|
|
2199
|
-
return import_protobuf.proto2.util.equals(_ParticipantAttributesChanged, a, b);
|
|
2200
|
-
}
|
|
2201
|
-
};
|
|
2202
|
-
_ParticipantAttributesChanged.runtime = import_protobuf.proto2;
|
|
2203
|
-
_ParticipantAttributesChanged.typeName = "livekit.proto.ParticipantAttributesChanged";
|
|
2204
|
-
_ParticipantAttributesChanged.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2205
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
2206
|
-
{ no: 2, name: "attributes", kind: "message", T: AttributesEntry, repeated: true },
|
|
2207
|
-
{ no: 3, name: "changed_attributes", kind: "message", T: AttributesEntry, repeated: true }
|
|
2208
|
-
]);
|
|
2209
|
-
let ParticipantAttributesChanged = _ParticipantAttributesChanged;
|
|
2210
|
-
const _ParticipantEncryptionStatusChanged = class _ParticipantEncryptionStatusChanged extends import_protobuf.Message {
|
|
2211
|
-
constructor(data) {
|
|
2212
|
-
super();
|
|
2213
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2214
|
-
}
|
|
2215
|
-
static fromBinary(bytes, options) {
|
|
2216
|
-
return new _ParticipantEncryptionStatusChanged().fromBinary(bytes, options);
|
|
2217
|
-
}
|
|
2218
|
-
static fromJson(jsonValue, options) {
|
|
2219
|
-
return new _ParticipantEncryptionStatusChanged().fromJson(jsonValue, options);
|
|
2220
|
-
}
|
|
2221
|
-
static fromJsonString(jsonString, options) {
|
|
2222
|
-
return new _ParticipantEncryptionStatusChanged().fromJsonString(jsonString, options);
|
|
2223
|
-
}
|
|
2224
|
-
static equals(a, b) {
|
|
2225
|
-
return import_protobuf.proto2.util.equals(_ParticipantEncryptionStatusChanged, a, b);
|
|
2226
|
-
}
|
|
2227
|
-
};
|
|
2228
|
-
_ParticipantEncryptionStatusChanged.runtime = import_protobuf.proto2;
|
|
2229
|
-
_ParticipantEncryptionStatusChanged.typeName = "livekit.proto.ParticipantEncryptionStatusChanged";
|
|
2230
|
-
_ParticipantEncryptionStatusChanged.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2231
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
2232
|
-
{ no: 2, name: "is_encrypted", kind: "scalar", T: 8, req: true }
|
|
2233
|
-
]);
|
|
2234
|
-
let ParticipantEncryptionStatusChanged = _ParticipantEncryptionStatusChanged;
|
|
2235
|
-
const _ParticipantNameChanged = class _ParticipantNameChanged extends import_protobuf.Message {
|
|
2236
|
-
constructor(data) {
|
|
2237
|
-
super();
|
|
2238
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2239
|
-
}
|
|
2240
|
-
static fromBinary(bytes, options) {
|
|
2241
|
-
return new _ParticipantNameChanged().fromBinary(bytes, options);
|
|
2242
|
-
}
|
|
2243
|
-
static fromJson(jsonValue, options) {
|
|
2244
|
-
return new _ParticipantNameChanged().fromJson(jsonValue, options);
|
|
2245
|
-
}
|
|
2246
|
-
static fromJsonString(jsonString, options) {
|
|
2247
|
-
return new _ParticipantNameChanged().fromJsonString(jsonString, options);
|
|
2248
|
-
}
|
|
2249
|
-
static equals(a, b) {
|
|
2250
|
-
return import_protobuf.proto2.util.equals(_ParticipantNameChanged, a, b);
|
|
2251
|
-
}
|
|
2252
|
-
};
|
|
2253
|
-
_ParticipantNameChanged.runtime = import_protobuf.proto2;
|
|
2254
|
-
_ParticipantNameChanged.typeName = "livekit.proto.ParticipantNameChanged";
|
|
2255
|
-
_ParticipantNameChanged.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2256
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
2257
|
-
{ no: 2, name: "name", kind: "scalar", T: 9, req: true }
|
|
2258
|
-
]);
|
|
2259
|
-
let ParticipantNameChanged = _ParticipantNameChanged;
|
|
2260
|
-
const _ConnectionQualityChanged = class _ConnectionQualityChanged extends import_protobuf.Message {
|
|
2261
|
-
constructor(data) {
|
|
2262
|
-
super();
|
|
2263
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2264
|
-
}
|
|
2265
|
-
static fromBinary(bytes, options) {
|
|
2266
|
-
return new _ConnectionQualityChanged().fromBinary(bytes, options);
|
|
2267
|
-
}
|
|
2268
|
-
static fromJson(jsonValue, options) {
|
|
2269
|
-
return new _ConnectionQualityChanged().fromJson(jsonValue, options);
|
|
2270
|
-
}
|
|
2271
|
-
static fromJsonString(jsonString, options) {
|
|
2272
|
-
return new _ConnectionQualityChanged().fromJsonString(jsonString, options);
|
|
2273
|
-
}
|
|
2274
|
-
static equals(a, b) {
|
|
2275
|
-
return import_protobuf.proto2.util.equals(_ConnectionQualityChanged, a, b);
|
|
2276
|
-
}
|
|
2277
|
-
};
|
|
2278
|
-
_ConnectionQualityChanged.runtime = import_protobuf.proto2;
|
|
2279
|
-
_ConnectionQualityChanged.typeName = "livekit.proto.ConnectionQualityChanged";
|
|
2280
|
-
_ConnectionQualityChanged.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2281
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
2282
|
-
{ no: 2, name: "quality", kind: "enum", T: import_protobuf.proto2.getEnumType(ConnectionQuality), req: true }
|
|
2283
|
-
]);
|
|
2284
|
-
let ConnectionQualityChanged = _ConnectionQualityChanged;
|
|
2285
|
-
const _UserPacket = class _UserPacket extends import_protobuf.Message {
|
|
2286
|
-
constructor(data) {
|
|
2287
|
-
super();
|
|
2288
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2289
|
-
}
|
|
2290
|
-
static fromBinary(bytes, options) {
|
|
2291
|
-
return new _UserPacket().fromBinary(bytes, options);
|
|
2292
|
-
}
|
|
2293
|
-
static fromJson(jsonValue, options) {
|
|
2294
|
-
return new _UserPacket().fromJson(jsonValue, options);
|
|
2295
|
-
}
|
|
2296
|
-
static fromJsonString(jsonString, options) {
|
|
2297
|
-
return new _UserPacket().fromJsonString(jsonString, options);
|
|
2298
|
-
}
|
|
2299
|
-
static equals(a, b) {
|
|
2300
|
-
return import_protobuf.proto2.util.equals(_UserPacket, a, b);
|
|
2301
|
-
}
|
|
2302
|
-
};
|
|
2303
|
-
_UserPacket.runtime = import_protobuf.proto2;
|
|
2304
|
-
_UserPacket.typeName = "livekit.proto.UserPacket";
|
|
2305
|
-
_UserPacket.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2306
|
-
{ no: 1, name: "data", kind: "message", T: OwnedBuffer, req: true },
|
|
2307
|
-
{ no: 2, name: "topic", kind: "scalar", T: 9, opt: true }
|
|
2308
|
-
]);
|
|
2309
|
-
let UserPacket = _UserPacket;
|
|
2310
|
-
const _ChatMessage = class _ChatMessage extends import_protobuf.Message {
|
|
2311
|
-
constructor(data) {
|
|
2312
|
-
super();
|
|
2313
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2314
|
-
}
|
|
2315
|
-
static fromBinary(bytes, options) {
|
|
2316
|
-
return new _ChatMessage().fromBinary(bytes, options);
|
|
2317
|
-
}
|
|
2318
|
-
static fromJson(jsonValue, options) {
|
|
2319
|
-
return new _ChatMessage().fromJson(jsonValue, options);
|
|
2320
|
-
}
|
|
2321
|
-
static fromJsonString(jsonString, options) {
|
|
2322
|
-
return new _ChatMessage().fromJsonString(jsonString, options);
|
|
2323
|
-
}
|
|
2324
|
-
static equals(a, b) {
|
|
2325
|
-
return import_protobuf.proto2.util.equals(_ChatMessage, a, b);
|
|
2326
|
-
}
|
|
2327
|
-
};
|
|
2328
|
-
_ChatMessage.runtime = import_protobuf.proto2;
|
|
2329
|
-
_ChatMessage.typeName = "livekit.proto.ChatMessage";
|
|
2330
|
-
_ChatMessage.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2331
|
-
{ no: 1, name: "id", kind: "scalar", T: 9, req: true },
|
|
2332
|
-
{ no: 2, name: "timestamp", kind: "scalar", T: 3, req: true },
|
|
2333
|
-
{ no: 3, name: "message", kind: "scalar", T: 9, req: true },
|
|
2334
|
-
{ no: 4, name: "edit_timestamp", kind: "scalar", T: 3, opt: true },
|
|
2335
|
-
{ no: 5, name: "deleted", kind: "scalar", T: 8, opt: true },
|
|
2336
|
-
{ no: 6, name: "generated", kind: "scalar", T: 8, opt: true }
|
|
2337
|
-
]);
|
|
2338
|
-
let ChatMessage = _ChatMessage;
|
|
2339
|
-
const _ChatMessageReceived = class _ChatMessageReceived extends import_protobuf.Message {
|
|
2340
|
-
constructor(data) {
|
|
2341
|
-
super();
|
|
2342
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2343
|
-
}
|
|
2344
|
-
static fromBinary(bytes, options) {
|
|
2345
|
-
return new _ChatMessageReceived().fromBinary(bytes, options);
|
|
2346
|
-
}
|
|
2347
|
-
static fromJson(jsonValue, options) {
|
|
2348
|
-
return new _ChatMessageReceived().fromJson(jsonValue, options);
|
|
2349
|
-
}
|
|
2350
|
-
static fromJsonString(jsonString, options) {
|
|
2351
|
-
return new _ChatMessageReceived().fromJsonString(jsonString, options);
|
|
2352
|
-
}
|
|
2353
|
-
static equals(a, b) {
|
|
2354
|
-
return import_protobuf.proto2.util.equals(_ChatMessageReceived, a, b);
|
|
2355
|
-
}
|
|
2356
|
-
};
|
|
2357
|
-
_ChatMessageReceived.runtime = import_protobuf.proto2;
|
|
2358
|
-
_ChatMessageReceived.typeName = "livekit.proto.ChatMessageReceived";
|
|
2359
|
-
_ChatMessageReceived.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2360
|
-
{ no: 1, name: "message", kind: "message", T: ChatMessage, req: true },
|
|
2361
|
-
{ no: 2, name: "participant_identity", kind: "scalar", T: 9, req: true }
|
|
2362
|
-
]);
|
|
2363
|
-
let ChatMessageReceived = _ChatMessageReceived;
|
|
2364
|
-
const _SipDTMF = class _SipDTMF extends import_protobuf.Message {
|
|
2365
|
-
constructor(data) {
|
|
2366
|
-
super();
|
|
2367
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2368
|
-
}
|
|
2369
|
-
static fromBinary(bytes, options) {
|
|
2370
|
-
return new _SipDTMF().fromBinary(bytes, options);
|
|
2371
|
-
}
|
|
2372
|
-
static fromJson(jsonValue, options) {
|
|
2373
|
-
return new _SipDTMF().fromJson(jsonValue, options);
|
|
2374
|
-
}
|
|
2375
|
-
static fromJsonString(jsonString, options) {
|
|
2376
|
-
return new _SipDTMF().fromJsonString(jsonString, options);
|
|
2377
|
-
}
|
|
2378
|
-
static equals(a, b) {
|
|
2379
|
-
return import_protobuf.proto2.util.equals(_SipDTMF, a, b);
|
|
2380
|
-
}
|
|
2381
|
-
};
|
|
2382
|
-
_SipDTMF.runtime = import_protobuf.proto2;
|
|
2383
|
-
_SipDTMF.typeName = "livekit.proto.SipDTMF";
|
|
2384
|
-
_SipDTMF.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2385
|
-
{ no: 1, name: "code", kind: "scalar", T: 13, req: true },
|
|
2386
|
-
{ no: 2, name: "digit", kind: "scalar", T: 9, opt: true }
|
|
2387
|
-
]);
|
|
2388
|
-
let SipDTMF = _SipDTMF;
|
|
2389
|
-
const _DataPacketReceived = class _DataPacketReceived extends import_protobuf.Message {
|
|
2390
|
-
constructor(data) {
|
|
2391
|
-
super();
|
|
2392
|
-
/**
|
|
2393
|
-
* @generated from oneof livekit.proto.DataPacketReceived.value
|
|
2394
|
-
*/
|
|
2395
|
-
this.value = { case: void 0 };
|
|
2396
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2397
|
-
}
|
|
2398
|
-
static fromBinary(bytes, options) {
|
|
2399
|
-
return new _DataPacketReceived().fromBinary(bytes, options);
|
|
2400
|
-
}
|
|
2401
|
-
static fromJson(jsonValue, options) {
|
|
2402
|
-
return new _DataPacketReceived().fromJson(jsonValue, options);
|
|
2403
|
-
}
|
|
2404
|
-
static fromJsonString(jsonString, options) {
|
|
2405
|
-
return new _DataPacketReceived().fromJsonString(jsonString, options);
|
|
2406
|
-
}
|
|
2407
|
-
static equals(a, b) {
|
|
2408
|
-
return import_protobuf.proto2.util.equals(_DataPacketReceived, a, b);
|
|
2409
|
-
}
|
|
2410
|
-
};
|
|
2411
|
-
_DataPacketReceived.runtime = import_protobuf.proto2;
|
|
2412
|
-
_DataPacketReceived.typeName = "livekit.proto.DataPacketReceived";
|
|
2413
|
-
_DataPacketReceived.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2414
|
-
{ no: 1, name: "kind", kind: "enum", T: import_protobuf.proto2.getEnumType(DataPacketKind), req: true },
|
|
2415
|
-
{ no: 2, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
2416
|
-
{ no: 4, name: "user", kind: "message", T: UserPacket, oneof: "value" },
|
|
2417
|
-
{ no: 5, name: "sip_dtmf", kind: "message", T: SipDTMF, oneof: "value" }
|
|
2418
|
-
]);
|
|
2419
|
-
let DataPacketReceived = _DataPacketReceived;
|
|
2420
|
-
const _TranscriptionReceived = class _TranscriptionReceived extends import_protobuf.Message {
|
|
2421
|
-
constructor(data) {
|
|
2422
|
-
super();
|
|
2423
|
-
/**
|
|
2424
|
-
* @generated from field: repeated livekit.proto.TranscriptionSegment segments = 3;
|
|
2425
|
-
*/
|
|
2426
|
-
this.segments = [];
|
|
2427
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2428
|
-
}
|
|
2429
|
-
static fromBinary(bytes, options) {
|
|
2430
|
-
return new _TranscriptionReceived().fromBinary(bytes, options);
|
|
2431
|
-
}
|
|
2432
|
-
static fromJson(jsonValue, options) {
|
|
2433
|
-
return new _TranscriptionReceived().fromJson(jsonValue, options);
|
|
2434
|
-
}
|
|
2435
|
-
static fromJsonString(jsonString, options) {
|
|
2436
|
-
return new _TranscriptionReceived().fromJsonString(jsonString, options);
|
|
2437
|
-
}
|
|
2438
|
-
static equals(a, b) {
|
|
2439
|
-
return import_protobuf.proto2.util.equals(_TranscriptionReceived, a, b);
|
|
2440
|
-
}
|
|
2441
|
-
};
|
|
2442
|
-
_TranscriptionReceived.runtime = import_protobuf.proto2;
|
|
2443
|
-
_TranscriptionReceived.typeName = "livekit.proto.TranscriptionReceived";
|
|
2444
|
-
_TranscriptionReceived.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2445
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, opt: true },
|
|
2446
|
-
{ no: 2, name: "track_sid", kind: "scalar", T: 9, opt: true },
|
|
2447
|
-
{ no: 3, name: "segments", kind: "message", T: TranscriptionSegment, repeated: true }
|
|
2448
|
-
]);
|
|
2449
|
-
let TranscriptionReceived = _TranscriptionReceived;
|
|
2450
|
-
const _ConnectionStateChanged = class _ConnectionStateChanged extends import_protobuf.Message {
|
|
2451
|
-
constructor(data) {
|
|
2452
|
-
super();
|
|
2453
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2454
|
-
}
|
|
2455
|
-
static fromBinary(bytes, options) {
|
|
2456
|
-
return new _ConnectionStateChanged().fromBinary(bytes, options);
|
|
2457
|
-
}
|
|
2458
|
-
static fromJson(jsonValue, options) {
|
|
2459
|
-
return new _ConnectionStateChanged().fromJson(jsonValue, options);
|
|
2460
|
-
}
|
|
2461
|
-
static fromJsonString(jsonString, options) {
|
|
2462
|
-
return new _ConnectionStateChanged().fromJsonString(jsonString, options);
|
|
2463
|
-
}
|
|
2464
|
-
static equals(a, b) {
|
|
2465
|
-
return import_protobuf.proto2.util.equals(_ConnectionStateChanged, a, b);
|
|
2466
|
-
}
|
|
2467
|
-
};
|
|
2468
|
-
_ConnectionStateChanged.runtime = import_protobuf.proto2;
|
|
2469
|
-
_ConnectionStateChanged.typeName = "livekit.proto.ConnectionStateChanged";
|
|
2470
|
-
_ConnectionStateChanged.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2471
|
-
{ no: 1, name: "state", kind: "enum", T: import_protobuf.proto2.getEnumType(ConnectionState), req: true }
|
|
2472
|
-
]);
|
|
2473
|
-
let ConnectionStateChanged = _ConnectionStateChanged;
|
|
2474
|
-
const _Connected = class _Connected extends import_protobuf.Message {
|
|
2475
|
-
constructor(data) {
|
|
2476
|
-
super();
|
|
2477
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2478
|
-
}
|
|
2479
|
-
static fromBinary(bytes, options) {
|
|
2480
|
-
return new _Connected().fromBinary(bytes, options);
|
|
2481
|
-
}
|
|
2482
|
-
static fromJson(jsonValue, options) {
|
|
2483
|
-
return new _Connected().fromJson(jsonValue, options);
|
|
2484
|
-
}
|
|
2485
|
-
static fromJsonString(jsonString, options) {
|
|
2486
|
-
return new _Connected().fromJsonString(jsonString, options);
|
|
2487
|
-
}
|
|
2488
|
-
static equals(a, b) {
|
|
2489
|
-
return import_protobuf.proto2.util.equals(_Connected, a, b);
|
|
2490
|
-
}
|
|
2491
|
-
};
|
|
2492
|
-
_Connected.runtime = import_protobuf.proto2;
|
|
2493
|
-
_Connected.typeName = "livekit.proto.Connected";
|
|
2494
|
-
_Connected.fields = import_protobuf.proto2.util.newFieldList(() => []);
|
|
2495
|
-
let Connected = _Connected;
|
|
2496
|
-
const _Disconnected = class _Disconnected extends import_protobuf.Message {
|
|
2497
|
-
constructor(data) {
|
|
2498
|
-
super();
|
|
2499
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2500
|
-
}
|
|
2501
|
-
static fromBinary(bytes, options) {
|
|
2502
|
-
return new _Disconnected().fromBinary(bytes, options);
|
|
2503
|
-
}
|
|
2504
|
-
static fromJson(jsonValue, options) {
|
|
2505
|
-
return new _Disconnected().fromJson(jsonValue, options);
|
|
2506
|
-
}
|
|
2507
|
-
static fromJsonString(jsonString, options) {
|
|
2508
|
-
return new _Disconnected().fromJsonString(jsonString, options);
|
|
2509
|
-
}
|
|
2510
|
-
static equals(a, b) {
|
|
2511
|
-
return import_protobuf.proto2.util.equals(_Disconnected, a, b);
|
|
2512
|
-
}
|
|
2513
|
-
};
|
|
2514
|
-
_Disconnected.runtime = import_protobuf.proto2;
|
|
2515
|
-
_Disconnected.typeName = "livekit.proto.Disconnected";
|
|
2516
|
-
_Disconnected.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2517
|
-
{ no: 1, name: "reason", kind: "enum", T: import_protobuf.proto2.getEnumType(import_participant_pb.DisconnectReason), req: true }
|
|
2518
|
-
]);
|
|
2519
|
-
let Disconnected = _Disconnected;
|
|
2520
|
-
const _Reconnecting = class _Reconnecting extends import_protobuf.Message {
|
|
2521
|
-
constructor(data) {
|
|
2522
|
-
super();
|
|
2523
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2524
|
-
}
|
|
2525
|
-
static fromBinary(bytes, options) {
|
|
2526
|
-
return new _Reconnecting().fromBinary(bytes, options);
|
|
2527
|
-
}
|
|
2528
|
-
static fromJson(jsonValue, options) {
|
|
2529
|
-
return new _Reconnecting().fromJson(jsonValue, options);
|
|
2530
|
-
}
|
|
2531
|
-
static fromJsonString(jsonString, options) {
|
|
2532
|
-
return new _Reconnecting().fromJsonString(jsonString, options);
|
|
2533
|
-
}
|
|
2534
|
-
static equals(a, b) {
|
|
2535
|
-
return import_protobuf.proto2.util.equals(_Reconnecting, a, b);
|
|
2536
|
-
}
|
|
2537
|
-
};
|
|
2538
|
-
_Reconnecting.runtime = import_protobuf.proto2;
|
|
2539
|
-
_Reconnecting.typeName = "livekit.proto.Reconnecting";
|
|
2540
|
-
_Reconnecting.fields = import_protobuf.proto2.util.newFieldList(() => []);
|
|
2541
|
-
let Reconnecting = _Reconnecting;
|
|
2542
|
-
const _Reconnected = class _Reconnected extends import_protobuf.Message {
|
|
2543
|
-
constructor(data) {
|
|
2544
|
-
super();
|
|
2545
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2546
|
-
}
|
|
2547
|
-
static fromBinary(bytes, options) {
|
|
2548
|
-
return new _Reconnected().fromBinary(bytes, options);
|
|
2549
|
-
}
|
|
2550
|
-
static fromJson(jsonValue, options) {
|
|
2551
|
-
return new _Reconnected().fromJson(jsonValue, options);
|
|
2552
|
-
}
|
|
2553
|
-
static fromJsonString(jsonString, options) {
|
|
2554
|
-
return new _Reconnected().fromJsonString(jsonString, options);
|
|
2555
|
-
}
|
|
2556
|
-
static equals(a, b) {
|
|
2557
|
-
return import_protobuf.proto2.util.equals(_Reconnected, a, b);
|
|
2558
|
-
}
|
|
2559
|
-
};
|
|
2560
|
-
_Reconnected.runtime = import_protobuf.proto2;
|
|
2561
|
-
_Reconnected.typeName = "livekit.proto.Reconnected";
|
|
2562
|
-
_Reconnected.fields = import_protobuf.proto2.util.newFieldList(() => []);
|
|
2563
|
-
let Reconnected = _Reconnected;
|
|
2564
|
-
const _TokenRefreshed = class _TokenRefreshed extends import_protobuf.Message {
|
|
2565
|
-
constructor(data) {
|
|
2566
|
-
super();
|
|
2567
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2568
|
-
}
|
|
2569
|
-
static fromBinary(bytes, options) {
|
|
2570
|
-
return new _TokenRefreshed().fromBinary(bytes, options);
|
|
2571
|
-
}
|
|
2572
|
-
static fromJson(jsonValue, options) {
|
|
2573
|
-
return new _TokenRefreshed().fromJson(jsonValue, options);
|
|
2574
|
-
}
|
|
2575
|
-
static fromJsonString(jsonString, options) {
|
|
2576
|
-
return new _TokenRefreshed().fromJsonString(jsonString, options);
|
|
2577
|
-
}
|
|
2578
|
-
static equals(a, b) {
|
|
2579
|
-
return import_protobuf.proto2.util.equals(_TokenRefreshed, a, b);
|
|
2580
|
-
}
|
|
2581
|
-
};
|
|
2582
|
-
_TokenRefreshed.runtime = import_protobuf.proto2;
|
|
2583
|
-
_TokenRefreshed.typeName = "livekit.proto.TokenRefreshed";
|
|
2584
|
-
_TokenRefreshed.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2585
|
-
{ no: 1, name: "token", kind: "scalar", T: 9, req: true }
|
|
2586
|
-
]);
|
|
2587
|
-
let TokenRefreshed = _TokenRefreshed;
|
|
2588
|
-
const _RoomEOS = class _RoomEOS extends import_protobuf.Message {
|
|
2589
|
-
constructor(data) {
|
|
2590
|
-
super();
|
|
2591
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2592
|
-
}
|
|
2593
|
-
static fromBinary(bytes, options) {
|
|
2594
|
-
return new _RoomEOS().fromBinary(bytes, options);
|
|
2595
|
-
}
|
|
2596
|
-
static fromJson(jsonValue, options) {
|
|
2597
|
-
return new _RoomEOS().fromJson(jsonValue, options);
|
|
2598
|
-
}
|
|
2599
|
-
static fromJsonString(jsonString, options) {
|
|
2600
|
-
return new _RoomEOS().fromJsonString(jsonString, options);
|
|
2601
|
-
}
|
|
2602
|
-
static equals(a, b) {
|
|
2603
|
-
return import_protobuf.proto2.util.equals(_RoomEOS, a, b);
|
|
2604
|
-
}
|
|
2605
|
-
};
|
|
2606
|
-
_RoomEOS.runtime = import_protobuf.proto2;
|
|
2607
|
-
_RoomEOS.typeName = "livekit.proto.RoomEOS";
|
|
2608
|
-
_RoomEOS.fields = import_protobuf.proto2.util.newFieldList(() => []);
|
|
2609
|
-
let RoomEOS = _RoomEOS;
|
|
2610
|
-
const _DataStream = class _DataStream extends import_protobuf.Message {
|
|
2611
|
-
constructor(data) {
|
|
2612
|
-
super();
|
|
2613
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2614
|
-
}
|
|
2615
|
-
static fromBinary(bytes, options) {
|
|
2616
|
-
return new _DataStream().fromBinary(bytes, options);
|
|
2617
|
-
}
|
|
2618
|
-
static fromJson(jsonValue, options) {
|
|
2619
|
-
return new _DataStream().fromJson(jsonValue, options);
|
|
2620
|
-
}
|
|
2621
|
-
static fromJsonString(jsonString, options) {
|
|
2622
|
-
return new _DataStream().fromJsonString(jsonString, options);
|
|
2623
|
-
}
|
|
2624
|
-
static equals(a, b) {
|
|
2625
|
-
return import_protobuf.proto2.util.equals(_DataStream, a, b);
|
|
2626
|
-
}
|
|
2627
|
-
};
|
|
2628
|
-
_DataStream.runtime = import_protobuf.proto2;
|
|
2629
|
-
_DataStream.typeName = "livekit.proto.DataStream";
|
|
2630
|
-
_DataStream.fields = import_protobuf.proto2.util.newFieldList(() => []);
|
|
2631
|
-
let DataStream = _DataStream;
|
|
2632
|
-
var DataStream_OperationType = /* @__PURE__ */ ((DataStream_OperationType2) => {
|
|
2633
|
-
DataStream_OperationType2[DataStream_OperationType2["CREATE"] = 0] = "CREATE";
|
|
2634
|
-
DataStream_OperationType2[DataStream_OperationType2["UPDATE"] = 1] = "UPDATE";
|
|
2635
|
-
DataStream_OperationType2[DataStream_OperationType2["DELETE"] = 2] = "DELETE";
|
|
2636
|
-
DataStream_OperationType2[DataStream_OperationType2["REACTION"] = 3] = "REACTION";
|
|
2637
|
-
return DataStream_OperationType2;
|
|
2638
|
-
})(DataStream_OperationType || {});
|
|
2639
|
-
import_protobuf.proto2.util.setEnumType(DataStream_OperationType, "livekit.proto.DataStream.OperationType", [
|
|
2640
|
-
{ no: 0, name: "CREATE" },
|
|
2641
|
-
{ no: 1, name: "UPDATE" },
|
|
2642
|
-
{ no: 2, name: "DELETE" },
|
|
2643
|
-
{ no: 3, name: "REACTION" }
|
|
2644
|
-
]);
|
|
2645
|
-
const _DataStream_TextHeader = class _DataStream_TextHeader extends import_protobuf.Message {
|
|
2646
|
-
constructor(data) {
|
|
2647
|
-
super();
|
|
2648
|
-
/**
|
|
2649
|
-
* file attachments for text streams
|
|
2650
|
-
*
|
|
2651
|
-
* @generated from field: repeated string attached_stream_ids = 4;
|
|
2652
|
-
*/
|
|
2653
|
-
this.attachedStreamIds = [];
|
|
2654
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2655
|
-
}
|
|
2656
|
-
static fromBinary(bytes, options) {
|
|
2657
|
-
return new _DataStream_TextHeader().fromBinary(bytes, options);
|
|
2658
|
-
}
|
|
2659
|
-
static fromJson(jsonValue, options) {
|
|
2660
|
-
return new _DataStream_TextHeader().fromJson(jsonValue, options);
|
|
2661
|
-
}
|
|
2662
|
-
static fromJsonString(jsonString, options) {
|
|
2663
|
-
return new _DataStream_TextHeader().fromJsonString(jsonString, options);
|
|
2664
|
-
}
|
|
2665
|
-
static equals(a, b) {
|
|
2666
|
-
return import_protobuf.proto2.util.equals(_DataStream_TextHeader, a, b);
|
|
2667
|
-
}
|
|
2668
|
-
};
|
|
2669
|
-
_DataStream_TextHeader.runtime = import_protobuf.proto2;
|
|
2670
|
-
_DataStream_TextHeader.typeName = "livekit.proto.DataStream.TextHeader";
|
|
2671
|
-
_DataStream_TextHeader.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2672
|
-
{ no: 1, name: "operation_type", kind: "enum", T: import_protobuf.proto2.getEnumType(DataStream_OperationType), req: true },
|
|
2673
|
-
{ no: 2, name: "version", kind: "scalar", T: 5, opt: true },
|
|
2674
|
-
{ no: 3, name: "reply_to_stream_id", kind: "scalar", T: 9, opt: true },
|
|
2675
|
-
{ no: 4, name: "attached_stream_ids", kind: "scalar", T: 9, repeated: true },
|
|
2676
|
-
{ no: 5, name: "generated", kind: "scalar", T: 8, opt: true }
|
|
2677
|
-
]);
|
|
2678
|
-
let DataStream_TextHeader = _DataStream_TextHeader;
|
|
2679
|
-
const _DataStream_ByteHeader = class _DataStream_ByteHeader extends import_protobuf.Message {
|
|
2680
|
-
constructor(data) {
|
|
2681
|
-
super();
|
|
2682
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2683
|
-
}
|
|
2684
|
-
static fromBinary(bytes, options) {
|
|
2685
|
-
return new _DataStream_ByteHeader().fromBinary(bytes, options);
|
|
2686
|
-
}
|
|
2687
|
-
static fromJson(jsonValue, options) {
|
|
2688
|
-
return new _DataStream_ByteHeader().fromJson(jsonValue, options);
|
|
2689
|
-
}
|
|
2690
|
-
static fromJsonString(jsonString, options) {
|
|
2691
|
-
return new _DataStream_ByteHeader().fromJsonString(jsonString, options);
|
|
2692
|
-
}
|
|
2693
|
-
static equals(a, b) {
|
|
2694
|
-
return import_protobuf.proto2.util.equals(_DataStream_ByteHeader, a, b);
|
|
2695
|
-
}
|
|
2696
|
-
};
|
|
2697
|
-
_DataStream_ByteHeader.runtime = import_protobuf.proto2;
|
|
2698
|
-
_DataStream_ByteHeader.typeName = "livekit.proto.DataStream.ByteHeader";
|
|
2699
|
-
_DataStream_ByteHeader.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2700
|
-
{ no: 1, name: "name", kind: "scalar", T: 9, req: true }
|
|
2701
|
-
]);
|
|
2702
|
-
let DataStream_ByteHeader = _DataStream_ByteHeader;
|
|
2703
|
-
const _DataStream_Header = class _DataStream_Header extends import_protobuf.Message {
|
|
2704
|
-
constructor(data) {
|
|
2705
|
-
super();
|
|
2706
|
-
/**
|
|
2707
|
-
* user defined attributes map that can carry additional info
|
|
2708
|
-
*
|
|
2709
|
-
* @generated from field: map<string, string> attributes = 6;
|
|
2710
|
-
*/
|
|
2711
|
-
this.attributes = {};
|
|
2712
|
-
/**
|
|
2713
|
-
* oneof to choose between specific header types
|
|
2714
|
-
*
|
|
2715
|
-
* @generated from oneof livekit.proto.DataStream.Header.content_header
|
|
2716
|
-
*/
|
|
2717
|
-
this.contentHeader = { case: void 0 };
|
|
2718
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2719
|
-
}
|
|
2720
|
-
static fromBinary(bytes, options) {
|
|
2721
|
-
return new _DataStream_Header().fromBinary(bytes, options);
|
|
2722
|
-
}
|
|
2723
|
-
static fromJson(jsonValue, options) {
|
|
2724
|
-
return new _DataStream_Header().fromJson(jsonValue, options);
|
|
2725
|
-
}
|
|
2726
|
-
static fromJsonString(jsonString, options) {
|
|
2727
|
-
return new _DataStream_Header().fromJsonString(jsonString, options);
|
|
2728
|
-
}
|
|
2729
|
-
static equals(a, b) {
|
|
2730
|
-
return import_protobuf.proto2.util.equals(_DataStream_Header, a, b);
|
|
2731
|
-
}
|
|
2732
|
-
};
|
|
2733
|
-
_DataStream_Header.runtime = import_protobuf.proto2;
|
|
2734
|
-
_DataStream_Header.typeName = "livekit.proto.DataStream.Header";
|
|
2735
|
-
_DataStream_Header.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2736
|
-
{ no: 1, name: "stream_id", kind: "scalar", T: 9, req: true },
|
|
2737
|
-
{ no: 2, name: "timestamp", kind: "scalar", T: 3, req: true },
|
|
2738
|
-
{ no: 3, name: "mime_type", kind: "scalar", T: 9, req: true },
|
|
2739
|
-
{ no: 4, name: "topic", kind: "scalar", T: 9, req: true },
|
|
2740
|
-
{ no: 5, name: "total_length", kind: "scalar", T: 4, opt: true },
|
|
2741
|
-
{ no: 6, name: "attributes", kind: "map", K: 9, V: {
|
|
2742
|
-
kind: "scalar",
|
|
2743
|
-
T: 9
|
|
2744
|
-
/* ScalarType.STRING */
|
|
2745
|
-
} },
|
|
2746
|
-
{ no: 7, name: "text_header", kind: "message", T: DataStream_TextHeader, oneof: "content_header" },
|
|
2747
|
-
{ no: 8, name: "byte_header", kind: "message", T: DataStream_ByteHeader, oneof: "content_header" }
|
|
2748
|
-
]);
|
|
2749
|
-
let DataStream_Header = _DataStream_Header;
|
|
2750
|
-
const _DataStream_Chunk = class _DataStream_Chunk extends import_protobuf.Message {
|
|
2751
|
-
constructor(data) {
|
|
2752
|
-
super();
|
|
2753
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2754
|
-
}
|
|
2755
|
-
static fromBinary(bytes, options) {
|
|
2756
|
-
return new _DataStream_Chunk().fromBinary(bytes, options);
|
|
2757
|
-
}
|
|
2758
|
-
static fromJson(jsonValue, options) {
|
|
2759
|
-
return new _DataStream_Chunk().fromJson(jsonValue, options);
|
|
2760
|
-
}
|
|
2761
|
-
static fromJsonString(jsonString, options) {
|
|
2762
|
-
return new _DataStream_Chunk().fromJsonString(jsonString, options);
|
|
2763
|
-
}
|
|
2764
|
-
static equals(a, b) {
|
|
2765
|
-
return import_protobuf.proto2.util.equals(_DataStream_Chunk, a, b);
|
|
2766
|
-
}
|
|
2767
|
-
};
|
|
2768
|
-
_DataStream_Chunk.runtime = import_protobuf.proto2;
|
|
2769
|
-
_DataStream_Chunk.typeName = "livekit.proto.DataStream.Chunk";
|
|
2770
|
-
_DataStream_Chunk.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2771
|
-
{ no: 1, name: "stream_id", kind: "scalar", T: 9, req: true },
|
|
2772
|
-
{ no: 2, name: "chunk_index", kind: "scalar", T: 4, req: true },
|
|
2773
|
-
{ no: 3, name: "content", kind: "scalar", T: 12, req: true },
|
|
2774
|
-
{ no: 4, name: "version", kind: "scalar", T: 5, opt: true },
|
|
2775
|
-
{ no: 5, name: "iv", kind: "scalar", T: 12, opt: true }
|
|
2776
|
-
]);
|
|
2777
|
-
let DataStream_Chunk = _DataStream_Chunk;
|
|
2778
|
-
const _DataStream_Trailer = class _DataStream_Trailer extends import_protobuf.Message {
|
|
2779
|
-
constructor(data) {
|
|
2780
|
-
super();
|
|
2781
|
-
/**
|
|
2782
|
-
* finalizing updates for the stream, can also include additional insights for errors or endTime for transcription
|
|
2783
|
-
*
|
|
2784
|
-
* @generated from field: map<string, string> attributes = 3;
|
|
2785
|
-
*/
|
|
2786
|
-
this.attributes = {};
|
|
2787
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2788
|
-
}
|
|
2789
|
-
static fromBinary(bytes, options) {
|
|
2790
|
-
return new _DataStream_Trailer().fromBinary(bytes, options);
|
|
2791
|
-
}
|
|
2792
|
-
static fromJson(jsonValue, options) {
|
|
2793
|
-
return new _DataStream_Trailer().fromJson(jsonValue, options);
|
|
2794
|
-
}
|
|
2795
|
-
static fromJsonString(jsonString, options) {
|
|
2796
|
-
return new _DataStream_Trailer().fromJsonString(jsonString, options);
|
|
2797
|
-
}
|
|
2798
|
-
static equals(a, b) {
|
|
2799
|
-
return import_protobuf.proto2.util.equals(_DataStream_Trailer, a, b);
|
|
2800
|
-
}
|
|
2801
|
-
};
|
|
2802
|
-
_DataStream_Trailer.runtime = import_protobuf.proto2;
|
|
2803
|
-
_DataStream_Trailer.typeName = "livekit.proto.DataStream.Trailer";
|
|
2804
|
-
_DataStream_Trailer.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2805
|
-
{ no: 1, name: "stream_id", kind: "scalar", T: 9, req: true },
|
|
2806
|
-
{ no: 2, name: "reason", kind: "scalar", T: 9, req: true },
|
|
2807
|
-
{ no: 3, name: "attributes", kind: "map", K: 9, V: {
|
|
2808
|
-
kind: "scalar",
|
|
2809
|
-
T: 9
|
|
2810
|
-
/* ScalarType.STRING */
|
|
2811
|
-
} }
|
|
2812
|
-
]);
|
|
2813
|
-
let DataStream_Trailer = _DataStream_Trailer;
|
|
2814
|
-
const _DataStreamHeaderReceived = class _DataStreamHeaderReceived extends import_protobuf.Message {
|
|
2815
|
-
constructor(data) {
|
|
2816
|
-
super();
|
|
2817
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2818
|
-
}
|
|
2819
|
-
static fromBinary(bytes, options) {
|
|
2820
|
-
return new _DataStreamHeaderReceived().fromBinary(bytes, options);
|
|
2821
|
-
}
|
|
2822
|
-
static fromJson(jsonValue, options) {
|
|
2823
|
-
return new _DataStreamHeaderReceived().fromJson(jsonValue, options);
|
|
2824
|
-
}
|
|
2825
|
-
static fromJsonString(jsonString, options) {
|
|
2826
|
-
return new _DataStreamHeaderReceived().fromJsonString(jsonString, options);
|
|
2827
|
-
}
|
|
2828
|
-
static equals(a, b) {
|
|
2829
|
-
return import_protobuf.proto2.util.equals(_DataStreamHeaderReceived, a, b);
|
|
2830
|
-
}
|
|
2831
|
-
};
|
|
2832
|
-
_DataStreamHeaderReceived.runtime = import_protobuf.proto2;
|
|
2833
|
-
_DataStreamHeaderReceived.typeName = "livekit.proto.DataStreamHeaderReceived";
|
|
2834
|
-
_DataStreamHeaderReceived.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2835
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
2836
|
-
{ no: 2, name: "header", kind: "message", T: DataStream_Header, req: true }
|
|
2837
|
-
]);
|
|
2838
|
-
let DataStreamHeaderReceived = _DataStreamHeaderReceived;
|
|
2839
|
-
const _DataStreamChunkReceived = class _DataStreamChunkReceived extends import_protobuf.Message {
|
|
2840
|
-
constructor(data) {
|
|
2841
|
-
super();
|
|
2842
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2843
|
-
}
|
|
2844
|
-
static fromBinary(bytes, options) {
|
|
2845
|
-
return new _DataStreamChunkReceived().fromBinary(bytes, options);
|
|
2846
|
-
}
|
|
2847
|
-
static fromJson(jsonValue, options) {
|
|
2848
|
-
return new _DataStreamChunkReceived().fromJson(jsonValue, options);
|
|
2849
|
-
}
|
|
2850
|
-
static fromJsonString(jsonString, options) {
|
|
2851
|
-
return new _DataStreamChunkReceived().fromJsonString(jsonString, options);
|
|
2852
|
-
}
|
|
2853
|
-
static equals(a, b) {
|
|
2854
|
-
return import_protobuf.proto2.util.equals(_DataStreamChunkReceived, a, b);
|
|
2855
|
-
}
|
|
2856
|
-
};
|
|
2857
|
-
_DataStreamChunkReceived.runtime = import_protobuf.proto2;
|
|
2858
|
-
_DataStreamChunkReceived.typeName = "livekit.proto.DataStreamChunkReceived";
|
|
2859
|
-
_DataStreamChunkReceived.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2860
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
2861
|
-
{ no: 2, name: "chunk", kind: "message", T: DataStream_Chunk, req: true }
|
|
2862
|
-
]);
|
|
2863
|
-
let DataStreamChunkReceived = _DataStreamChunkReceived;
|
|
2864
|
-
const _DataStreamTrailerReceived = class _DataStreamTrailerReceived extends import_protobuf.Message {
|
|
2865
|
-
constructor(data) {
|
|
2866
|
-
super();
|
|
2867
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2868
|
-
}
|
|
2869
|
-
static fromBinary(bytes, options) {
|
|
2870
|
-
return new _DataStreamTrailerReceived().fromBinary(bytes, options);
|
|
2871
|
-
}
|
|
2872
|
-
static fromJson(jsonValue, options) {
|
|
2873
|
-
return new _DataStreamTrailerReceived().fromJson(jsonValue, options);
|
|
2874
|
-
}
|
|
2875
|
-
static fromJsonString(jsonString, options) {
|
|
2876
|
-
return new _DataStreamTrailerReceived().fromJsonString(jsonString, options);
|
|
2877
|
-
}
|
|
2878
|
-
static equals(a, b) {
|
|
2879
|
-
return import_protobuf.proto2.util.equals(_DataStreamTrailerReceived, a, b);
|
|
2880
|
-
}
|
|
2881
|
-
};
|
|
2882
|
-
_DataStreamTrailerReceived.runtime = import_protobuf.proto2;
|
|
2883
|
-
_DataStreamTrailerReceived.typeName = "livekit.proto.DataStreamTrailerReceived";
|
|
2884
|
-
_DataStreamTrailerReceived.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2885
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
2886
|
-
{ no: 2, name: "trailer", kind: "message", T: DataStream_Trailer, req: true }
|
|
2887
|
-
]);
|
|
2888
|
-
let DataStreamTrailerReceived = _DataStreamTrailerReceived;
|
|
2889
|
-
const _SendStreamHeaderRequest = class _SendStreamHeaderRequest extends import_protobuf.Message {
|
|
2890
|
-
constructor(data) {
|
|
2891
|
-
super();
|
|
2892
|
-
/**
|
|
2893
|
-
* @generated from field: repeated string destination_identities = 3;
|
|
2894
|
-
*/
|
|
2895
|
-
this.destinationIdentities = [];
|
|
2896
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2897
|
-
}
|
|
2898
|
-
static fromBinary(bytes, options) {
|
|
2899
|
-
return new _SendStreamHeaderRequest().fromBinary(bytes, options);
|
|
2900
|
-
}
|
|
2901
|
-
static fromJson(jsonValue, options) {
|
|
2902
|
-
return new _SendStreamHeaderRequest().fromJson(jsonValue, options);
|
|
2903
|
-
}
|
|
2904
|
-
static fromJsonString(jsonString, options) {
|
|
2905
|
-
return new _SendStreamHeaderRequest().fromJsonString(jsonString, options);
|
|
2906
|
-
}
|
|
2907
|
-
static equals(a, b) {
|
|
2908
|
-
return import_protobuf.proto2.util.equals(_SendStreamHeaderRequest, a, b);
|
|
2909
|
-
}
|
|
2910
|
-
};
|
|
2911
|
-
_SendStreamHeaderRequest.runtime = import_protobuf.proto2;
|
|
2912
|
-
_SendStreamHeaderRequest.typeName = "livekit.proto.SendStreamHeaderRequest";
|
|
2913
|
-
_SendStreamHeaderRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2914
|
-
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
|
|
2915
|
-
{ no: 2, name: "header", kind: "message", T: DataStream_Header, req: true },
|
|
2916
|
-
{ no: 3, name: "destination_identities", kind: "scalar", T: 9, repeated: true },
|
|
2917
|
-
{ no: 4, name: "sender_identity", kind: "scalar", T: 9, req: true }
|
|
2918
|
-
]);
|
|
2919
|
-
let SendStreamHeaderRequest = _SendStreamHeaderRequest;
|
|
2920
|
-
const _SendStreamChunkRequest = class _SendStreamChunkRequest extends import_protobuf.Message {
|
|
2921
|
-
constructor(data) {
|
|
2922
|
-
super();
|
|
2923
|
-
/**
|
|
2924
|
-
* @generated from field: repeated string destination_identities = 3;
|
|
2925
|
-
*/
|
|
2926
|
-
this.destinationIdentities = [];
|
|
2927
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2928
|
-
}
|
|
2929
|
-
static fromBinary(bytes, options) {
|
|
2930
|
-
return new _SendStreamChunkRequest().fromBinary(bytes, options);
|
|
2931
|
-
}
|
|
2932
|
-
static fromJson(jsonValue, options) {
|
|
2933
|
-
return new _SendStreamChunkRequest().fromJson(jsonValue, options);
|
|
2934
|
-
}
|
|
2935
|
-
static fromJsonString(jsonString, options) {
|
|
2936
|
-
return new _SendStreamChunkRequest().fromJsonString(jsonString, options);
|
|
2937
|
-
}
|
|
2938
|
-
static equals(a, b) {
|
|
2939
|
-
return import_protobuf.proto2.util.equals(_SendStreamChunkRequest, a, b);
|
|
2940
|
-
}
|
|
2941
|
-
};
|
|
2942
|
-
_SendStreamChunkRequest.runtime = import_protobuf.proto2;
|
|
2943
|
-
_SendStreamChunkRequest.typeName = "livekit.proto.SendStreamChunkRequest";
|
|
2944
|
-
_SendStreamChunkRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2945
|
-
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
|
|
2946
|
-
{ no: 2, name: "chunk", kind: "message", T: DataStream_Chunk, req: true },
|
|
2947
|
-
{ no: 3, name: "destination_identities", kind: "scalar", T: 9, repeated: true },
|
|
2948
|
-
{ no: 4, name: "sender_identity", kind: "scalar", T: 9, req: true }
|
|
2949
|
-
]);
|
|
2950
|
-
let SendStreamChunkRequest = _SendStreamChunkRequest;
|
|
2951
|
-
const _SendStreamTrailerRequest = class _SendStreamTrailerRequest extends import_protobuf.Message {
|
|
2952
|
-
constructor(data) {
|
|
2953
|
-
super();
|
|
2954
|
-
/**
|
|
2955
|
-
* @generated from field: repeated string destination_identities = 3;
|
|
2956
|
-
*/
|
|
2957
|
-
this.destinationIdentities = [];
|
|
2958
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2959
|
-
}
|
|
2960
|
-
static fromBinary(bytes, options) {
|
|
2961
|
-
return new _SendStreamTrailerRequest().fromBinary(bytes, options);
|
|
2962
|
-
}
|
|
2963
|
-
static fromJson(jsonValue, options) {
|
|
2964
|
-
return new _SendStreamTrailerRequest().fromJson(jsonValue, options);
|
|
2965
|
-
}
|
|
2966
|
-
static fromJsonString(jsonString, options) {
|
|
2967
|
-
return new _SendStreamTrailerRequest().fromJsonString(jsonString, options);
|
|
2968
|
-
}
|
|
2969
|
-
static equals(a, b) {
|
|
2970
|
-
return import_protobuf.proto2.util.equals(_SendStreamTrailerRequest, a, b);
|
|
2971
|
-
}
|
|
2972
|
-
};
|
|
2973
|
-
_SendStreamTrailerRequest.runtime = import_protobuf.proto2;
|
|
2974
|
-
_SendStreamTrailerRequest.typeName = "livekit.proto.SendStreamTrailerRequest";
|
|
2975
|
-
_SendStreamTrailerRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
2976
|
-
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
|
|
2977
|
-
{ no: 2, name: "trailer", kind: "message", T: DataStream_Trailer, req: true },
|
|
2978
|
-
{ no: 3, name: "destination_identities", kind: "scalar", T: 9, repeated: true },
|
|
2979
|
-
{ no: 4, name: "sender_identity", kind: "scalar", T: 9, req: true }
|
|
2980
|
-
]);
|
|
2981
|
-
let SendStreamTrailerRequest = _SendStreamTrailerRequest;
|
|
2982
|
-
const _SendStreamHeaderResponse = class _SendStreamHeaderResponse extends import_protobuf.Message {
|
|
2983
|
-
constructor(data) {
|
|
2984
|
-
super();
|
|
2985
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
2986
|
-
}
|
|
2987
|
-
static fromBinary(bytes, options) {
|
|
2988
|
-
return new _SendStreamHeaderResponse().fromBinary(bytes, options);
|
|
2989
|
-
}
|
|
2990
|
-
static fromJson(jsonValue, options) {
|
|
2991
|
-
return new _SendStreamHeaderResponse().fromJson(jsonValue, options);
|
|
2992
|
-
}
|
|
2993
|
-
static fromJsonString(jsonString, options) {
|
|
2994
|
-
return new _SendStreamHeaderResponse().fromJsonString(jsonString, options);
|
|
2995
|
-
}
|
|
2996
|
-
static equals(a, b) {
|
|
2997
|
-
return import_protobuf.proto2.util.equals(_SendStreamHeaderResponse, a, b);
|
|
2998
|
-
}
|
|
2999
|
-
};
|
|
3000
|
-
_SendStreamHeaderResponse.runtime = import_protobuf.proto2;
|
|
3001
|
-
_SendStreamHeaderResponse.typeName = "livekit.proto.SendStreamHeaderResponse";
|
|
3002
|
-
_SendStreamHeaderResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
3003
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
3004
|
-
]);
|
|
3005
|
-
let SendStreamHeaderResponse = _SendStreamHeaderResponse;
|
|
3006
|
-
const _SendStreamChunkResponse = class _SendStreamChunkResponse extends import_protobuf.Message {
|
|
3007
|
-
constructor(data) {
|
|
3008
|
-
super();
|
|
3009
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
3010
|
-
}
|
|
3011
|
-
static fromBinary(bytes, options) {
|
|
3012
|
-
return new _SendStreamChunkResponse().fromBinary(bytes, options);
|
|
3013
|
-
}
|
|
3014
|
-
static fromJson(jsonValue, options) {
|
|
3015
|
-
return new _SendStreamChunkResponse().fromJson(jsonValue, options);
|
|
3016
|
-
}
|
|
3017
|
-
static fromJsonString(jsonString, options) {
|
|
3018
|
-
return new _SendStreamChunkResponse().fromJsonString(jsonString, options);
|
|
3019
|
-
}
|
|
3020
|
-
static equals(a, b) {
|
|
3021
|
-
return import_protobuf.proto2.util.equals(_SendStreamChunkResponse, a, b);
|
|
3022
|
-
}
|
|
3023
|
-
};
|
|
3024
|
-
_SendStreamChunkResponse.runtime = import_protobuf.proto2;
|
|
3025
|
-
_SendStreamChunkResponse.typeName = "livekit.proto.SendStreamChunkResponse";
|
|
3026
|
-
_SendStreamChunkResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
3027
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
3028
|
-
]);
|
|
3029
|
-
let SendStreamChunkResponse = _SendStreamChunkResponse;
|
|
3030
|
-
const _SendStreamTrailerResponse = class _SendStreamTrailerResponse extends import_protobuf.Message {
|
|
3031
|
-
constructor(data) {
|
|
3032
|
-
super();
|
|
3033
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
3034
|
-
}
|
|
3035
|
-
static fromBinary(bytes, options) {
|
|
3036
|
-
return new _SendStreamTrailerResponse().fromBinary(bytes, options);
|
|
3037
|
-
}
|
|
3038
|
-
static fromJson(jsonValue, options) {
|
|
3039
|
-
return new _SendStreamTrailerResponse().fromJson(jsonValue, options);
|
|
3040
|
-
}
|
|
3041
|
-
static fromJsonString(jsonString, options) {
|
|
3042
|
-
return new _SendStreamTrailerResponse().fromJsonString(jsonString, options);
|
|
3043
|
-
}
|
|
3044
|
-
static equals(a, b) {
|
|
3045
|
-
return import_protobuf.proto2.util.equals(_SendStreamTrailerResponse, a, b);
|
|
3046
|
-
}
|
|
3047
|
-
};
|
|
3048
|
-
_SendStreamTrailerResponse.runtime = import_protobuf.proto2;
|
|
3049
|
-
_SendStreamTrailerResponse.typeName = "livekit.proto.SendStreamTrailerResponse";
|
|
3050
|
-
_SendStreamTrailerResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
3051
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
3052
|
-
]);
|
|
3053
|
-
let SendStreamTrailerResponse = _SendStreamTrailerResponse;
|
|
3054
|
-
const _SendStreamHeaderCallback = class _SendStreamHeaderCallback extends import_protobuf.Message {
|
|
3055
|
-
constructor(data) {
|
|
3056
|
-
super();
|
|
3057
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
3058
|
-
}
|
|
3059
|
-
static fromBinary(bytes, options) {
|
|
3060
|
-
return new _SendStreamHeaderCallback().fromBinary(bytes, options);
|
|
3061
|
-
}
|
|
3062
|
-
static fromJson(jsonValue, options) {
|
|
3063
|
-
return new _SendStreamHeaderCallback().fromJson(jsonValue, options);
|
|
3064
|
-
}
|
|
3065
|
-
static fromJsonString(jsonString, options) {
|
|
3066
|
-
return new _SendStreamHeaderCallback().fromJsonString(jsonString, options);
|
|
3067
|
-
}
|
|
3068
|
-
static equals(a, b) {
|
|
3069
|
-
return import_protobuf.proto2.util.equals(_SendStreamHeaderCallback, a, b);
|
|
3070
|
-
}
|
|
3071
|
-
};
|
|
3072
|
-
_SendStreamHeaderCallback.runtime = import_protobuf.proto2;
|
|
3073
|
-
_SendStreamHeaderCallback.typeName = "livekit.proto.SendStreamHeaderCallback";
|
|
3074
|
-
_SendStreamHeaderCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
3075
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true },
|
|
3076
|
-
{ no: 2, name: "error", kind: "scalar", T: 9, opt: true }
|
|
3077
|
-
]);
|
|
3078
|
-
let SendStreamHeaderCallback = _SendStreamHeaderCallback;
|
|
3079
|
-
const _SendStreamChunkCallback = class _SendStreamChunkCallback extends import_protobuf.Message {
|
|
3080
|
-
constructor(data) {
|
|
3081
|
-
super();
|
|
3082
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
3083
|
-
}
|
|
3084
|
-
static fromBinary(bytes, options) {
|
|
3085
|
-
return new _SendStreamChunkCallback().fromBinary(bytes, options);
|
|
3086
|
-
}
|
|
3087
|
-
static fromJson(jsonValue, options) {
|
|
3088
|
-
return new _SendStreamChunkCallback().fromJson(jsonValue, options);
|
|
3089
|
-
}
|
|
3090
|
-
static fromJsonString(jsonString, options) {
|
|
3091
|
-
return new _SendStreamChunkCallback().fromJsonString(jsonString, options);
|
|
3092
|
-
}
|
|
3093
|
-
static equals(a, b) {
|
|
3094
|
-
return import_protobuf.proto2.util.equals(_SendStreamChunkCallback, a, b);
|
|
3095
|
-
}
|
|
3096
|
-
};
|
|
3097
|
-
_SendStreamChunkCallback.runtime = import_protobuf.proto2;
|
|
3098
|
-
_SendStreamChunkCallback.typeName = "livekit.proto.SendStreamChunkCallback";
|
|
3099
|
-
_SendStreamChunkCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
3100
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true },
|
|
3101
|
-
{ no: 2, name: "error", kind: "scalar", T: 9, opt: true }
|
|
3102
|
-
]);
|
|
3103
|
-
let SendStreamChunkCallback = _SendStreamChunkCallback;
|
|
3104
|
-
const _SendStreamTrailerCallback = class _SendStreamTrailerCallback extends import_protobuf.Message {
|
|
3105
|
-
constructor(data) {
|
|
3106
|
-
super();
|
|
3107
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
3108
|
-
}
|
|
3109
|
-
static fromBinary(bytes, options) {
|
|
3110
|
-
return new _SendStreamTrailerCallback().fromBinary(bytes, options);
|
|
3111
|
-
}
|
|
3112
|
-
static fromJson(jsonValue, options) {
|
|
3113
|
-
return new _SendStreamTrailerCallback().fromJson(jsonValue, options);
|
|
3114
|
-
}
|
|
3115
|
-
static fromJsonString(jsonString, options) {
|
|
3116
|
-
return new _SendStreamTrailerCallback().fromJsonString(jsonString, options);
|
|
3117
|
-
}
|
|
3118
|
-
static equals(a, b) {
|
|
3119
|
-
return import_protobuf.proto2.util.equals(_SendStreamTrailerCallback, a, b);
|
|
3120
|
-
}
|
|
3121
|
-
};
|
|
3122
|
-
_SendStreamTrailerCallback.runtime = import_protobuf.proto2;
|
|
3123
|
-
_SendStreamTrailerCallback.typeName = "livekit.proto.SendStreamTrailerCallback";
|
|
3124
|
-
_SendStreamTrailerCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
3125
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true },
|
|
3126
|
-
{ no: 2, name: "error", kind: "scalar", T: 9, opt: true }
|
|
3127
|
-
]);
|
|
3128
|
-
let SendStreamTrailerCallback = _SendStreamTrailerCallback;
|
|
3129
|
-
const _SetDataChannelBufferedAmountLowThresholdRequest = class _SetDataChannelBufferedAmountLowThresholdRequest extends import_protobuf.Message {
|
|
3130
|
-
constructor(data) {
|
|
3131
|
-
super();
|
|
3132
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
3133
|
-
}
|
|
3134
|
-
static fromBinary(bytes, options) {
|
|
3135
|
-
return new _SetDataChannelBufferedAmountLowThresholdRequest().fromBinary(bytes, options);
|
|
3136
|
-
}
|
|
3137
|
-
static fromJson(jsonValue, options) {
|
|
3138
|
-
return new _SetDataChannelBufferedAmountLowThresholdRequest().fromJson(jsonValue, options);
|
|
3139
|
-
}
|
|
3140
|
-
static fromJsonString(jsonString, options) {
|
|
3141
|
-
return new _SetDataChannelBufferedAmountLowThresholdRequest().fromJsonString(jsonString, options);
|
|
3142
|
-
}
|
|
3143
|
-
static equals(a, b) {
|
|
3144
|
-
return import_protobuf.proto2.util.equals(_SetDataChannelBufferedAmountLowThresholdRequest, a, b);
|
|
3145
|
-
}
|
|
3146
|
-
};
|
|
3147
|
-
_SetDataChannelBufferedAmountLowThresholdRequest.runtime = import_protobuf.proto2;
|
|
3148
|
-
_SetDataChannelBufferedAmountLowThresholdRequest.typeName = "livekit.proto.SetDataChannelBufferedAmountLowThresholdRequest";
|
|
3149
|
-
_SetDataChannelBufferedAmountLowThresholdRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
3150
|
-
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
|
|
3151
|
-
{ no: 2, name: "threshold", kind: "scalar", T: 4, req: true },
|
|
3152
|
-
{ no: 3, name: "kind", kind: "enum", T: import_protobuf.proto2.getEnumType(DataPacketKind), req: true }
|
|
3153
|
-
]);
|
|
3154
|
-
let SetDataChannelBufferedAmountLowThresholdRequest = _SetDataChannelBufferedAmountLowThresholdRequest;
|
|
3155
|
-
const _SetDataChannelBufferedAmountLowThresholdResponse = class _SetDataChannelBufferedAmountLowThresholdResponse extends import_protobuf.Message {
|
|
3156
|
-
constructor(data) {
|
|
3157
|
-
super();
|
|
3158
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
3159
|
-
}
|
|
3160
|
-
static fromBinary(bytes, options) {
|
|
3161
|
-
return new _SetDataChannelBufferedAmountLowThresholdResponse().fromBinary(bytes, options);
|
|
3162
|
-
}
|
|
3163
|
-
static fromJson(jsonValue, options) {
|
|
3164
|
-
return new _SetDataChannelBufferedAmountLowThresholdResponse().fromJson(jsonValue, options);
|
|
3165
|
-
}
|
|
3166
|
-
static fromJsonString(jsonString, options) {
|
|
3167
|
-
return new _SetDataChannelBufferedAmountLowThresholdResponse().fromJsonString(jsonString, options);
|
|
3168
|
-
}
|
|
3169
|
-
static equals(a, b) {
|
|
3170
|
-
return import_protobuf.proto2.util.equals(_SetDataChannelBufferedAmountLowThresholdResponse, a, b);
|
|
3171
|
-
}
|
|
3172
|
-
};
|
|
3173
|
-
_SetDataChannelBufferedAmountLowThresholdResponse.runtime = import_protobuf.proto2;
|
|
3174
|
-
_SetDataChannelBufferedAmountLowThresholdResponse.typeName = "livekit.proto.SetDataChannelBufferedAmountLowThresholdResponse";
|
|
3175
|
-
_SetDataChannelBufferedAmountLowThresholdResponse.fields = import_protobuf.proto2.util.newFieldList(() => []);
|
|
3176
|
-
let SetDataChannelBufferedAmountLowThresholdResponse = _SetDataChannelBufferedAmountLowThresholdResponse;
|
|
3177
|
-
const _DataChannelBufferedAmountLowThresholdChanged = class _DataChannelBufferedAmountLowThresholdChanged extends import_protobuf.Message {
|
|
3178
|
-
constructor(data) {
|
|
3179
|
-
super();
|
|
3180
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
3181
|
-
}
|
|
3182
|
-
static fromBinary(bytes, options) {
|
|
3183
|
-
return new _DataChannelBufferedAmountLowThresholdChanged().fromBinary(bytes, options);
|
|
3184
|
-
}
|
|
3185
|
-
static fromJson(jsonValue, options) {
|
|
3186
|
-
return new _DataChannelBufferedAmountLowThresholdChanged().fromJson(jsonValue, options);
|
|
3187
|
-
}
|
|
3188
|
-
static fromJsonString(jsonString, options) {
|
|
3189
|
-
return new _DataChannelBufferedAmountLowThresholdChanged().fromJsonString(jsonString, options);
|
|
3190
|
-
}
|
|
3191
|
-
static equals(a, b) {
|
|
3192
|
-
return import_protobuf.proto2.util.equals(_DataChannelBufferedAmountLowThresholdChanged, a, b);
|
|
3193
|
-
}
|
|
3194
|
-
};
|
|
3195
|
-
_DataChannelBufferedAmountLowThresholdChanged.runtime = import_protobuf.proto2;
|
|
3196
|
-
_DataChannelBufferedAmountLowThresholdChanged.typeName = "livekit.proto.DataChannelBufferedAmountLowThresholdChanged";
|
|
3197
|
-
_DataChannelBufferedAmountLowThresholdChanged.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
3198
|
-
{ no: 1, name: "kind", kind: "enum", T: import_protobuf.proto2.getEnumType(DataPacketKind), req: true },
|
|
3199
|
-
{ no: 2, name: "threshold", kind: "scalar", T: 4, req: true }
|
|
3200
|
-
]);
|
|
3201
|
-
let DataChannelBufferedAmountLowThresholdChanged = _DataChannelBufferedAmountLowThresholdChanged;
|
|
3202
|
-
const _ByteStreamOpened = class _ByteStreamOpened extends import_protobuf.Message {
|
|
3203
|
-
constructor(data) {
|
|
3204
|
-
super();
|
|
3205
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
3206
|
-
}
|
|
3207
|
-
static fromBinary(bytes, options) {
|
|
3208
|
-
return new _ByteStreamOpened().fromBinary(bytes, options);
|
|
3209
|
-
}
|
|
3210
|
-
static fromJson(jsonValue, options) {
|
|
3211
|
-
return new _ByteStreamOpened().fromJson(jsonValue, options);
|
|
3212
|
-
}
|
|
3213
|
-
static fromJsonString(jsonString, options) {
|
|
3214
|
-
return new _ByteStreamOpened().fromJsonString(jsonString, options);
|
|
3215
|
-
}
|
|
3216
|
-
static equals(a, b) {
|
|
3217
|
-
return import_protobuf.proto2.util.equals(_ByteStreamOpened, a, b);
|
|
3218
|
-
}
|
|
3219
|
-
};
|
|
3220
|
-
_ByteStreamOpened.runtime = import_protobuf.proto2;
|
|
3221
|
-
_ByteStreamOpened.typeName = "livekit.proto.ByteStreamOpened";
|
|
3222
|
-
_ByteStreamOpened.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
3223
|
-
{ no: 1, name: "reader", kind: "message", T: import_data_stream_pb.OwnedByteStreamReader, req: true },
|
|
3224
|
-
{ no: 2, name: "participant_identity", kind: "scalar", T: 9, req: true }
|
|
3225
|
-
]);
|
|
3226
|
-
let ByteStreamOpened = _ByteStreamOpened;
|
|
3227
|
-
const _TextStreamOpened = class _TextStreamOpened extends import_protobuf.Message {
|
|
3228
|
-
constructor(data) {
|
|
3229
|
-
super();
|
|
3230
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
3231
|
-
}
|
|
3232
|
-
static fromBinary(bytes, options) {
|
|
3233
|
-
return new _TextStreamOpened().fromBinary(bytes, options);
|
|
3234
|
-
}
|
|
3235
|
-
static fromJson(jsonValue, options) {
|
|
3236
|
-
return new _TextStreamOpened().fromJson(jsonValue, options);
|
|
3237
|
-
}
|
|
3238
|
-
static fromJsonString(jsonString, options) {
|
|
3239
|
-
return new _TextStreamOpened().fromJsonString(jsonString, options);
|
|
3240
|
-
}
|
|
3241
|
-
static equals(a, b) {
|
|
3242
|
-
return import_protobuf.proto2.util.equals(_TextStreamOpened, a, b);
|
|
3243
|
-
}
|
|
3244
|
-
};
|
|
3245
|
-
_TextStreamOpened.runtime = import_protobuf.proto2;
|
|
3246
|
-
_TextStreamOpened.typeName = "livekit.proto.TextStreamOpened";
|
|
3247
|
-
_TextStreamOpened.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
3248
|
-
{ no: 1, name: "reader", kind: "message", T: import_data_stream_pb.OwnedTextStreamReader, req: true },
|
|
3249
|
-
{ no: 2, name: "participant_identity", kind: "scalar", T: 9, req: true }
|
|
3250
|
-
]);
|
|
3251
|
-
let TextStreamOpened = _TextStreamOpened;
|
|
3252
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
3253
|
-
0 && (module.exports = {
|
|
3254
|
-
ActiveSpeakersChanged,
|
|
3255
|
-
AttributesEntry,
|
|
3256
|
-
AudioEncoding,
|
|
3257
|
-
BufferInfo,
|
|
3258
|
-
ByteStreamOpened,
|
|
3259
|
-
ChatMessage,
|
|
3260
|
-
ChatMessageReceived,
|
|
3261
|
-
ConnectCallback,
|
|
3262
|
-
ConnectCallback_ParticipantWithTracks,
|
|
3263
|
-
ConnectCallback_Result,
|
|
3264
|
-
ConnectRequest,
|
|
3265
|
-
ConnectResponse,
|
|
3266
|
-
Connected,
|
|
3267
|
-
ConnectionQuality,
|
|
3268
|
-
ConnectionQualityChanged,
|
|
3269
|
-
ConnectionState,
|
|
3270
|
-
ConnectionStateChanged,
|
|
3271
|
-
ContinualGatheringPolicy,
|
|
3272
|
-
DataChannelBufferedAmountLowThresholdChanged,
|
|
3273
|
-
DataPacketKind,
|
|
3274
|
-
DataPacketReceived,
|
|
3275
|
-
DataStream,
|
|
3276
|
-
DataStreamChunkReceived,
|
|
3277
|
-
DataStreamHeaderReceived,
|
|
3278
|
-
DataStreamTrailerReceived,
|
|
3279
|
-
DataStream_ByteHeader,
|
|
3280
|
-
DataStream_Chunk,
|
|
3281
|
-
DataStream_Header,
|
|
3282
|
-
DataStream_OperationType,
|
|
3283
|
-
DataStream_TextHeader,
|
|
3284
|
-
DataStream_Trailer,
|
|
3285
|
-
DisconnectCallback,
|
|
3286
|
-
DisconnectRequest,
|
|
3287
|
-
DisconnectResponse,
|
|
3288
|
-
Disconnected,
|
|
3289
|
-
E2eeStateChanged,
|
|
3290
|
-
EditChatMessageRequest,
|
|
3291
|
-
GetSessionStatsCallback,
|
|
3292
|
-
GetSessionStatsCallback_Result,
|
|
3293
|
-
GetSessionStatsRequest,
|
|
3294
|
-
GetSessionStatsResponse,
|
|
3295
|
-
IceServer,
|
|
3296
|
-
IceTransportType,
|
|
3297
|
-
LocalTrackPublished,
|
|
3298
|
-
LocalTrackSubscribed,
|
|
3299
|
-
LocalTrackUnpublished,
|
|
3300
|
-
OwnedBuffer,
|
|
3301
|
-
OwnedRoom,
|
|
3302
|
-
ParticipantAttributesChanged,
|
|
3303
|
-
ParticipantConnected,
|
|
3304
|
-
ParticipantDisconnected,
|
|
3305
|
-
ParticipantEncryptionStatusChanged,
|
|
3306
|
-
ParticipantMetadataChanged,
|
|
3307
|
-
ParticipantNameChanged,
|
|
3308
|
-
ParticipantsUpdated,
|
|
3309
|
-
PublishDataCallback,
|
|
3310
|
-
PublishDataRequest,
|
|
3311
|
-
PublishDataResponse,
|
|
3312
|
-
PublishSipDtmfCallback,
|
|
3313
|
-
PublishSipDtmfRequest,
|
|
3314
|
-
PublishSipDtmfResponse,
|
|
3315
|
-
PublishTrackCallback,
|
|
3316
|
-
PublishTrackRequest,
|
|
3317
|
-
PublishTrackResponse,
|
|
3318
|
-
PublishTranscriptionCallback,
|
|
3319
|
-
PublishTranscriptionRequest,
|
|
3320
|
-
PublishTranscriptionResponse,
|
|
3321
|
-
Reconnected,
|
|
3322
|
-
Reconnecting,
|
|
3323
|
-
RoomEOS,
|
|
3324
|
-
RoomEvent,
|
|
3325
|
-
RoomInfo,
|
|
3326
|
-
RoomMetadataChanged,
|
|
3327
|
-
RoomOptions,
|
|
3328
|
-
RoomSidChanged,
|
|
3329
|
-
RtcConfig,
|
|
3330
|
-
SendChatMessageCallback,
|
|
3331
|
-
SendChatMessageRequest,
|
|
3332
|
-
SendChatMessageResponse,
|
|
3333
|
-
SendStreamChunkCallback,
|
|
3334
|
-
SendStreamChunkRequest,
|
|
3335
|
-
SendStreamChunkResponse,
|
|
3336
|
-
SendStreamHeaderCallback,
|
|
3337
|
-
SendStreamHeaderRequest,
|
|
3338
|
-
SendStreamHeaderResponse,
|
|
3339
|
-
SendStreamTrailerCallback,
|
|
3340
|
-
SendStreamTrailerRequest,
|
|
3341
|
-
SendStreamTrailerResponse,
|
|
3342
|
-
SetDataChannelBufferedAmountLowThresholdRequest,
|
|
3343
|
-
SetDataChannelBufferedAmountLowThresholdResponse,
|
|
3344
|
-
SetLocalAttributesCallback,
|
|
3345
|
-
SetLocalAttributesRequest,
|
|
3346
|
-
SetLocalAttributesResponse,
|
|
3347
|
-
SetLocalMetadataCallback,
|
|
3348
|
-
SetLocalMetadataRequest,
|
|
3349
|
-
SetLocalMetadataResponse,
|
|
3350
|
-
SetLocalNameCallback,
|
|
3351
|
-
SetLocalNameRequest,
|
|
3352
|
-
SetLocalNameResponse,
|
|
3353
|
-
SetSubscribedRequest,
|
|
3354
|
-
SetSubscribedResponse,
|
|
3355
|
-
SipDTMF,
|
|
3356
|
-
TextStreamOpened,
|
|
3357
|
-
TokenRefreshed,
|
|
3358
|
-
TrackMuted,
|
|
3359
|
-
TrackPublishOptions,
|
|
3360
|
-
TrackPublished,
|
|
3361
|
-
TrackSubscribed,
|
|
3362
|
-
TrackSubscriptionFailed,
|
|
3363
|
-
TrackUnmuted,
|
|
3364
|
-
TrackUnpublished,
|
|
3365
|
-
TrackUnsubscribed,
|
|
3366
|
-
TranscriptionReceived,
|
|
3367
|
-
TranscriptionSegment,
|
|
3368
|
-
UnpublishTrackCallback,
|
|
3369
|
-
UnpublishTrackRequest,
|
|
3370
|
-
UnpublishTrackResponse,
|
|
3371
|
-
UserPacket,
|
|
3372
|
-
VideoEncoding
|
|
3373
|
-
});
|
|
3374
|
-
//# sourceMappingURL=room_pb.cjs.map
|