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