@livekit/protocol 1.29.2 → 1.29.3

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.
Files changed (115) hide show
  1. package/dist/index.cjs +6261 -51
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +11475 -0
  4. package/dist/index.d.mts +11475 -0
  5. package/dist/index.d.ts +11475 -13
  6. package/dist/index.mjs +6013 -0
  7. package/dist/index.mjs.map +1 -0
  8. package/package.json +18 -18
  9. package/src/gen/livekit_agent_dispatch_pb.d.ts +253 -0
  10. package/src/gen/livekit_agent_dispatch_pb.js +103 -0
  11. package/src/gen/livekit_agent_pb.d.ts +741 -0
  12. package/src/gen/livekit_agent_pb.js +266 -0
  13. package/src/gen/livekit_analytics_pb.d.ts +889 -0
  14. package/src/gen/livekit_analytics_pb.js +264 -0
  15. package/src/gen/livekit_egress_pb.d.ts +2056 -0
  16. package/src/gen/livekit_egress_pb.js +594 -0
  17. package/src/gen/livekit_ingress_pb.d.ts +843 -0
  18. package/src/gen/livekit_ingress_pb.js +269 -0
  19. package/src/gen/livekit_internal_pb.d.ts +622 -0
  20. package/src/gen/livekit_internal_pb.js +191 -0
  21. package/src/gen/livekit_metrics_pb.d.ts +376 -0
  22. package/src/gen/livekit_metrics_pb.js +97 -0
  23. package/src/gen/livekit_models_pb.d.ts +2837 -0
  24. package/src/gen/livekit_models_pb.js +913 -0
  25. package/src/gen/livekit_room_pb.d.ts +774 -0
  26. package/src/gen/livekit_room_pb.js +259 -0
  27. package/src/gen/livekit_rtc_pb.d.ts +2001 -0
  28. package/src/gen/livekit_rtc_pb.js +634 -0
  29. package/src/gen/livekit_sip_pb.d.ts +1551 -0
  30. package/src/gen/livekit_sip_pb.js +483 -0
  31. package/src/gen/livekit_webhook_pb.d.ts +105 -0
  32. package/src/gen/livekit_webhook_pb.js +42 -0
  33. package/src/gen/version.js +2 -0
  34. package/src/index.d.ts +12 -0
  35. package/{dist → src}/index.js +2 -5
  36. package/dist/gen/livekit_agent_dispatch_pb.cjs +0 -385
  37. package/dist/gen/livekit_agent_dispatch_pb.cjs.map +0 -1
  38. package/dist/gen/livekit_agent_dispatch_pb.d.ts +0 -174
  39. package/dist/gen/livekit_agent_dispatch_pb.d.ts.map +0 -1
  40. package/dist/gen/livekit_agent_dispatch_pb.js +0 -356
  41. package/dist/gen/livekit_agent_dispatch_pb.js.map +0 -1
  42. package/dist/gen/livekit_agent_pb.cjs +0 -881
  43. package/dist/gen/livekit_agent_pb.cjs.map +0 -1
  44. package/dist/gen/livekit_agent_pb.d.ts +0 -575
  45. package/dist/gen/livekit_agent_pb.d.ts.map +0 -1
  46. package/dist/gen/livekit_agent_pb.js +0 -840
  47. package/dist/gen/livekit_agent_pb.js.map +0 -1
  48. package/dist/gen/livekit_analytics_pb.cjs +0 -1087
  49. package/dist/gen/livekit_analytics_pb.cjs.map +0 -1
  50. package/dist/gen/livekit_analytics_pb.d.ts +0 -679
  51. package/dist/gen/livekit_analytics_pb.d.ts.map +0 -1
  52. package/dist/gen/livekit_analytics_pb.js +0 -1053
  53. package/dist/gen/livekit_analytics_pb.js.map +0 -1
  54. package/dist/gen/livekit_egress_pb.cjs +0 -2476
  55. package/dist/gen/livekit_egress_pb.cjs.map +0 -1
  56. package/dist/gen/livekit_egress_pb.d.ts +0 -1720
  57. package/dist/gen/livekit_egress_pb.d.ts.map +0 -1
  58. package/dist/gen/livekit_egress_pb.js +0 -2417
  59. package/dist/gen/livekit_egress_pb.js.map +0 -1
  60. package/dist/gen/livekit_ingress_pb.cjs +0 -1050
  61. package/dist/gen/livekit_ingress_pb.cjs.map +0 -1
  62. package/dist/gen/livekit_ingress_pb.d.ts +0 -660
  63. package/dist/gen/livekit_ingress_pb.d.ts.map +0 -1
  64. package/dist/gen/livekit_ingress_pb.js +0 -1011
  65. package/dist/gen/livekit_ingress_pb.js.map +0 -1
  66. package/dist/gen/livekit_internal_pb.cjs +0 -998
  67. package/dist/gen/livekit_internal_pb.cjs.map +0 -1
  68. package/dist/gen/livekit_internal_pb.d.ts +0 -481
  69. package/dist/gen/livekit_internal_pb.d.ts.map +0 -1
  70. package/dist/gen/livekit_internal_pb.js +0 -968
  71. package/dist/gen/livekit_internal_pb.js.map +0 -1
  72. package/dist/gen/livekit_metrics_pb.cjs +0 -371
  73. package/dist/gen/livekit_metrics_pb.cjs.map +0 -1
  74. package/dist/gen/livekit_metrics_pb.d.ts +0 -304
  75. package/dist/gen/livekit_metrics_pb.d.ts.map +0 -1
  76. package/dist/gen/livekit_metrics_pb.js +0 -344
  77. package/dist/gen/livekit_metrics_pb.js.map +0 -1
  78. package/dist/gen/livekit_models_pb.cjs +0 -3668
  79. package/dist/gen/livekit_models_pb.cjs.map +0 -1
  80. package/dist/gen/livekit_models_pb.d.ts +0 -2265
  81. package/dist/gen/livekit_models_pb.d.ts.map +0 -1
  82. package/dist/gen/livekit_models_pb.js +0 -3588
  83. package/dist/gen/livekit_models_pb.js.map +0 -1
  84. package/dist/gen/livekit_room_pb.cjs +0 -1080
  85. package/dist/gen/livekit_room_pb.cjs.map +0 -1
  86. package/dist/gen/livekit_room_pb.d.ts +0 -580
  87. package/dist/gen/livekit_room_pb.d.ts.map +0 -1
  88. package/dist/gen/livekit_room_pb.js +0 -1038
  89. package/dist/gen/livekit_room_pb.js.map +0 -1
  90. package/dist/gen/livekit_rtc_pb.cjs +0 -2261
  91. package/dist/gen/livekit_rtc_pb.cjs.map +0 -1
  92. package/dist/gen/livekit_rtc_pb.d.ts +0 -1602
  93. package/dist/gen/livekit_rtc_pb.d.ts.map +0 -1
  94. package/dist/gen/livekit_rtc_pb.js +0 -2192
  95. package/dist/gen/livekit_rtc_pb.js.map +0 -1
  96. package/dist/gen/livekit_sip_pb.cjs +0 -2118
  97. package/dist/gen/livekit_sip_pb.cjs.map +0 -1
  98. package/dist/gen/livekit_sip_pb.d.ts +0 -1226
  99. package/dist/gen/livekit_sip_pb.d.ts.map +0 -1
  100. package/dist/gen/livekit_sip_pb.js +0 -2061
  101. package/dist/gen/livekit_sip_pb.js.map +0 -1
  102. package/dist/gen/livekit_webhook_pb.cjs +0 -111
  103. package/dist/gen/livekit_webhook_pb.cjs.map +0 -1
  104. package/dist/gen/livekit_webhook_pb.d.ts +0 -71
  105. package/dist/gen/livekit_webhook_pb.d.ts.map +0 -1
  106. package/dist/gen/livekit_webhook_pb.js +0 -88
  107. package/dist/gen/livekit_webhook_pb.js.map +0 -1
  108. package/dist/gen/version.cjs +0 -28
  109. package/dist/gen/version.cjs.map +0 -1
  110. package/dist/gen/version.d.ts +0 -2
  111. package/dist/gen/version.d.ts.map +0 -1
  112. package/dist/gen/version.js +0 -5
  113. package/dist/gen/version.js.map +0 -1
  114. package/dist/index.d.ts.map +0 -1
  115. package/dist/index.js.map +0 -1
@@ -1,3668 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var livekit_models_pb_exports = {};
19
- __export(livekit_models_pb_exports, {
20
- ActiveSpeakerUpdate: () => ActiveSpeakerUpdate,
21
- AudioCodec: () => AudioCodec,
22
- AudioTrackFeature: () => AudioTrackFeature,
23
- ChatMessage: () => ChatMessage,
24
- ClientConfigSetting: () => ClientConfigSetting,
25
- ClientConfiguration: () => ClientConfiguration,
26
- ClientInfo: () => ClientInfo,
27
- ClientInfo_SDK: () => ClientInfo_SDK,
28
- Codec: () => Codec,
29
- ConnectionQuality: () => ConnectionQuality,
30
- DataPacket: () => DataPacket,
31
- DataPacket_Kind: () => DataPacket_Kind,
32
- DataStream: () => DataStream,
33
- DataStream_Chunk: () => DataStream_Chunk,
34
- DataStream_FileHeader: () => DataStream_FileHeader,
35
- DataStream_Header: () => DataStream_Header,
36
- DataStream_OperationType: () => DataStream_OperationType,
37
- DataStream_TextHeader: () => DataStream_TextHeader,
38
- DisabledCodecs: () => DisabledCodecs,
39
- DisconnectReason: () => DisconnectReason,
40
- Encryption: () => Encryption,
41
- Encryption_Type: () => Encryption_Type,
42
- ImageCodec: () => ImageCodec,
43
- ParticipantInfo: () => ParticipantInfo,
44
- ParticipantInfo_Kind: () => ParticipantInfo_Kind,
45
- ParticipantInfo_State: () => ParticipantInfo_State,
46
- ParticipantPermission: () => ParticipantPermission,
47
- ParticipantTracks: () => ParticipantTracks,
48
- PlayoutDelay: () => PlayoutDelay,
49
- RTCPSenderReportState: () => RTCPSenderReportState,
50
- RTPDrift: () => RTPDrift,
51
- RTPForwarderState: () => RTPForwarderState,
52
- RTPMungerState: () => RTPMungerState,
53
- RTPStats: () => RTPStats,
54
- ReconnectReason: () => ReconnectReason,
55
- Room: () => Room,
56
- RpcAck: () => RpcAck,
57
- RpcError: () => RpcError,
58
- RpcRequest: () => RpcRequest,
59
- RpcResponse: () => RpcResponse,
60
- ServerInfo: () => ServerInfo,
61
- ServerInfo_Edition: () => ServerInfo_Edition,
62
- SimulcastCodecInfo: () => SimulcastCodecInfo,
63
- SipDTMF: () => SipDTMF,
64
- SpeakerInfo: () => SpeakerInfo,
65
- SubscriptionError: () => SubscriptionError,
66
- TimedVersion: () => TimedVersion,
67
- TrackInfo: () => TrackInfo,
68
- TrackSource: () => TrackSource,
69
- TrackType: () => TrackType,
70
- Transcription: () => Transcription,
71
- TranscriptionSegment: () => TranscriptionSegment,
72
- UserPacket: () => UserPacket,
73
- VP8MungerState: () => VP8MungerState,
74
- VideoCodec: () => VideoCodec,
75
- VideoConfiguration: () => VideoConfiguration,
76
- VideoLayer: () => VideoLayer,
77
- VideoQuality: () => VideoQuality
78
- });
79
- module.exports = __toCommonJS(livekit_models_pb_exports);
80
- var import_protobuf = require("@bufbuild/protobuf");
81
- var import_livekit_metrics_pb = require("./livekit_metrics_pb.cjs");
82
- var AudioCodec = /* @__PURE__ */ ((AudioCodec2) => {
83
- AudioCodec2[AudioCodec2["DEFAULT_AC"] = 0] = "DEFAULT_AC";
84
- AudioCodec2[AudioCodec2["OPUS"] = 1] = "OPUS";
85
- AudioCodec2[AudioCodec2["AAC"] = 2] = "AAC";
86
- return AudioCodec2;
87
- })(AudioCodec || {});
88
- import_protobuf.proto3.util.setEnumType(AudioCodec, "livekit.AudioCodec", [
89
- { no: 0, name: "DEFAULT_AC" },
90
- { no: 1, name: "OPUS" },
91
- { no: 2, name: "AAC" }
92
- ]);
93
- var VideoCodec = /* @__PURE__ */ ((VideoCodec2) => {
94
- VideoCodec2[VideoCodec2["DEFAULT_VC"] = 0] = "DEFAULT_VC";
95
- VideoCodec2[VideoCodec2["H264_BASELINE"] = 1] = "H264_BASELINE";
96
- VideoCodec2[VideoCodec2["H264_MAIN"] = 2] = "H264_MAIN";
97
- VideoCodec2[VideoCodec2["H264_HIGH"] = 3] = "H264_HIGH";
98
- VideoCodec2[VideoCodec2["VP8"] = 4] = "VP8";
99
- return VideoCodec2;
100
- })(VideoCodec || {});
101
- import_protobuf.proto3.util.setEnumType(VideoCodec, "livekit.VideoCodec", [
102
- { no: 0, name: "DEFAULT_VC" },
103
- { no: 1, name: "H264_BASELINE" },
104
- { no: 2, name: "H264_MAIN" },
105
- { no: 3, name: "H264_HIGH" },
106
- { no: 4, name: "VP8" }
107
- ]);
108
- var ImageCodec = /* @__PURE__ */ ((ImageCodec2) => {
109
- ImageCodec2[ImageCodec2["IC_DEFAULT"] = 0] = "IC_DEFAULT";
110
- ImageCodec2[ImageCodec2["IC_JPEG"] = 1] = "IC_JPEG";
111
- return ImageCodec2;
112
- })(ImageCodec || {});
113
- import_protobuf.proto3.util.setEnumType(ImageCodec, "livekit.ImageCodec", [
114
- { no: 0, name: "IC_DEFAULT" },
115
- { no: 1, name: "IC_JPEG" }
116
- ]);
117
- var TrackType = /* @__PURE__ */ ((TrackType2) => {
118
- TrackType2[TrackType2["AUDIO"] = 0] = "AUDIO";
119
- TrackType2[TrackType2["VIDEO"] = 1] = "VIDEO";
120
- TrackType2[TrackType2["DATA"] = 2] = "DATA";
121
- return TrackType2;
122
- })(TrackType || {});
123
- import_protobuf.proto3.util.setEnumType(TrackType, "livekit.TrackType", [
124
- { no: 0, name: "AUDIO" },
125
- { no: 1, name: "VIDEO" },
126
- { no: 2, name: "DATA" }
127
- ]);
128
- var TrackSource = /* @__PURE__ */ ((TrackSource2) => {
129
- TrackSource2[TrackSource2["UNKNOWN"] = 0] = "UNKNOWN";
130
- TrackSource2[TrackSource2["CAMERA"] = 1] = "CAMERA";
131
- TrackSource2[TrackSource2["MICROPHONE"] = 2] = "MICROPHONE";
132
- TrackSource2[TrackSource2["SCREEN_SHARE"] = 3] = "SCREEN_SHARE";
133
- TrackSource2[TrackSource2["SCREEN_SHARE_AUDIO"] = 4] = "SCREEN_SHARE_AUDIO";
134
- return TrackSource2;
135
- })(TrackSource || {});
136
- import_protobuf.proto3.util.setEnumType(TrackSource, "livekit.TrackSource", [
137
- { no: 0, name: "UNKNOWN" },
138
- { no: 1, name: "CAMERA" },
139
- { no: 2, name: "MICROPHONE" },
140
- { no: 3, name: "SCREEN_SHARE" },
141
- { no: 4, name: "SCREEN_SHARE_AUDIO" }
142
- ]);
143
- var VideoQuality = /* @__PURE__ */ ((VideoQuality2) => {
144
- VideoQuality2[VideoQuality2["LOW"] = 0] = "LOW";
145
- VideoQuality2[VideoQuality2["MEDIUM"] = 1] = "MEDIUM";
146
- VideoQuality2[VideoQuality2["HIGH"] = 2] = "HIGH";
147
- VideoQuality2[VideoQuality2["OFF"] = 3] = "OFF";
148
- return VideoQuality2;
149
- })(VideoQuality || {});
150
- import_protobuf.proto3.util.setEnumType(VideoQuality, "livekit.VideoQuality", [
151
- { no: 0, name: "LOW" },
152
- { no: 1, name: "MEDIUM" },
153
- { no: 2, name: "HIGH" },
154
- { no: 3, name: "OFF" }
155
- ]);
156
- var ConnectionQuality = /* @__PURE__ */ ((ConnectionQuality2) => {
157
- ConnectionQuality2[ConnectionQuality2["POOR"] = 0] = "POOR";
158
- ConnectionQuality2[ConnectionQuality2["GOOD"] = 1] = "GOOD";
159
- ConnectionQuality2[ConnectionQuality2["EXCELLENT"] = 2] = "EXCELLENT";
160
- ConnectionQuality2[ConnectionQuality2["LOST"] = 3] = "LOST";
161
- return ConnectionQuality2;
162
- })(ConnectionQuality || {});
163
- import_protobuf.proto3.util.setEnumType(ConnectionQuality, "livekit.ConnectionQuality", [
164
- { no: 0, name: "POOR" },
165
- { no: 1, name: "GOOD" },
166
- { no: 2, name: "EXCELLENT" },
167
- { no: 3, name: "LOST" }
168
- ]);
169
- var ClientConfigSetting = /* @__PURE__ */ ((ClientConfigSetting2) => {
170
- ClientConfigSetting2[ClientConfigSetting2["UNSET"] = 0] = "UNSET";
171
- ClientConfigSetting2[ClientConfigSetting2["DISABLED"] = 1] = "DISABLED";
172
- ClientConfigSetting2[ClientConfigSetting2["ENABLED"] = 2] = "ENABLED";
173
- return ClientConfigSetting2;
174
- })(ClientConfigSetting || {});
175
- import_protobuf.proto3.util.setEnumType(ClientConfigSetting, "livekit.ClientConfigSetting", [
176
- { no: 0, name: "UNSET" },
177
- { no: 1, name: "DISABLED" },
178
- { no: 2, name: "ENABLED" }
179
- ]);
180
- var DisconnectReason = /* @__PURE__ */ ((DisconnectReason2) => {
181
- DisconnectReason2[DisconnectReason2["UNKNOWN_REASON"] = 0] = "UNKNOWN_REASON";
182
- DisconnectReason2[DisconnectReason2["CLIENT_INITIATED"] = 1] = "CLIENT_INITIATED";
183
- DisconnectReason2[DisconnectReason2["DUPLICATE_IDENTITY"] = 2] = "DUPLICATE_IDENTITY";
184
- DisconnectReason2[DisconnectReason2["SERVER_SHUTDOWN"] = 3] = "SERVER_SHUTDOWN";
185
- DisconnectReason2[DisconnectReason2["PARTICIPANT_REMOVED"] = 4] = "PARTICIPANT_REMOVED";
186
- DisconnectReason2[DisconnectReason2["ROOM_DELETED"] = 5] = "ROOM_DELETED";
187
- DisconnectReason2[DisconnectReason2["STATE_MISMATCH"] = 6] = "STATE_MISMATCH";
188
- DisconnectReason2[DisconnectReason2["JOIN_FAILURE"] = 7] = "JOIN_FAILURE";
189
- DisconnectReason2[DisconnectReason2["MIGRATION"] = 8] = "MIGRATION";
190
- DisconnectReason2[DisconnectReason2["SIGNAL_CLOSE"] = 9] = "SIGNAL_CLOSE";
191
- DisconnectReason2[DisconnectReason2["ROOM_CLOSED"] = 10] = "ROOM_CLOSED";
192
- DisconnectReason2[DisconnectReason2["USER_UNAVAILABLE"] = 11] = "USER_UNAVAILABLE";
193
- DisconnectReason2[DisconnectReason2["USER_REJECTED"] = 12] = "USER_REJECTED";
194
- DisconnectReason2[DisconnectReason2["SIP_TRUNK_FAILURE"] = 13] = "SIP_TRUNK_FAILURE";
195
- return DisconnectReason2;
196
- })(DisconnectReason || {});
197
- import_protobuf.proto3.util.setEnumType(DisconnectReason, "livekit.DisconnectReason", [
198
- { no: 0, name: "UNKNOWN_REASON" },
199
- { no: 1, name: "CLIENT_INITIATED" },
200
- { no: 2, name: "DUPLICATE_IDENTITY" },
201
- { no: 3, name: "SERVER_SHUTDOWN" },
202
- { no: 4, name: "PARTICIPANT_REMOVED" },
203
- { no: 5, name: "ROOM_DELETED" },
204
- { no: 6, name: "STATE_MISMATCH" },
205
- { no: 7, name: "JOIN_FAILURE" },
206
- { no: 8, name: "MIGRATION" },
207
- { no: 9, name: "SIGNAL_CLOSE" },
208
- { no: 10, name: "ROOM_CLOSED" },
209
- { no: 11, name: "USER_UNAVAILABLE" },
210
- { no: 12, name: "USER_REJECTED" },
211
- { no: 13, name: "SIP_TRUNK_FAILURE" }
212
- ]);
213
- var ReconnectReason = /* @__PURE__ */ ((ReconnectReason2) => {
214
- ReconnectReason2[ReconnectReason2["RR_UNKNOWN"] = 0] = "RR_UNKNOWN";
215
- ReconnectReason2[ReconnectReason2["RR_SIGNAL_DISCONNECTED"] = 1] = "RR_SIGNAL_DISCONNECTED";
216
- ReconnectReason2[ReconnectReason2["RR_PUBLISHER_FAILED"] = 2] = "RR_PUBLISHER_FAILED";
217
- ReconnectReason2[ReconnectReason2["RR_SUBSCRIBER_FAILED"] = 3] = "RR_SUBSCRIBER_FAILED";
218
- ReconnectReason2[ReconnectReason2["RR_SWITCH_CANDIDATE"] = 4] = "RR_SWITCH_CANDIDATE";
219
- return ReconnectReason2;
220
- })(ReconnectReason || {});
221
- import_protobuf.proto3.util.setEnumType(ReconnectReason, "livekit.ReconnectReason", [
222
- { no: 0, name: "RR_UNKNOWN" },
223
- { no: 1, name: "RR_SIGNAL_DISCONNECTED" },
224
- { no: 2, name: "RR_PUBLISHER_FAILED" },
225
- { no: 3, name: "RR_SUBSCRIBER_FAILED" },
226
- { no: 4, name: "RR_SWITCH_CANDIDATE" }
227
- ]);
228
- var SubscriptionError = /* @__PURE__ */ ((SubscriptionError2) => {
229
- SubscriptionError2[SubscriptionError2["SE_UNKNOWN"] = 0] = "SE_UNKNOWN";
230
- SubscriptionError2[SubscriptionError2["SE_CODEC_UNSUPPORTED"] = 1] = "SE_CODEC_UNSUPPORTED";
231
- SubscriptionError2[SubscriptionError2["SE_TRACK_NOTFOUND"] = 2] = "SE_TRACK_NOTFOUND";
232
- return SubscriptionError2;
233
- })(SubscriptionError || {});
234
- import_protobuf.proto3.util.setEnumType(SubscriptionError, "livekit.SubscriptionError", [
235
- { no: 0, name: "SE_UNKNOWN" },
236
- { no: 1, name: "SE_CODEC_UNSUPPORTED" },
237
- { no: 2, name: "SE_TRACK_NOTFOUND" }
238
- ]);
239
- var AudioTrackFeature = /* @__PURE__ */ ((AudioTrackFeature2) => {
240
- AudioTrackFeature2[AudioTrackFeature2["TF_STEREO"] = 0] = "TF_STEREO";
241
- AudioTrackFeature2[AudioTrackFeature2["TF_NO_DTX"] = 1] = "TF_NO_DTX";
242
- AudioTrackFeature2[AudioTrackFeature2["TF_AUTO_GAIN_CONTROL"] = 2] = "TF_AUTO_GAIN_CONTROL";
243
- AudioTrackFeature2[AudioTrackFeature2["TF_ECHO_CANCELLATION"] = 3] = "TF_ECHO_CANCELLATION";
244
- AudioTrackFeature2[AudioTrackFeature2["TF_NOISE_SUPPRESSION"] = 4] = "TF_NOISE_SUPPRESSION";
245
- AudioTrackFeature2[AudioTrackFeature2["TF_ENHANCED_NOISE_CANCELLATION"] = 5] = "TF_ENHANCED_NOISE_CANCELLATION";
246
- return AudioTrackFeature2;
247
- })(AudioTrackFeature || {});
248
- import_protobuf.proto3.util.setEnumType(AudioTrackFeature, "livekit.AudioTrackFeature", [
249
- { no: 0, name: "TF_STEREO" },
250
- { no: 1, name: "TF_NO_DTX" },
251
- { no: 2, name: "TF_AUTO_GAIN_CONTROL" },
252
- { no: 3, name: "TF_ECHO_CANCELLATION" },
253
- { no: 4, name: "TF_NOISE_SUPPRESSION" },
254
- { no: 5, name: "TF_ENHANCED_NOISE_CANCELLATION" }
255
- ]);
256
- const _Room = class _Room extends import_protobuf.Message {
257
- constructor(data) {
258
- super();
259
- /**
260
- * @generated from field: string sid = 1;
261
- */
262
- this.sid = "";
263
- /**
264
- * @generated from field: string name = 2;
265
- */
266
- this.name = "";
267
- /**
268
- * @generated from field: uint32 empty_timeout = 3;
269
- */
270
- this.emptyTimeout = 0;
271
- /**
272
- * @generated from field: uint32 departure_timeout = 14;
273
- */
274
- this.departureTimeout = 0;
275
- /**
276
- * @generated from field: uint32 max_participants = 4;
277
- */
278
- this.maxParticipants = 0;
279
- /**
280
- * @generated from field: int64 creation_time = 5;
281
- */
282
- this.creationTime = import_protobuf.protoInt64.zero;
283
- /**
284
- * @generated from field: string turn_password = 6;
285
- */
286
- this.turnPassword = "";
287
- /**
288
- * @generated from field: repeated livekit.Codec enabled_codecs = 7;
289
- */
290
- this.enabledCodecs = [];
291
- /**
292
- * @generated from field: string metadata = 8;
293
- */
294
- this.metadata = "";
295
- /**
296
- * @generated from field: uint32 num_participants = 9;
297
- */
298
- this.numParticipants = 0;
299
- /**
300
- * @generated from field: uint32 num_publishers = 11;
301
- */
302
- this.numPublishers = 0;
303
- /**
304
- * @generated from field: bool active_recording = 10;
305
- */
306
- this.activeRecording = false;
307
- import_protobuf.proto3.util.initPartial(data, this);
308
- }
309
- static fromBinary(bytes, options) {
310
- return new _Room().fromBinary(bytes, options);
311
- }
312
- static fromJson(jsonValue, options) {
313
- return new _Room().fromJson(jsonValue, options);
314
- }
315
- static fromJsonString(jsonString, options) {
316
- return new _Room().fromJsonString(jsonString, options);
317
- }
318
- static equals(a, b) {
319
- return import_protobuf.proto3.util.equals(_Room, a, b);
320
- }
321
- };
322
- _Room.runtime = import_protobuf.proto3;
323
- _Room.typeName = "livekit.Room";
324
- _Room.fields = import_protobuf.proto3.util.newFieldList(() => [
325
- {
326
- no: 1,
327
- name: "sid",
328
- kind: "scalar",
329
- T: 9
330
- /* ScalarType.STRING */
331
- },
332
- {
333
- no: 2,
334
- name: "name",
335
- kind: "scalar",
336
- T: 9
337
- /* ScalarType.STRING */
338
- },
339
- {
340
- no: 3,
341
- name: "empty_timeout",
342
- kind: "scalar",
343
- T: 13
344
- /* ScalarType.UINT32 */
345
- },
346
- {
347
- no: 14,
348
- name: "departure_timeout",
349
- kind: "scalar",
350
- T: 13
351
- /* ScalarType.UINT32 */
352
- },
353
- {
354
- no: 4,
355
- name: "max_participants",
356
- kind: "scalar",
357
- T: 13
358
- /* ScalarType.UINT32 */
359
- },
360
- {
361
- no: 5,
362
- name: "creation_time",
363
- kind: "scalar",
364
- T: 3
365
- /* ScalarType.INT64 */
366
- },
367
- {
368
- no: 6,
369
- name: "turn_password",
370
- kind: "scalar",
371
- T: 9
372
- /* ScalarType.STRING */
373
- },
374
- { no: 7, name: "enabled_codecs", kind: "message", T: Codec, repeated: true },
375
- {
376
- no: 8,
377
- name: "metadata",
378
- kind: "scalar",
379
- T: 9
380
- /* ScalarType.STRING */
381
- },
382
- {
383
- no: 9,
384
- name: "num_participants",
385
- kind: "scalar",
386
- T: 13
387
- /* ScalarType.UINT32 */
388
- },
389
- {
390
- no: 11,
391
- name: "num_publishers",
392
- kind: "scalar",
393
- T: 13
394
- /* ScalarType.UINT32 */
395
- },
396
- {
397
- no: 10,
398
- name: "active_recording",
399
- kind: "scalar",
400
- T: 8
401
- /* ScalarType.BOOL */
402
- },
403
- { no: 13, name: "version", kind: "message", T: TimedVersion }
404
- ]);
405
- let Room = _Room;
406
- const _Codec = class _Codec extends import_protobuf.Message {
407
- constructor(data) {
408
- super();
409
- /**
410
- * @generated from field: string mime = 1;
411
- */
412
- this.mime = "";
413
- /**
414
- * @generated from field: string fmtp_line = 2;
415
- */
416
- this.fmtpLine = "";
417
- import_protobuf.proto3.util.initPartial(data, this);
418
- }
419
- static fromBinary(bytes, options) {
420
- return new _Codec().fromBinary(bytes, options);
421
- }
422
- static fromJson(jsonValue, options) {
423
- return new _Codec().fromJson(jsonValue, options);
424
- }
425
- static fromJsonString(jsonString, options) {
426
- return new _Codec().fromJsonString(jsonString, options);
427
- }
428
- static equals(a, b) {
429
- return import_protobuf.proto3.util.equals(_Codec, a, b);
430
- }
431
- };
432
- _Codec.runtime = import_protobuf.proto3;
433
- _Codec.typeName = "livekit.Codec";
434
- _Codec.fields = import_protobuf.proto3.util.newFieldList(() => [
435
- {
436
- no: 1,
437
- name: "mime",
438
- kind: "scalar",
439
- T: 9
440
- /* ScalarType.STRING */
441
- },
442
- {
443
- no: 2,
444
- name: "fmtp_line",
445
- kind: "scalar",
446
- T: 9
447
- /* ScalarType.STRING */
448
- }
449
- ]);
450
- let Codec = _Codec;
451
- const _PlayoutDelay = class _PlayoutDelay extends import_protobuf.Message {
452
- constructor(data) {
453
- super();
454
- /**
455
- * @generated from field: bool enabled = 1;
456
- */
457
- this.enabled = false;
458
- /**
459
- * @generated from field: uint32 min = 2;
460
- */
461
- this.min = 0;
462
- /**
463
- * @generated from field: uint32 max = 3;
464
- */
465
- this.max = 0;
466
- import_protobuf.proto3.util.initPartial(data, this);
467
- }
468
- static fromBinary(bytes, options) {
469
- return new _PlayoutDelay().fromBinary(bytes, options);
470
- }
471
- static fromJson(jsonValue, options) {
472
- return new _PlayoutDelay().fromJson(jsonValue, options);
473
- }
474
- static fromJsonString(jsonString, options) {
475
- return new _PlayoutDelay().fromJsonString(jsonString, options);
476
- }
477
- static equals(a, b) {
478
- return import_protobuf.proto3.util.equals(_PlayoutDelay, a, b);
479
- }
480
- };
481
- _PlayoutDelay.runtime = import_protobuf.proto3;
482
- _PlayoutDelay.typeName = "livekit.PlayoutDelay";
483
- _PlayoutDelay.fields = import_protobuf.proto3.util.newFieldList(() => [
484
- {
485
- no: 1,
486
- name: "enabled",
487
- kind: "scalar",
488
- T: 8
489
- /* ScalarType.BOOL */
490
- },
491
- {
492
- no: 2,
493
- name: "min",
494
- kind: "scalar",
495
- T: 13
496
- /* ScalarType.UINT32 */
497
- },
498
- {
499
- no: 3,
500
- name: "max",
501
- kind: "scalar",
502
- T: 13
503
- /* ScalarType.UINT32 */
504
- }
505
- ]);
506
- let PlayoutDelay = _PlayoutDelay;
507
- const _ParticipantPermission = class _ParticipantPermission extends import_protobuf.Message {
508
- constructor(data) {
509
- super();
510
- /**
511
- * allow participant to subscribe to other tracks in the room
512
- *
513
- * @generated from field: bool can_subscribe = 1;
514
- */
515
- this.canSubscribe = false;
516
- /**
517
- * allow participant to publish new tracks to room
518
- *
519
- * @generated from field: bool can_publish = 2;
520
- */
521
- this.canPublish = false;
522
- /**
523
- * allow participant to publish data
524
- *
525
- * @generated from field: bool can_publish_data = 3;
526
- */
527
- this.canPublishData = false;
528
- /**
529
- * sources that are allowed to be published
530
- *
531
- * @generated from field: repeated livekit.TrackSource can_publish_sources = 9;
532
- */
533
- this.canPublishSources = [];
534
- /**
535
- * indicates that it's hidden to others
536
- *
537
- * @generated from field: bool hidden = 7;
538
- */
539
- this.hidden = false;
540
- /**
541
- * indicates it's a recorder instance
542
- * deprecated: use ParticipantInfo.kind instead
543
- *
544
- * @generated from field: bool recorder = 8 [deprecated = true];
545
- * @deprecated
546
- */
547
- this.recorder = false;
548
- /**
549
- * indicates that participant can update own metadata and attributes
550
- *
551
- * @generated from field: bool can_update_metadata = 10;
552
- */
553
- this.canUpdateMetadata = false;
554
- /**
555
- * indicates that participant is an agent
556
- * deprecated: use ParticipantInfo.kind instead
557
- *
558
- * @generated from field: bool agent = 11 [deprecated = true];
559
- * @deprecated
560
- */
561
- this.agent = false;
562
- /**
563
- * if a participant can subscribe to metrics
564
- *
565
- * @generated from field: bool can_subscribe_metrics = 12;
566
- */
567
- this.canSubscribeMetrics = false;
568
- import_protobuf.proto3.util.initPartial(data, this);
569
- }
570
- static fromBinary(bytes, options) {
571
- return new _ParticipantPermission().fromBinary(bytes, options);
572
- }
573
- static fromJson(jsonValue, options) {
574
- return new _ParticipantPermission().fromJson(jsonValue, options);
575
- }
576
- static fromJsonString(jsonString, options) {
577
- return new _ParticipantPermission().fromJsonString(jsonString, options);
578
- }
579
- static equals(a, b) {
580
- return import_protobuf.proto3.util.equals(_ParticipantPermission, a, b);
581
- }
582
- };
583
- _ParticipantPermission.runtime = import_protobuf.proto3;
584
- _ParticipantPermission.typeName = "livekit.ParticipantPermission";
585
- _ParticipantPermission.fields = import_protobuf.proto3.util.newFieldList(() => [
586
- {
587
- no: 1,
588
- name: "can_subscribe",
589
- kind: "scalar",
590
- T: 8
591
- /* ScalarType.BOOL */
592
- },
593
- {
594
- no: 2,
595
- name: "can_publish",
596
- kind: "scalar",
597
- T: 8
598
- /* ScalarType.BOOL */
599
- },
600
- {
601
- no: 3,
602
- name: "can_publish_data",
603
- kind: "scalar",
604
- T: 8
605
- /* ScalarType.BOOL */
606
- },
607
- { no: 9, name: "can_publish_sources", kind: "enum", T: import_protobuf.proto3.getEnumType(TrackSource), repeated: true },
608
- {
609
- no: 7,
610
- name: "hidden",
611
- kind: "scalar",
612
- T: 8
613
- /* ScalarType.BOOL */
614
- },
615
- {
616
- no: 8,
617
- name: "recorder",
618
- kind: "scalar",
619
- T: 8
620
- /* ScalarType.BOOL */
621
- },
622
- {
623
- no: 10,
624
- name: "can_update_metadata",
625
- kind: "scalar",
626
- T: 8
627
- /* ScalarType.BOOL */
628
- },
629
- {
630
- no: 11,
631
- name: "agent",
632
- kind: "scalar",
633
- T: 8
634
- /* ScalarType.BOOL */
635
- },
636
- {
637
- no: 12,
638
- name: "can_subscribe_metrics",
639
- kind: "scalar",
640
- T: 8
641
- /* ScalarType.BOOL */
642
- }
643
- ]);
644
- let ParticipantPermission = _ParticipantPermission;
645
- const _ParticipantInfo = class _ParticipantInfo extends import_protobuf.Message {
646
- constructor(data) {
647
- super();
648
- /**
649
- * @generated from field: string sid = 1;
650
- */
651
- this.sid = "";
652
- /**
653
- * @generated from field: string identity = 2;
654
- */
655
- this.identity = "";
656
- /**
657
- * @generated from field: livekit.ParticipantInfo.State state = 3;
658
- */
659
- this.state = 0 /* JOINING */;
660
- /**
661
- * @generated from field: repeated livekit.TrackInfo tracks = 4;
662
- */
663
- this.tracks = [];
664
- /**
665
- * @generated from field: string metadata = 5;
666
- */
667
- this.metadata = "";
668
- /**
669
- * timestamp when participant joined room, in seconds
670
- *
671
- * @generated from field: int64 joined_at = 6;
672
- */
673
- this.joinedAt = import_protobuf.protoInt64.zero;
674
- /**
675
- * @generated from field: string name = 9;
676
- */
677
- this.name = "";
678
- /**
679
- * @generated from field: uint32 version = 10;
680
- */
681
- this.version = 0;
682
- /**
683
- * @generated from field: string region = 12;
684
- */
685
- this.region = "";
686
- /**
687
- * indicates the participant has an active publisher connection
688
- * and can publish to the server
689
- *
690
- * @generated from field: bool is_publisher = 13;
691
- */
692
- this.isPublisher = false;
693
- /**
694
- * @generated from field: livekit.ParticipantInfo.Kind kind = 14;
695
- */
696
- this.kind = 0 /* STANDARD */;
697
- /**
698
- * @generated from field: map<string, string> attributes = 15;
699
- */
700
- this.attributes = {};
701
- /**
702
- * @generated from field: livekit.DisconnectReason disconnect_reason = 16;
703
- */
704
- this.disconnectReason = 0 /* UNKNOWN_REASON */;
705
- import_protobuf.proto3.util.initPartial(data, this);
706
- }
707
- static fromBinary(bytes, options) {
708
- return new _ParticipantInfo().fromBinary(bytes, options);
709
- }
710
- static fromJson(jsonValue, options) {
711
- return new _ParticipantInfo().fromJson(jsonValue, options);
712
- }
713
- static fromJsonString(jsonString, options) {
714
- return new _ParticipantInfo().fromJsonString(jsonString, options);
715
- }
716
- static equals(a, b) {
717
- return import_protobuf.proto3.util.equals(_ParticipantInfo, a, b);
718
- }
719
- };
720
- _ParticipantInfo.runtime = import_protobuf.proto3;
721
- _ParticipantInfo.typeName = "livekit.ParticipantInfo";
722
- _ParticipantInfo.fields = import_protobuf.proto3.util.newFieldList(() => [
723
- {
724
- no: 1,
725
- name: "sid",
726
- kind: "scalar",
727
- T: 9
728
- /* ScalarType.STRING */
729
- },
730
- {
731
- no: 2,
732
- name: "identity",
733
- kind: "scalar",
734
- T: 9
735
- /* ScalarType.STRING */
736
- },
737
- { no: 3, name: "state", kind: "enum", T: import_protobuf.proto3.getEnumType(ParticipantInfo_State) },
738
- { no: 4, name: "tracks", kind: "message", T: TrackInfo, repeated: true },
739
- {
740
- no: 5,
741
- name: "metadata",
742
- kind: "scalar",
743
- T: 9
744
- /* ScalarType.STRING */
745
- },
746
- {
747
- no: 6,
748
- name: "joined_at",
749
- kind: "scalar",
750
- T: 3
751
- /* ScalarType.INT64 */
752
- },
753
- {
754
- no: 9,
755
- name: "name",
756
- kind: "scalar",
757
- T: 9
758
- /* ScalarType.STRING */
759
- },
760
- {
761
- no: 10,
762
- name: "version",
763
- kind: "scalar",
764
- T: 13
765
- /* ScalarType.UINT32 */
766
- },
767
- { no: 11, name: "permission", kind: "message", T: ParticipantPermission },
768
- {
769
- no: 12,
770
- name: "region",
771
- kind: "scalar",
772
- T: 9
773
- /* ScalarType.STRING */
774
- },
775
- {
776
- no: 13,
777
- name: "is_publisher",
778
- kind: "scalar",
779
- T: 8
780
- /* ScalarType.BOOL */
781
- },
782
- { no: 14, name: "kind", kind: "enum", T: import_protobuf.proto3.getEnumType(ParticipantInfo_Kind) },
783
- { no: 15, name: "attributes", kind: "map", K: 9, V: {
784
- kind: "scalar",
785
- T: 9
786
- /* ScalarType.STRING */
787
- } },
788
- { no: 16, name: "disconnect_reason", kind: "enum", T: import_protobuf.proto3.getEnumType(DisconnectReason) }
789
- ]);
790
- let ParticipantInfo = _ParticipantInfo;
791
- var ParticipantInfo_State = /* @__PURE__ */ ((ParticipantInfo_State2) => {
792
- ParticipantInfo_State2[ParticipantInfo_State2["JOINING"] = 0] = "JOINING";
793
- ParticipantInfo_State2[ParticipantInfo_State2["JOINED"] = 1] = "JOINED";
794
- ParticipantInfo_State2[ParticipantInfo_State2["ACTIVE"] = 2] = "ACTIVE";
795
- ParticipantInfo_State2[ParticipantInfo_State2["DISCONNECTED"] = 3] = "DISCONNECTED";
796
- return ParticipantInfo_State2;
797
- })(ParticipantInfo_State || {});
798
- import_protobuf.proto3.util.setEnumType(ParticipantInfo_State, "livekit.ParticipantInfo.State", [
799
- { no: 0, name: "JOINING" },
800
- { no: 1, name: "JOINED" },
801
- { no: 2, name: "ACTIVE" },
802
- { no: 3, name: "DISCONNECTED" }
803
- ]);
804
- var ParticipantInfo_Kind = /* @__PURE__ */ ((ParticipantInfo_Kind2) => {
805
- ParticipantInfo_Kind2[ParticipantInfo_Kind2["STANDARD"] = 0] = "STANDARD";
806
- ParticipantInfo_Kind2[ParticipantInfo_Kind2["INGRESS"] = 1] = "INGRESS";
807
- ParticipantInfo_Kind2[ParticipantInfo_Kind2["EGRESS"] = 2] = "EGRESS";
808
- ParticipantInfo_Kind2[ParticipantInfo_Kind2["SIP"] = 3] = "SIP";
809
- ParticipantInfo_Kind2[ParticipantInfo_Kind2["AGENT"] = 4] = "AGENT";
810
- return ParticipantInfo_Kind2;
811
- })(ParticipantInfo_Kind || {});
812
- import_protobuf.proto3.util.setEnumType(ParticipantInfo_Kind, "livekit.ParticipantInfo.Kind", [
813
- { no: 0, name: "STANDARD" },
814
- { no: 1, name: "INGRESS" },
815
- { no: 2, name: "EGRESS" },
816
- { no: 3, name: "SIP" },
817
- { no: 4, name: "AGENT" }
818
- ]);
819
- const _Encryption = class _Encryption extends import_protobuf.Message {
820
- constructor(data) {
821
- super();
822
- import_protobuf.proto3.util.initPartial(data, this);
823
- }
824
- static fromBinary(bytes, options) {
825
- return new _Encryption().fromBinary(bytes, options);
826
- }
827
- static fromJson(jsonValue, options) {
828
- return new _Encryption().fromJson(jsonValue, options);
829
- }
830
- static fromJsonString(jsonString, options) {
831
- return new _Encryption().fromJsonString(jsonString, options);
832
- }
833
- static equals(a, b) {
834
- return import_protobuf.proto3.util.equals(_Encryption, a, b);
835
- }
836
- };
837
- _Encryption.runtime = import_protobuf.proto3;
838
- _Encryption.typeName = "livekit.Encryption";
839
- _Encryption.fields = import_protobuf.proto3.util.newFieldList(() => []);
840
- let Encryption = _Encryption;
841
- var Encryption_Type = /* @__PURE__ */ ((Encryption_Type2) => {
842
- Encryption_Type2[Encryption_Type2["NONE"] = 0] = "NONE";
843
- Encryption_Type2[Encryption_Type2["GCM"] = 1] = "GCM";
844
- Encryption_Type2[Encryption_Type2["CUSTOM"] = 2] = "CUSTOM";
845
- return Encryption_Type2;
846
- })(Encryption_Type || {});
847
- import_protobuf.proto3.util.setEnumType(Encryption_Type, "livekit.Encryption.Type", [
848
- { no: 0, name: "NONE" },
849
- { no: 1, name: "GCM" },
850
- { no: 2, name: "CUSTOM" }
851
- ]);
852
- const _SimulcastCodecInfo = class _SimulcastCodecInfo extends import_protobuf.Message {
853
- constructor(data) {
854
- super();
855
- /**
856
- * @generated from field: string mime_type = 1;
857
- */
858
- this.mimeType = "";
859
- /**
860
- * @generated from field: string mid = 2;
861
- */
862
- this.mid = "";
863
- /**
864
- * @generated from field: string cid = 3;
865
- */
866
- this.cid = "";
867
- /**
868
- * @generated from field: repeated livekit.VideoLayer layers = 4;
869
- */
870
- this.layers = [];
871
- import_protobuf.proto3.util.initPartial(data, this);
872
- }
873
- static fromBinary(bytes, options) {
874
- return new _SimulcastCodecInfo().fromBinary(bytes, options);
875
- }
876
- static fromJson(jsonValue, options) {
877
- return new _SimulcastCodecInfo().fromJson(jsonValue, options);
878
- }
879
- static fromJsonString(jsonString, options) {
880
- return new _SimulcastCodecInfo().fromJsonString(jsonString, options);
881
- }
882
- static equals(a, b) {
883
- return import_protobuf.proto3.util.equals(_SimulcastCodecInfo, a, b);
884
- }
885
- };
886
- _SimulcastCodecInfo.runtime = import_protobuf.proto3;
887
- _SimulcastCodecInfo.typeName = "livekit.SimulcastCodecInfo";
888
- _SimulcastCodecInfo.fields = import_protobuf.proto3.util.newFieldList(() => [
889
- {
890
- no: 1,
891
- name: "mime_type",
892
- kind: "scalar",
893
- T: 9
894
- /* ScalarType.STRING */
895
- },
896
- {
897
- no: 2,
898
- name: "mid",
899
- kind: "scalar",
900
- T: 9
901
- /* ScalarType.STRING */
902
- },
903
- {
904
- no: 3,
905
- name: "cid",
906
- kind: "scalar",
907
- T: 9
908
- /* ScalarType.STRING */
909
- },
910
- { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true }
911
- ]);
912
- let SimulcastCodecInfo = _SimulcastCodecInfo;
913
- const _TrackInfo = class _TrackInfo extends import_protobuf.Message {
914
- constructor(data) {
915
- super();
916
- /**
917
- * @generated from field: string sid = 1;
918
- */
919
- this.sid = "";
920
- /**
921
- * @generated from field: livekit.TrackType type = 2;
922
- */
923
- this.type = 0 /* AUDIO */;
924
- /**
925
- * @generated from field: string name = 3;
926
- */
927
- this.name = "";
928
- /**
929
- * @generated from field: bool muted = 4;
930
- */
931
- this.muted = false;
932
- /**
933
- * original width of video (unset for audio)
934
- * clients may receive a lower resolution version with simulcast
935
- *
936
- * @generated from field: uint32 width = 5;
937
- */
938
- this.width = 0;
939
- /**
940
- * original height of video (unset for audio)
941
- *
942
- * @generated from field: uint32 height = 6;
943
- */
944
- this.height = 0;
945
- /**
946
- * true if track is simulcasted
947
- *
948
- * @generated from field: bool simulcast = 7;
949
- */
950
- this.simulcast = false;
951
- /**
952
- * true if DTX (Discontinuous Transmission) is disabled for audio
953
- *
954
- * @generated from field: bool disable_dtx = 8;
955
- */
956
- this.disableDtx = false;
957
- /**
958
- * source of media
959
- *
960
- * @generated from field: livekit.TrackSource source = 9;
961
- */
962
- this.source = 0 /* UNKNOWN */;
963
- /**
964
- * @generated from field: repeated livekit.VideoLayer layers = 10;
965
- */
966
- this.layers = [];
967
- /**
968
- * mime type of codec
969
- *
970
- * @generated from field: string mime_type = 11;
971
- */
972
- this.mimeType = "";
973
- /**
974
- * @generated from field: string mid = 12;
975
- */
976
- this.mid = "";
977
- /**
978
- * @generated from field: repeated livekit.SimulcastCodecInfo codecs = 13;
979
- */
980
- this.codecs = [];
981
- /**
982
- * @generated from field: bool stereo = 14;
983
- */
984
- this.stereo = false;
985
- /**
986
- * true if RED (Redundant Encoding) is disabled for audio
987
- *
988
- * @generated from field: bool disable_red = 15;
989
- */
990
- this.disableRed = false;
991
- /**
992
- * @generated from field: livekit.Encryption.Type encryption = 16;
993
- */
994
- this.encryption = 0 /* NONE */;
995
- /**
996
- * @generated from field: string stream = 17;
997
- */
998
- this.stream = "";
999
- /**
1000
- * @generated from field: repeated livekit.AudioTrackFeature audio_features = 19;
1001
- */
1002
- this.audioFeatures = [];
1003
- import_protobuf.proto3.util.initPartial(data, this);
1004
- }
1005
- static fromBinary(bytes, options) {
1006
- return new _TrackInfo().fromBinary(bytes, options);
1007
- }
1008
- static fromJson(jsonValue, options) {
1009
- return new _TrackInfo().fromJson(jsonValue, options);
1010
- }
1011
- static fromJsonString(jsonString, options) {
1012
- return new _TrackInfo().fromJsonString(jsonString, options);
1013
- }
1014
- static equals(a, b) {
1015
- return import_protobuf.proto3.util.equals(_TrackInfo, a, b);
1016
- }
1017
- };
1018
- _TrackInfo.runtime = import_protobuf.proto3;
1019
- _TrackInfo.typeName = "livekit.TrackInfo";
1020
- _TrackInfo.fields = import_protobuf.proto3.util.newFieldList(() => [
1021
- {
1022
- no: 1,
1023
- name: "sid",
1024
- kind: "scalar",
1025
- T: 9
1026
- /* ScalarType.STRING */
1027
- },
1028
- { no: 2, name: "type", kind: "enum", T: import_protobuf.proto3.getEnumType(TrackType) },
1029
- {
1030
- no: 3,
1031
- name: "name",
1032
- kind: "scalar",
1033
- T: 9
1034
- /* ScalarType.STRING */
1035
- },
1036
- {
1037
- no: 4,
1038
- name: "muted",
1039
- kind: "scalar",
1040
- T: 8
1041
- /* ScalarType.BOOL */
1042
- },
1043
- {
1044
- no: 5,
1045
- name: "width",
1046
- kind: "scalar",
1047
- T: 13
1048
- /* ScalarType.UINT32 */
1049
- },
1050
- {
1051
- no: 6,
1052
- name: "height",
1053
- kind: "scalar",
1054
- T: 13
1055
- /* ScalarType.UINT32 */
1056
- },
1057
- {
1058
- no: 7,
1059
- name: "simulcast",
1060
- kind: "scalar",
1061
- T: 8
1062
- /* ScalarType.BOOL */
1063
- },
1064
- {
1065
- no: 8,
1066
- name: "disable_dtx",
1067
- kind: "scalar",
1068
- T: 8
1069
- /* ScalarType.BOOL */
1070
- },
1071
- { no: 9, name: "source", kind: "enum", T: import_protobuf.proto3.getEnumType(TrackSource) },
1072
- { no: 10, name: "layers", kind: "message", T: VideoLayer, repeated: true },
1073
- {
1074
- no: 11,
1075
- name: "mime_type",
1076
- kind: "scalar",
1077
- T: 9
1078
- /* ScalarType.STRING */
1079
- },
1080
- {
1081
- no: 12,
1082
- name: "mid",
1083
- kind: "scalar",
1084
- T: 9
1085
- /* ScalarType.STRING */
1086
- },
1087
- { no: 13, name: "codecs", kind: "message", T: SimulcastCodecInfo, repeated: true },
1088
- {
1089
- no: 14,
1090
- name: "stereo",
1091
- kind: "scalar",
1092
- T: 8
1093
- /* ScalarType.BOOL */
1094
- },
1095
- {
1096
- no: 15,
1097
- name: "disable_red",
1098
- kind: "scalar",
1099
- T: 8
1100
- /* ScalarType.BOOL */
1101
- },
1102
- { no: 16, name: "encryption", kind: "enum", T: import_protobuf.proto3.getEnumType(Encryption_Type) },
1103
- {
1104
- no: 17,
1105
- name: "stream",
1106
- kind: "scalar",
1107
- T: 9
1108
- /* ScalarType.STRING */
1109
- },
1110
- { no: 18, name: "version", kind: "message", T: TimedVersion },
1111
- { no: 19, name: "audio_features", kind: "enum", T: import_protobuf.proto3.getEnumType(AudioTrackFeature), repeated: true }
1112
- ]);
1113
- let TrackInfo = _TrackInfo;
1114
- const _VideoLayer = class _VideoLayer extends import_protobuf.Message {
1115
- constructor(data) {
1116
- super();
1117
- /**
1118
- * for tracks with a single layer, this should be HIGH
1119
- *
1120
- * @generated from field: livekit.VideoQuality quality = 1;
1121
- */
1122
- this.quality = 0 /* LOW */;
1123
- /**
1124
- * @generated from field: uint32 width = 2;
1125
- */
1126
- this.width = 0;
1127
- /**
1128
- * @generated from field: uint32 height = 3;
1129
- */
1130
- this.height = 0;
1131
- /**
1132
- * target bitrate in bit per second (bps), server will measure actual
1133
- *
1134
- * @generated from field: uint32 bitrate = 4;
1135
- */
1136
- this.bitrate = 0;
1137
- /**
1138
- * @generated from field: uint32 ssrc = 5;
1139
- */
1140
- this.ssrc = 0;
1141
- import_protobuf.proto3.util.initPartial(data, this);
1142
- }
1143
- static fromBinary(bytes, options) {
1144
- return new _VideoLayer().fromBinary(bytes, options);
1145
- }
1146
- static fromJson(jsonValue, options) {
1147
- return new _VideoLayer().fromJson(jsonValue, options);
1148
- }
1149
- static fromJsonString(jsonString, options) {
1150
- return new _VideoLayer().fromJsonString(jsonString, options);
1151
- }
1152
- static equals(a, b) {
1153
- return import_protobuf.proto3.util.equals(_VideoLayer, a, b);
1154
- }
1155
- };
1156
- _VideoLayer.runtime = import_protobuf.proto3;
1157
- _VideoLayer.typeName = "livekit.VideoLayer";
1158
- _VideoLayer.fields = import_protobuf.proto3.util.newFieldList(() => [
1159
- { no: 1, name: "quality", kind: "enum", T: import_protobuf.proto3.getEnumType(VideoQuality) },
1160
- {
1161
- no: 2,
1162
- name: "width",
1163
- kind: "scalar",
1164
- T: 13
1165
- /* ScalarType.UINT32 */
1166
- },
1167
- {
1168
- no: 3,
1169
- name: "height",
1170
- kind: "scalar",
1171
- T: 13
1172
- /* ScalarType.UINT32 */
1173
- },
1174
- {
1175
- no: 4,
1176
- name: "bitrate",
1177
- kind: "scalar",
1178
- T: 13
1179
- /* ScalarType.UINT32 */
1180
- },
1181
- {
1182
- no: 5,
1183
- name: "ssrc",
1184
- kind: "scalar",
1185
- T: 13
1186
- /* ScalarType.UINT32 */
1187
- }
1188
- ]);
1189
- let VideoLayer = _VideoLayer;
1190
- const _DataPacket = class _DataPacket extends import_protobuf.Message {
1191
- constructor(data) {
1192
- super();
1193
- /**
1194
- * @generated from field: livekit.DataPacket.Kind kind = 1 [deprecated = true];
1195
- * @deprecated
1196
- */
1197
- this.kind = 0 /* RELIABLE */;
1198
- /**
1199
- * participant identity of user that sent the message
1200
- *
1201
- * @generated from field: string participant_identity = 4;
1202
- */
1203
- this.participantIdentity = "";
1204
- /**
1205
- * identities of participants who will receive the message (sent to all by default)
1206
- *
1207
- * @generated from field: repeated string destination_identities = 5;
1208
- */
1209
- this.destinationIdentities = [];
1210
- /**
1211
- * @generated from oneof livekit.DataPacket.value
1212
- */
1213
- this.value = { case: void 0 };
1214
- import_protobuf.proto3.util.initPartial(data, this);
1215
- }
1216
- static fromBinary(bytes, options) {
1217
- return new _DataPacket().fromBinary(bytes, options);
1218
- }
1219
- static fromJson(jsonValue, options) {
1220
- return new _DataPacket().fromJson(jsonValue, options);
1221
- }
1222
- static fromJsonString(jsonString, options) {
1223
- return new _DataPacket().fromJsonString(jsonString, options);
1224
- }
1225
- static equals(a, b) {
1226
- return import_protobuf.proto3.util.equals(_DataPacket, a, b);
1227
- }
1228
- };
1229
- _DataPacket.runtime = import_protobuf.proto3;
1230
- _DataPacket.typeName = "livekit.DataPacket";
1231
- _DataPacket.fields = import_protobuf.proto3.util.newFieldList(() => [
1232
- { no: 1, name: "kind", kind: "enum", T: import_protobuf.proto3.getEnumType(DataPacket_Kind) },
1233
- {
1234
- no: 4,
1235
- name: "participant_identity",
1236
- kind: "scalar",
1237
- T: 9
1238
- /* ScalarType.STRING */
1239
- },
1240
- { no: 5, name: "destination_identities", kind: "scalar", T: 9, repeated: true },
1241
- { no: 2, name: "user", kind: "message", T: UserPacket, oneof: "value" },
1242
- { no: 3, name: "speaker", kind: "message", T: ActiveSpeakerUpdate, oneof: "value" },
1243
- { no: 6, name: "sip_dtmf", kind: "message", T: SipDTMF, oneof: "value" },
1244
- { no: 7, name: "transcription", kind: "message", T: Transcription, oneof: "value" },
1245
- { no: 8, name: "metrics", kind: "message", T: import_livekit_metrics_pb.MetricsBatch, oneof: "value" },
1246
- { no: 9, name: "chat_message", kind: "message", T: ChatMessage, oneof: "value" },
1247
- { no: 10, name: "rpc_request", kind: "message", T: RpcRequest, oneof: "value" },
1248
- { no: 11, name: "rpc_ack", kind: "message", T: RpcAck, oneof: "value" },
1249
- { no: 12, name: "rpc_response", kind: "message", T: RpcResponse, oneof: "value" },
1250
- { no: 13, name: "stream_header", kind: "message", T: DataStream_Header, oneof: "value" },
1251
- { no: 14, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" }
1252
- ]);
1253
- let DataPacket = _DataPacket;
1254
- var DataPacket_Kind = /* @__PURE__ */ ((DataPacket_Kind2) => {
1255
- DataPacket_Kind2[DataPacket_Kind2["RELIABLE"] = 0] = "RELIABLE";
1256
- DataPacket_Kind2[DataPacket_Kind2["LOSSY"] = 1] = "LOSSY";
1257
- return DataPacket_Kind2;
1258
- })(DataPacket_Kind || {});
1259
- import_protobuf.proto3.util.setEnumType(DataPacket_Kind, "livekit.DataPacket.Kind", [
1260
- { no: 0, name: "RELIABLE" },
1261
- { no: 1, name: "LOSSY" }
1262
- ]);
1263
- const _ActiveSpeakerUpdate = class _ActiveSpeakerUpdate extends import_protobuf.Message {
1264
- constructor(data) {
1265
- super();
1266
- /**
1267
- * @generated from field: repeated livekit.SpeakerInfo speakers = 1;
1268
- */
1269
- this.speakers = [];
1270
- import_protobuf.proto3.util.initPartial(data, this);
1271
- }
1272
- static fromBinary(bytes, options) {
1273
- return new _ActiveSpeakerUpdate().fromBinary(bytes, options);
1274
- }
1275
- static fromJson(jsonValue, options) {
1276
- return new _ActiveSpeakerUpdate().fromJson(jsonValue, options);
1277
- }
1278
- static fromJsonString(jsonString, options) {
1279
- return new _ActiveSpeakerUpdate().fromJsonString(jsonString, options);
1280
- }
1281
- static equals(a, b) {
1282
- return import_protobuf.proto3.util.equals(_ActiveSpeakerUpdate, a, b);
1283
- }
1284
- };
1285
- _ActiveSpeakerUpdate.runtime = import_protobuf.proto3;
1286
- _ActiveSpeakerUpdate.typeName = "livekit.ActiveSpeakerUpdate";
1287
- _ActiveSpeakerUpdate.fields = import_protobuf.proto3.util.newFieldList(() => [
1288
- { no: 1, name: "speakers", kind: "message", T: SpeakerInfo, repeated: true }
1289
- ]);
1290
- let ActiveSpeakerUpdate = _ActiveSpeakerUpdate;
1291
- const _SpeakerInfo = class _SpeakerInfo extends import_protobuf.Message {
1292
- constructor(data) {
1293
- super();
1294
- /**
1295
- * @generated from field: string sid = 1;
1296
- */
1297
- this.sid = "";
1298
- /**
1299
- * audio level, 0-1.0, 1 is loudest
1300
- *
1301
- * @generated from field: float level = 2;
1302
- */
1303
- this.level = 0;
1304
- /**
1305
- * true if speaker is currently active
1306
- *
1307
- * @generated from field: bool active = 3;
1308
- */
1309
- this.active = false;
1310
- import_protobuf.proto3.util.initPartial(data, this);
1311
- }
1312
- static fromBinary(bytes, options) {
1313
- return new _SpeakerInfo().fromBinary(bytes, options);
1314
- }
1315
- static fromJson(jsonValue, options) {
1316
- return new _SpeakerInfo().fromJson(jsonValue, options);
1317
- }
1318
- static fromJsonString(jsonString, options) {
1319
- return new _SpeakerInfo().fromJsonString(jsonString, options);
1320
- }
1321
- static equals(a, b) {
1322
- return import_protobuf.proto3.util.equals(_SpeakerInfo, a, b);
1323
- }
1324
- };
1325
- _SpeakerInfo.runtime = import_protobuf.proto3;
1326
- _SpeakerInfo.typeName = "livekit.SpeakerInfo";
1327
- _SpeakerInfo.fields = import_protobuf.proto3.util.newFieldList(() => [
1328
- {
1329
- no: 1,
1330
- name: "sid",
1331
- kind: "scalar",
1332
- T: 9
1333
- /* ScalarType.STRING */
1334
- },
1335
- {
1336
- no: 2,
1337
- name: "level",
1338
- kind: "scalar",
1339
- T: 2
1340
- /* ScalarType.FLOAT */
1341
- },
1342
- {
1343
- no: 3,
1344
- name: "active",
1345
- kind: "scalar",
1346
- T: 8
1347
- /* ScalarType.BOOL */
1348
- }
1349
- ]);
1350
- let SpeakerInfo = _SpeakerInfo;
1351
- const _UserPacket = class _UserPacket extends import_protobuf.Message {
1352
- constructor(data) {
1353
- super();
1354
- /**
1355
- * participant ID of user that sent the message
1356
- *
1357
- * @generated from field: string participant_sid = 1 [deprecated = true];
1358
- * @deprecated
1359
- */
1360
- this.participantSid = "";
1361
- /**
1362
- * @generated from field: string participant_identity = 5 [deprecated = true];
1363
- * @deprecated
1364
- */
1365
- this.participantIdentity = "";
1366
- /**
1367
- * user defined payload
1368
- *
1369
- * @generated from field: bytes payload = 2;
1370
- */
1371
- this.payload = new Uint8Array(0);
1372
- /**
1373
- * the ID of the participants who will receive the message (sent to all by default)
1374
- *
1375
- * @generated from field: repeated string destination_sids = 3 [deprecated = true];
1376
- * @deprecated
1377
- */
1378
- this.destinationSids = [];
1379
- /**
1380
- * identities of participants who will receive the message (sent to all by default)
1381
- *
1382
- * @generated from field: repeated string destination_identities = 6 [deprecated = true];
1383
- * @deprecated
1384
- */
1385
- this.destinationIdentities = [];
1386
- import_protobuf.proto3.util.initPartial(data, this);
1387
- }
1388
- static fromBinary(bytes, options) {
1389
- return new _UserPacket().fromBinary(bytes, options);
1390
- }
1391
- static fromJson(jsonValue, options) {
1392
- return new _UserPacket().fromJson(jsonValue, options);
1393
- }
1394
- static fromJsonString(jsonString, options) {
1395
- return new _UserPacket().fromJsonString(jsonString, options);
1396
- }
1397
- static equals(a, b) {
1398
- return import_protobuf.proto3.util.equals(_UserPacket, a, b);
1399
- }
1400
- };
1401
- _UserPacket.runtime = import_protobuf.proto3;
1402
- _UserPacket.typeName = "livekit.UserPacket";
1403
- _UserPacket.fields = import_protobuf.proto3.util.newFieldList(() => [
1404
- {
1405
- no: 1,
1406
- name: "participant_sid",
1407
- kind: "scalar",
1408
- T: 9
1409
- /* ScalarType.STRING */
1410
- },
1411
- {
1412
- no: 5,
1413
- name: "participant_identity",
1414
- kind: "scalar",
1415
- T: 9
1416
- /* ScalarType.STRING */
1417
- },
1418
- {
1419
- no: 2,
1420
- name: "payload",
1421
- kind: "scalar",
1422
- T: 12
1423
- /* ScalarType.BYTES */
1424
- },
1425
- { no: 3, name: "destination_sids", kind: "scalar", T: 9, repeated: true },
1426
- { no: 6, name: "destination_identities", kind: "scalar", T: 9, repeated: true },
1427
- { no: 4, name: "topic", kind: "scalar", T: 9, opt: true },
1428
- { no: 8, name: "id", kind: "scalar", T: 9, opt: true },
1429
- { no: 9, name: "start_time", kind: "scalar", T: 4, opt: true },
1430
- { no: 10, name: "end_time", kind: "scalar", T: 4, opt: true }
1431
- ]);
1432
- let UserPacket = _UserPacket;
1433
- const _SipDTMF = class _SipDTMF extends import_protobuf.Message {
1434
- constructor(data) {
1435
- super();
1436
- /**
1437
- * @generated from field: uint32 code = 3;
1438
- */
1439
- this.code = 0;
1440
- /**
1441
- * @generated from field: string digit = 4;
1442
- */
1443
- this.digit = "";
1444
- import_protobuf.proto3.util.initPartial(data, this);
1445
- }
1446
- static fromBinary(bytes, options) {
1447
- return new _SipDTMF().fromBinary(bytes, options);
1448
- }
1449
- static fromJson(jsonValue, options) {
1450
- return new _SipDTMF().fromJson(jsonValue, options);
1451
- }
1452
- static fromJsonString(jsonString, options) {
1453
- return new _SipDTMF().fromJsonString(jsonString, options);
1454
- }
1455
- static equals(a, b) {
1456
- return import_protobuf.proto3.util.equals(_SipDTMF, a, b);
1457
- }
1458
- };
1459
- _SipDTMF.runtime = import_protobuf.proto3;
1460
- _SipDTMF.typeName = "livekit.SipDTMF";
1461
- _SipDTMF.fields = import_protobuf.proto3.util.newFieldList(() => [
1462
- {
1463
- no: 3,
1464
- name: "code",
1465
- kind: "scalar",
1466
- T: 13
1467
- /* ScalarType.UINT32 */
1468
- },
1469
- {
1470
- no: 4,
1471
- name: "digit",
1472
- kind: "scalar",
1473
- T: 9
1474
- /* ScalarType.STRING */
1475
- }
1476
- ]);
1477
- let SipDTMF = _SipDTMF;
1478
- const _Transcription = class _Transcription extends import_protobuf.Message {
1479
- constructor(data) {
1480
- super();
1481
- /**
1482
- * Participant that got its speech transcribed
1483
- *
1484
- * @generated from field: string transcribed_participant_identity = 2;
1485
- */
1486
- this.transcribedParticipantIdentity = "";
1487
- /**
1488
- * @generated from field: string track_id = 3;
1489
- */
1490
- this.trackId = "";
1491
- /**
1492
- * @generated from field: repeated livekit.TranscriptionSegment segments = 4;
1493
- */
1494
- this.segments = [];
1495
- import_protobuf.proto3.util.initPartial(data, this);
1496
- }
1497
- static fromBinary(bytes, options) {
1498
- return new _Transcription().fromBinary(bytes, options);
1499
- }
1500
- static fromJson(jsonValue, options) {
1501
- return new _Transcription().fromJson(jsonValue, options);
1502
- }
1503
- static fromJsonString(jsonString, options) {
1504
- return new _Transcription().fromJsonString(jsonString, options);
1505
- }
1506
- static equals(a, b) {
1507
- return import_protobuf.proto3.util.equals(_Transcription, a, b);
1508
- }
1509
- };
1510
- _Transcription.runtime = import_protobuf.proto3;
1511
- _Transcription.typeName = "livekit.Transcription";
1512
- _Transcription.fields = import_protobuf.proto3.util.newFieldList(() => [
1513
- {
1514
- no: 2,
1515
- name: "transcribed_participant_identity",
1516
- kind: "scalar",
1517
- T: 9
1518
- /* ScalarType.STRING */
1519
- },
1520
- {
1521
- no: 3,
1522
- name: "track_id",
1523
- kind: "scalar",
1524
- T: 9
1525
- /* ScalarType.STRING */
1526
- },
1527
- { no: 4, name: "segments", kind: "message", T: TranscriptionSegment, repeated: true }
1528
- ]);
1529
- let Transcription = _Transcription;
1530
- const _TranscriptionSegment = class _TranscriptionSegment extends import_protobuf.Message {
1531
- constructor(data) {
1532
- super();
1533
- /**
1534
- * @generated from field: string id = 1;
1535
- */
1536
- this.id = "";
1537
- /**
1538
- * @generated from field: string text = 2;
1539
- */
1540
- this.text = "";
1541
- /**
1542
- * @generated from field: uint64 start_time = 3;
1543
- */
1544
- this.startTime = import_protobuf.protoInt64.zero;
1545
- /**
1546
- * @generated from field: uint64 end_time = 4;
1547
- */
1548
- this.endTime = import_protobuf.protoInt64.zero;
1549
- /**
1550
- * @generated from field: bool final = 5;
1551
- */
1552
- this.final = false;
1553
- /**
1554
- * @generated from field: string language = 6;
1555
- */
1556
- this.language = "";
1557
- import_protobuf.proto3.util.initPartial(data, this);
1558
- }
1559
- static fromBinary(bytes, options) {
1560
- return new _TranscriptionSegment().fromBinary(bytes, options);
1561
- }
1562
- static fromJson(jsonValue, options) {
1563
- return new _TranscriptionSegment().fromJson(jsonValue, options);
1564
- }
1565
- static fromJsonString(jsonString, options) {
1566
- return new _TranscriptionSegment().fromJsonString(jsonString, options);
1567
- }
1568
- static equals(a, b) {
1569
- return import_protobuf.proto3.util.equals(_TranscriptionSegment, a, b);
1570
- }
1571
- };
1572
- _TranscriptionSegment.runtime = import_protobuf.proto3;
1573
- _TranscriptionSegment.typeName = "livekit.TranscriptionSegment";
1574
- _TranscriptionSegment.fields = import_protobuf.proto3.util.newFieldList(() => [
1575
- {
1576
- no: 1,
1577
- name: "id",
1578
- kind: "scalar",
1579
- T: 9
1580
- /* ScalarType.STRING */
1581
- },
1582
- {
1583
- no: 2,
1584
- name: "text",
1585
- kind: "scalar",
1586
- T: 9
1587
- /* ScalarType.STRING */
1588
- },
1589
- {
1590
- no: 3,
1591
- name: "start_time",
1592
- kind: "scalar",
1593
- T: 4
1594
- /* ScalarType.UINT64 */
1595
- },
1596
- {
1597
- no: 4,
1598
- name: "end_time",
1599
- kind: "scalar",
1600
- T: 4
1601
- /* ScalarType.UINT64 */
1602
- },
1603
- {
1604
- no: 5,
1605
- name: "final",
1606
- kind: "scalar",
1607
- T: 8
1608
- /* ScalarType.BOOL */
1609
- },
1610
- {
1611
- no: 6,
1612
- name: "language",
1613
- kind: "scalar",
1614
- T: 9
1615
- /* ScalarType.STRING */
1616
- }
1617
- ]);
1618
- let TranscriptionSegment = _TranscriptionSegment;
1619
- const _ChatMessage = class _ChatMessage extends import_protobuf.Message {
1620
- constructor(data) {
1621
- super();
1622
- /**
1623
- * uuid
1624
- *
1625
- * @generated from field: string id = 1;
1626
- */
1627
- this.id = "";
1628
- /**
1629
- * @generated from field: int64 timestamp = 2;
1630
- */
1631
- this.timestamp = import_protobuf.protoInt64.zero;
1632
- /**
1633
- * @generated from field: string message = 4;
1634
- */
1635
- this.message = "";
1636
- /**
1637
- * true to remove message
1638
- *
1639
- * @generated from field: bool deleted = 5;
1640
- */
1641
- this.deleted = false;
1642
- /**
1643
- * true if the chat message has been generated by an agent from a participant's audio transcription
1644
- *
1645
- * @generated from field: bool generated = 6;
1646
- */
1647
- this.generated = false;
1648
- import_protobuf.proto3.util.initPartial(data, this);
1649
- }
1650
- static fromBinary(bytes, options) {
1651
- return new _ChatMessage().fromBinary(bytes, options);
1652
- }
1653
- static fromJson(jsonValue, options) {
1654
- return new _ChatMessage().fromJson(jsonValue, options);
1655
- }
1656
- static fromJsonString(jsonString, options) {
1657
- return new _ChatMessage().fromJsonString(jsonString, options);
1658
- }
1659
- static equals(a, b) {
1660
- return import_protobuf.proto3.util.equals(_ChatMessage, a, b);
1661
- }
1662
- };
1663
- _ChatMessage.runtime = import_protobuf.proto3;
1664
- _ChatMessage.typeName = "livekit.ChatMessage";
1665
- _ChatMessage.fields = import_protobuf.proto3.util.newFieldList(() => [
1666
- {
1667
- no: 1,
1668
- name: "id",
1669
- kind: "scalar",
1670
- T: 9
1671
- /* ScalarType.STRING */
1672
- },
1673
- {
1674
- no: 2,
1675
- name: "timestamp",
1676
- kind: "scalar",
1677
- T: 3
1678
- /* ScalarType.INT64 */
1679
- },
1680
- { no: 3, name: "edit_timestamp", kind: "scalar", T: 3, opt: true },
1681
- {
1682
- no: 4,
1683
- name: "message",
1684
- kind: "scalar",
1685
- T: 9
1686
- /* ScalarType.STRING */
1687
- },
1688
- {
1689
- no: 5,
1690
- name: "deleted",
1691
- kind: "scalar",
1692
- T: 8
1693
- /* ScalarType.BOOL */
1694
- },
1695
- {
1696
- no: 6,
1697
- name: "generated",
1698
- kind: "scalar",
1699
- T: 8
1700
- /* ScalarType.BOOL */
1701
- }
1702
- ]);
1703
- let ChatMessage = _ChatMessage;
1704
- const _RpcRequest = class _RpcRequest extends import_protobuf.Message {
1705
- constructor(data) {
1706
- super();
1707
- /**
1708
- * @generated from field: string id = 1;
1709
- */
1710
- this.id = "";
1711
- /**
1712
- * @generated from field: string method = 2;
1713
- */
1714
- this.method = "";
1715
- /**
1716
- * @generated from field: string payload = 3;
1717
- */
1718
- this.payload = "";
1719
- /**
1720
- * @generated from field: uint32 response_timeout_ms = 4;
1721
- */
1722
- this.responseTimeoutMs = 0;
1723
- /**
1724
- * @generated from field: uint32 version = 5;
1725
- */
1726
- this.version = 0;
1727
- import_protobuf.proto3.util.initPartial(data, this);
1728
- }
1729
- static fromBinary(bytes, options) {
1730
- return new _RpcRequest().fromBinary(bytes, options);
1731
- }
1732
- static fromJson(jsonValue, options) {
1733
- return new _RpcRequest().fromJson(jsonValue, options);
1734
- }
1735
- static fromJsonString(jsonString, options) {
1736
- return new _RpcRequest().fromJsonString(jsonString, options);
1737
- }
1738
- static equals(a, b) {
1739
- return import_protobuf.proto3.util.equals(_RpcRequest, a, b);
1740
- }
1741
- };
1742
- _RpcRequest.runtime = import_protobuf.proto3;
1743
- _RpcRequest.typeName = "livekit.RpcRequest";
1744
- _RpcRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
1745
- {
1746
- no: 1,
1747
- name: "id",
1748
- kind: "scalar",
1749
- T: 9
1750
- /* ScalarType.STRING */
1751
- },
1752
- {
1753
- no: 2,
1754
- name: "method",
1755
- kind: "scalar",
1756
- T: 9
1757
- /* ScalarType.STRING */
1758
- },
1759
- {
1760
- no: 3,
1761
- name: "payload",
1762
- kind: "scalar",
1763
- T: 9
1764
- /* ScalarType.STRING */
1765
- },
1766
- {
1767
- no: 4,
1768
- name: "response_timeout_ms",
1769
- kind: "scalar",
1770
- T: 13
1771
- /* ScalarType.UINT32 */
1772
- },
1773
- {
1774
- no: 5,
1775
- name: "version",
1776
- kind: "scalar",
1777
- T: 13
1778
- /* ScalarType.UINT32 */
1779
- }
1780
- ]);
1781
- let RpcRequest = _RpcRequest;
1782
- const _RpcAck = class _RpcAck extends import_protobuf.Message {
1783
- constructor(data) {
1784
- super();
1785
- /**
1786
- * @generated from field: string request_id = 1;
1787
- */
1788
- this.requestId = "";
1789
- import_protobuf.proto3.util.initPartial(data, this);
1790
- }
1791
- static fromBinary(bytes, options) {
1792
- return new _RpcAck().fromBinary(bytes, options);
1793
- }
1794
- static fromJson(jsonValue, options) {
1795
- return new _RpcAck().fromJson(jsonValue, options);
1796
- }
1797
- static fromJsonString(jsonString, options) {
1798
- return new _RpcAck().fromJsonString(jsonString, options);
1799
- }
1800
- static equals(a, b) {
1801
- return import_protobuf.proto3.util.equals(_RpcAck, a, b);
1802
- }
1803
- };
1804
- _RpcAck.runtime = import_protobuf.proto3;
1805
- _RpcAck.typeName = "livekit.RpcAck";
1806
- _RpcAck.fields = import_protobuf.proto3.util.newFieldList(() => [
1807
- {
1808
- no: 1,
1809
- name: "request_id",
1810
- kind: "scalar",
1811
- T: 9
1812
- /* ScalarType.STRING */
1813
- }
1814
- ]);
1815
- let RpcAck = _RpcAck;
1816
- const _RpcResponse = class _RpcResponse extends import_protobuf.Message {
1817
- constructor(data) {
1818
- super();
1819
- /**
1820
- * @generated from field: string request_id = 1;
1821
- */
1822
- this.requestId = "";
1823
- /**
1824
- * @generated from oneof livekit.RpcResponse.value
1825
- */
1826
- this.value = { case: void 0 };
1827
- import_protobuf.proto3.util.initPartial(data, this);
1828
- }
1829
- static fromBinary(bytes, options) {
1830
- return new _RpcResponse().fromBinary(bytes, options);
1831
- }
1832
- static fromJson(jsonValue, options) {
1833
- return new _RpcResponse().fromJson(jsonValue, options);
1834
- }
1835
- static fromJsonString(jsonString, options) {
1836
- return new _RpcResponse().fromJsonString(jsonString, options);
1837
- }
1838
- static equals(a, b) {
1839
- return import_protobuf.proto3.util.equals(_RpcResponse, a, b);
1840
- }
1841
- };
1842
- _RpcResponse.runtime = import_protobuf.proto3;
1843
- _RpcResponse.typeName = "livekit.RpcResponse";
1844
- _RpcResponse.fields = import_protobuf.proto3.util.newFieldList(() => [
1845
- {
1846
- no: 1,
1847
- name: "request_id",
1848
- kind: "scalar",
1849
- T: 9
1850
- /* ScalarType.STRING */
1851
- },
1852
- { no: 2, name: "payload", kind: "scalar", T: 9, oneof: "value" },
1853
- { no: 3, name: "error", kind: "message", T: RpcError, oneof: "value" }
1854
- ]);
1855
- let RpcResponse = _RpcResponse;
1856
- const _RpcError = class _RpcError extends import_protobuf.Message {
1857
- constructor(data) {
1858
- super();
1859
- /**
1860
- * @generated from field: uint32 code = 1;
1861
- */
1862
- this.code = 0;
1863
- /**
1864
- * @generated from field: string message = 2;
1865
- */
1866
- this.message = "";
1867
- /**
1868
- * @generated from field: string data = 3;
1869
- */
1870
- this.data = "";
1871
- import_protobuf.proto3.util.initPartial(data, this);
1872
- }
1873
- static fromBinary(bytes, options) {
1874
- return new _RpcError().fromBinary(bytes, options);
1875
- }
1876
- static fromJson(jsonValue, options) {
1877
- return new _RpcError().fromJson(jsonValue, options);
1878
- }
1879
- static fromJsonString(jsonString, options) {
1880
- return new _RpcError().fromJsonString(jsonString, options);
1881
- }
1882
- static equals(a, b) {
1883
- return import_protobuf.proto3.util.equals(_RpcError, a, b);
1884
- }
1885
- };
1886
- _RpcError.runtime = import_protobuf.proto3;
1887
- _RpcError.typeName = "livekit.RpcError";
1888
- _RpcError.fields = import_protobuf.proto3.util.newFieldList(() => [
1889
- {
1890
- no: 1,
1891
- name: "code",
1892
- kind: "scalar",
1893
- T: 13
1894
- /* ScalarType.UINT32 */
1895
- },
1896
- {
1897
- no: 2,
1898
- name: "message",
1899
- kind: "scalar",
1900
- T: 9
1901
- /* ScalarType.STRING */
1902
- },
1903
- {
1904
- no: 3,
1905
- name: "data",
1906
- kind: "scalar",
1907
- T: 9
1908
- /* ScalarType.STRING */
1909
- }
1910
- ]);
1911
- let RpcError = _RpcError;
1912
- const _ParticipantTracks = class _ParticipantTracks extends import_protobuf.Message {
1913
- constructor(data) {
1914
- super();
1915
- /**
1916
- * participant ID of participant to whom the tracks belong
1917
- *
1918
- * @generated from field: string participant_sid = 1;
1919
- */
1920
- this.participantSid = "";
1921
- /**
1922
- * @generated from field: repeated string track_sids = 2;
1923
- */
1924
- this.trackSids = [];
1925
- import_protobuf.proto3.util.initPartial(data, this);
1926
- }
1927
- static fromBinary(bytes, options) {
1928
- return new _ParticipantTracks().fromBinary(bytes, options);
1929
- }
1930
- static fromJson(jsonValue, options) {
1931
- return new _ParticipantTracks().fromJson(jsonValue, options);
1932
- }
1933
- static fromJsonString(jsonString, options) {
1934
- return new _ParticipantTracks().fromJsonString(jsonString, options);
1935
- }
1936
- static equals(a, b) {
1937
- return import_protobuf.proto3.util.equals(_ParticipantTracks, a, b);
1938
- }
1939
- };
1940
- _ParticipantTracks.runtime = import_protobuf.proto3;
1941
- _ParticipantTracks.typeName = "livekit.ParticipantTracks";
1942
- _ParticipantTracks.fields = import_protobuf.proto3.util.newFieldList(() => [
1943
- {
1944
- no: 1,
1945
- name: "participant_sid",
1946
- kind: "scalar",
1947
- T: 9
1948
- /* ScalarType.STRING */
1949
- },
1950
- { no: 2, name: "track_sids", kind: "scalar", T: 9, repeated: true }
1951
- ]);
1952
- let ParticipantTracks = _ParticipantTracks;
1953
- const _ServerInfo = class _ServerInfo extends import_protobuf.Message {
1954
- constructor(data) {
1955
- super();
1956
- /**
1957
- * @generated from field: livekit.ServerInfo.Edition edition = 1;
1958
- */
1959
- this.edition = 0 /* Standard */;
1960
- /**
1961
- * @generated from field: string version = 2;
1962
- */
1963
- this.version = "";
1964
- /**
1965
- * @generated from field: int32 protocol = 3;
1966
- */
1967
- this.protocol = 0;
1968
- /**
1969
- * @generated from field: string region = 4;
1970
- */
1971
- this.region = "";
1972
- /**
1973
- * @generated from field: string node_id = 5;
1974
- */
1975
- this.nodeId = "";
1976
- /**
1977
- * additional debugging information. sent only if server is in development mode
1978
- *
1979
- * @generated from field: string debug_info = 6;
1980
- */
1981
- this.debugInfo = "";
1982
- /**
1983
- * @generated from field: int32 agent_protocol = 7;
1984
- */
1985
- this.agentProtocol = 0;
1986
- import_protobuf.proto3.util.initPartial(data, this);
1987
- }
1988
- static fromBinary(bytes, options) {
1989
- return new _ServerInfo().fromBinary(bytes, options);
1990
- }
1991
- static fromJson(jsonValue, options) {
1992
- return new _ServerInfo().fromJson(jsonValue, options);
1993
- }
1994
- static fromJsonString(jsonString, options) {
1995
- return new _ServerInfo().fromJsonString(jsonString, options);
1996
- }
1997
- static equals(a, b) {
1998
- return import_protobuf.proto3.util.equals(_ServerInfo, a, b);
1999
- }
2000
- };
2001
- _ServerInfo.runtime = import_protobuf.proto3;
2002
- _ServerInfo.typeName = "livekit.ServerInfo";
2003
- _ServerInfo.fields = import_protobuf.proto3.util.newFieldList(() => [
2004
- { no: 1, name: "edition", kind: "enum", T: import_protobuf.proto3.getEnumType(ServerInfo_Edition) },
2005
- {
2006
- no: 2,
2007
- name: "version",
2008
- kind: "scalar",
2009
- T: 9
2010
- /* ScalarType.STRING */
2011
- },
2012
- {
2013
- no: 3,
2014
- name: "protocol",
2015
- kind: "scalar",
2016
- T: 5
2017
- /* ScalarType.INT32 */
2018
- },
2019
- {
2020
- no: 4,
2021
- name: "region",
2022
- kind: "scalar",
2023
- T: 9
2024
- /* ScalarType.STRING */
2025
- },
2026
- {
2027
- no: 5,
2028
- name: "node_id",
2029
- kind: "scalar",
2030
- T: 9
2031
- /* ScalarType.STRING */
2032
- },
2033
- {
2034
- no: 6,
2035
- name: "debug_info",
2036
- kind: "scalar",
2037
- T: 9
2038
- /* ScalarType.STRING */
2039
- },
2040
- {
2041
- no: 7,
2042
- name: "agent_protocol",
2043
- kind: "scalar",
2044
- T: 5
2045
- /* ScalarType.INT32 */
2046
- }
2047
- ]);
2048
- let ServerInfo = _ServerInfo;
2049
- var ServerInfo_Edition = /* @__PURE__ */ ((ServerInfo_Edition2) => {
2050
- ServerInfo_Edition2[ServerInfo_Edition2["Standard"] = 0] = "Standard";
2051
- ServerInfo_Edition2[ServerInfo_Edition2["Cloud"] = 1] = "Cloud";
2052
- return ServerInfo_Edition2;
2053
- })(ServerInfo_Edition || {});
2054
- import_protobuf.proto3.util.setEnumType(ServerInfo_Edition, "livekit.ServerInfo.Edition", [
2055
- { no: 0, name: "Standard" },
2056
- { no: 1, name: "Cloud" }
2057
- ]);
2058
- const _ClientInfo = class _ClientInfo extends import_protobuf.Message {
2059
- constructor(data) {
2060
- super();
2061
- /**
2062
- * @generated from field: livekit.ClientInfo.SDK sdk = 1;
2063
- */
2064
- this.sdk = 0 /* UNKNOWN */;
2065
- /**
2066
- * @generated from field: string version = 2;
2067
- */
2068
- this.version = "";
2069
- /**
2070
- * @generated from field: int32 protocol = 3;
2071
- */
2072
- this.protocol = 0;
2073
- /**
2074
- * @generated from field: string os = 4;
2075
- */
2076
- this.os = "";
2077
- /**
2078
- * @generated from field: string os_version = 5;
2079
- */
2080
- this.osVersion = "";
2081
- /**
2082
- * @generated from field: string device_model = 6;
2083
- */
2084
- this.deviceModel = "";
2085
- /**
2086
- * @generated from field: string browser = 7;
2087
- */
2088
- this.browser = "";
2089
- /**
2090
- * @generated from field: string browser_version = 8;
2091
- */
2092
- this.browserVersion = "";
2093
- /**
2094
- * @generated from field: string address = 9;
2095
- */
2096
- this.address = "";
2097
- /**
2098
- * wifi, wired, cellular, vpn, empty if not known
2099
- *
2100
- * @generated from field: string network = 10;
2101
- */
2102
- this.network = "";
2103
- /**
2104
- * comma separated list of additional LiveKit SDKs in use of this client, with versions
2105
- * e.g. "components-js:1.2.3,track-processors-js:1.2.3"
2106
- *
2107
- * @generated from field: string other_sdks = 11;
2108
- */
2109
- this.otherSdks = "";
2110
- import_protobuf.proto3.util.initPartial(data, this);
2111
- }
2112
- static fromBinary(bytes, options) {
2113
- return new _ClientInfo().fromBinary(bytes, options);
2114
- }
2115
- static fromJson(jsonValue, options) {
2116
- return new _ClientInfo().fromJson(jsonValue, options);
2117
- }
2118
- static fromJsonString(jsonString, options) {
2119
- return new _ClientInfo().fromJsonString(jsonString, options);
2120
- }
2121
- static equals(a, b) {
2122
- return import_protobuf.proto3.util.equals(_ClientInfo, a, b);
2123
- }
2124
- };
2125
- _ClientInfo.runtime = import_protobuf.proto3;
2126
- _ClientInfo.typeName = "livekit.ClientInfo";
2127
- _ClientInfo.fields = import_protobuf.proto3.util.newFieldList(() => [
2128
- { no: 1, name: "sdk", kind: "enum", T: import_protobuf.proto3.getEnumType(ClientInfo_SDK) },
2129
- {
2130
- no: 2,
2131
- name: "version",
2132
- kind: "scalar",
2133
- T: 9
2134
- /* ScalarType.STRING */
2135
- },
2136
- {
2137
- no: 3,
2138
- name: "protocol",
2139
- kind: "scalar",
2140
- T: 5
2141
- /* ScalarType.INT32 */
2142
- },
2143
- {
2144
- no: 4,
2145
- name: "os",
2146
- kind: "scalar",
2147
- T: 9
2148
- /* ScalarType.STRING */
2149
- },
2150
- {
2151
- no: 5,
2152
- name: "os_version",
2153
- kind: "scalar",
2154
- T: 9
2155
- /* ScalarType.STRING */
2156
- },
2157
- {
2158
- no: 6,
2159
- name: "device_model",
2160
- kind: "scalar",
2161
- T: 9
2162
- /* ScalarType.STRING */
2163
- },
2164
- {
2165
- no: 7,
2166
- name: "browser",
2167
- kind: "scalar",
2168
- T: 9
2169
- /* ScalarType.STRING */
2170
- },
2171
- {
2172
- no: 8,
2173
- name: "browser_version",
2174
- kind: "scalar",
2175
- T: 9
2176
- /* ScalarType.STRING */
2177
- },
2178
- {
2179
- no: 9,
2180
- name: "address",
2181
- kind: "scalar",
2182
- T: 9
2183
- /* ScalarType.STRING */
2184
- },
2185
- {
2186
- no: 10,
2187
- name: "network",
2188
- kind: "scalar",
2189
- T: 9
2190
- /* ScalarType.STRING */
2191
- },
2192
- {
2193
- no: 11,
2194
- name: "other_sdks",
2195
- kind: "scalar",
2196
- T: 9
2197
- /* ScalarType.STRING */
2198
- }
2199
- ]);
2200
- let ClientInfo = _ClientInfo;
2201
- var ClientInfo_SDK = /* @__PURE__ */ ((ClientInfo_SDK2) => {
2202
- ClientInfo_SDK2[ClientInfo_SDK2["UNKNOWN"] = 0] = "UNKNOWN";
2203
- ClientInfo_SDK2[ClientInfo_SDK2["JS"] = 1] = "JS";
2204
- ClientInfo_SDK2[ClientInfo_SDK2["SWIFT"] = 2] = "SWIFT";
2205
- ClientInfo_SDK2[ClientInfo_SDK2["ANDROID"] = 3] = "ANDROID";
2206
- ClientInfo_SDK2[ClientInfo_SDK2["FLUTTER"] = 4] = "FLUTTER";
2207
- ClientInfo_SDK2[ClientInfo_SDK2["GO"] = 5] = "GO";
2208
- ClientInfo_SDK2[ClientInfo_SDK2["UNITY"] = 6] = "UNITY";
2209
- ClientInfo_SDK2[ClientInfo_SDK2["REACT_NATIVE"] = 7] = "REACT_NATIVE";
2210
- ClientInfo_SDK2[ClientInfo_SDK2["RUST"] = 8] = "RUST";
2211
- ClientInfo_SDK2[ClientInfo_SDK2["PYTHON"] = 9] = "PYTHON";
2212
- ClientInfo_SDK2[ClientInfo_SDK2["CPP"] = 10] = "CPP";
2213
- ClientInfo_SDK2[ClientInfo_SDK2["UNITY_WEB"] = 11] = "UNITY_WEB";
2214
- ClientInfo_SDK2[ClientInfo_SDK2["NODE"] = 12] = "NODE";
2215
- return ClientInfo_SDK2;
2216
- })(ClientInfo_SDK || {});
2217
- import_protobuf.proto3.util.setEnumType(ClientInfo_SDK, "livekit.ClientInfo.SDK", [
2218
- { no: 0, name: "UNKNOWN" },
2219
- { no: 1, name: "JS" },
2220
- { no: 2, name: "SWIFT" },
2221
- { no: 3, name: "ANDROID" },
2222
- { no: 4, name: "FLUTTER" },
2223
- { no: 5, name: "GO" },
2224
- { no: 6, name: "UNITY" },
2225
- { no: 7, name: "REACT_NATIVE" },
2226
- { no: 8, name: "RUST" },
2227
- { no: 9, name: "PYTHON" },
2228
- { no: 10, name: "CPP" },
2229
- { no: 11, name: "UNITY_WEB" },
2230
- { no: 12, name: "NODE" }
2231
- ]);
2232
- const _ClientConfiguration = class _ClientConfiguration extends import_protobuf.Message {
2233
- constructor(data) {
2234
- super();
2235
- /**
2236
- * @generated from field: livekit.ClientConfigSetting resume_connection = 3;
2237
- */
2238
- this.resumeConnection = 0 /* UNSET */;
2239
- /**
2240
- * @generated from field: livekit.ClientConfigSetting force_relay = 5;
2241
- */
2242
- this.forceRelay = 0 /* UNSET */;
2243
- import_protobuf.proto3.util.initPartial(data, this);
2244
- }
2245
- static fromBinary(bytes, options) {
2246
- return new _ClientConfiguration().fromBinary(bytes, options);
2247
- }
2248
- static fromJson(jsonValue, options) {
2249
- return new _ClientConfiguration().fromJson(jsonValue, options);
2250
- }
2251
- static fromJsonString(jsonString, options) {
2252
- return new _ClientConfiguration().fromJsonString(jsonString, options);
2253
- }
2254
- static equals(a, b) {
2255
- return import_protobuf.proto3.util.equals(_ClientConfiguration, a, b);
2256
- }
2257
- };
2258
- _ClientConfiguration.runtime = import_protobuf.proto3;
2259
- _ClientConfiguration.typeName = "livekit.ClientConfiguration";
2260
- _ClientConfiguration.fields = import_protobuf.proto3.util.newFieldList(() => [
2261
- { no: 1, name: "video", kind: "message", T: VideoConfiguration },
2262
- { no: 2, name: "screen", kind: "message", T: VideoConfiguration },
2263
- { no: 3, name: "resume_connection", kind: "enum", T: import_protobuf.proto3.getEnumType(ClientConfigSetting) },
2264
- { no: 4, name: "disabled_codecs", kind: "message", T: DisabledCodecs },
2265
- { no: 5, name: "force_relay", kind: "enum", T: import_protobuf.proto3.getEnumType(ClientConfigSetting) }
2266
- ]);
2267
- let ClientConfiguration = _ClientConfiguration;
2268
- const _VideoConfiguration = class _VideoConfiguration extends import_protobuf.Message {
2269
- constructor(data) {
2270
- super();
2271
- /**
2272
- * @generated from field: livekit.ClientConfigSetting hardware_encoder = 1;
2273
- */
2274
- this.hardwareEncoder = 0 /* UNSET */;
2275
- import_protobuf.proto3.util.initPartial(data, this);
2276
- }
2277
- static fromBinary(bytes, options) {
2278
- return new _VideoConfiguration().fromBinary(bytes, options);
2279
- }
2280
- static fromJson(jsonValue, options) {
2281
- return new _VideoConfiguration().fromJson(jsonValue, options);
2282
- }
2283
- static fromJsonString(jsonString, options) {
2284
- return new _VideoConfiguration().fromJsonString(jsonString, options);
2285
- }
2286
- static equals(a, b) {
2287
- return import_protobuf.proto3.util.equals(_VideoConfiguration, a, b);
2288
- }
2289
- };
2290
- _VideoConfiguration.runtime = import_protobuf.proto3;
2291
- _VideoConfiguration.typeName = "livekit.VideoConfiguration";
2292
- _VideoConfiguration.fields = import_protobuf.proto3.util.newFieldList(() => [
2293
- { no: 1, name: "hardware_encoder", kind: "enum", T: import_protobuf.proto3.getEnumType(ClientConfigSetting) }
2294
- ]);
2295
- let VideoConfiguration = _VideoConfiguration;
2296
- const _DisabledCodecs = class _DisabledCodecs extends import_protobuf.Message {
2297
- constructor(data) {
2298
- super();
2299
- /**
2300
- * disabled for both publish and subscribe
2301
- *
2302
- * @generated from field: repeated livekit.Codec codecs = 1;
2303
- */
2304
- this.codecs = [];
2305
- /**
2306
- * only disable for publish
2307
- *
2308
- * @generated from field: repeated livekit.Codec publish = 2;
2309
- */
2310
- this.publish = [];
2311
- import_protobuf.proto3.util.initPartial(data, this);
2312
- }
2313
- static fromBinary(bytes, options) {
2314
- return new _DisabledCodecs().fromBinary(bytes, options);
2315
- }
2316
- static fromJson(jsonValue, options) {
2317
- return new _DisabledCodecs().fromJson(jsonValue, options);
2318
- }
2319
- static fromJsonString(jsonString, options) {
2320
- return new _DisabledCodecs().fromJsonString(jsonString, options);
2321
- }
2322
- static equals(a, b) {
2323
- return import_protobuf.proto3.util.equals(_DisabledCodecs, a, b);
2324
- }
2325
- };
2326
- _DisabledCodecs.runtime = import_protobuf.proto3;
2327
- _DisabledCodecs.typeName = "livekit.DisabledCodecs";
2328
- _DisabledCodecs.fields = import_protobuf.proto3.util.newFieldList(() => [
2329
- { no: 1, name: "codecs", kind: "message", T: Codec, repeated: true },
2330
- { no: 2, name: "publish", kind: "message", T: Codec, repeated: true }
2331
- ]);
2332
- let DisabledCodecs = _DisabledCodecs;
2333
- const _RTPDrift = class _RTPDrift extends import_protobuf.Message {
2334
- constructor(data) {
2335
- super();
2336
- /**
2337
- * @generated from field: double duration = 3;
2338
- */
2339
- this.duration = 0;
2340
- /**
2341
- * @generated from field: uint64 start_timestamp = 4;
2342
- */
2343
- this.startTimestamp = import_protobuf.protoInt64.zero;
2344
- /**
2345
- * @generated from field: uint64 end_timestamp = 5;
2346
- */
2347
- this.endTimestamp = import_protobuf.protoInt64.zero;
2348
- /**
2349
- * @generated from field: uint64 rtp_clock_ticks = 6;
2350
- */
2351
- this.rtpClockTicks = import_protobuf.protoInt64.zero;
2352
- /**
2353
- * @generated from field: int64 drift_samples = 7;
2354
- */
2355
- this.driftSamples = import_protobuf.protoInt64.zero;
2356
- /**
2357
- * @generated from field: double drift_ms = 8;
2358
- */
2359
- this.driftMs = 0;
2360
- /**
2361
- * @generated from field: double clock_rate = 9;
2362
- */
2363
- this.clockRate = 0;
2364
- import_protobuf.proto3.util.initPartial(data, this);
2365
- }
2366
- static fromBinary(bytes, options) {
2367
- return new _RTPDrift().fromBinary(bytes, options);
2368
- }
2369
- static fromJson(jsonValue, options) {
2370
- return new _RTPDrift().fromJson(jsonValue, options);
2371
- }
2372
- static fromJsonString(jsonString, options) {
2373
- return new _RTPDrift().fromJsonString(jsonString, options);
2374
- }
2375
- static equals(a, b) {
2376
- return import_protobuf.proto3.util.equals(_RTPDrift, a, b);
2377
- }
2378
- };
2379
- _RTPDrift.runtime = import_protobuf.proto3;
2380
- _RTPDrift.typeName = "livekit.RTPDrift";
2381
- _RTPDrift.fields = import_protobuf.proto3.util.newFieldList(() => [
2382
- { no: 1, name: "start_time", kind: "message", T: import_protobuf.Timestamp },
2383
- { no: 2, name: "end_time", kind: "message", T: import_protobuf.Timestamp },
2384
- {
2385
- no: 3,
2386
- name: "duration",
2387
- kind: "scalar",
2388
- T: 1
2389
- /* ScalarType.DOUBLE */
2390
- },
2391
- {
2392
- no: 4,
2393
- name: "start_timestamp",
2394
- kind: "scalar",
2395
- T: 4
2396
- /* ScalarType.UINT64 */
2397
- },
2398
- {
2399
- no: 5,
2400
- name: "end_timestamp",
2401
- kind: "scalar",
2402
- T: 4
2403
- /* ScalarType.UINT64 */
2404
- },
2405
- {
2406
- no: 6,
2407
- name: "rtp_clock_ticks",
2408
- kind: "scalar",
2409
- T: 4
2410
- /* ScalarType.UINT64 */
2411
- },
2412
- {
2413
- no: 7,
2414
- name: "drift_samples",
2415
- kind: "scalar",
2416
- T: 3
2417
- /* ScalarType.INT64 */
2418
- },
2419
- {
2420
- no: 8,
2421
- name: "drift_ms",
2422
- kind: "scalar",
2423
- T: 1
2424
- /* ScalarType.DOUBLE */
2425
- },
2426
- {
2427
- no: 9,
2428
- name: "clock_rate",
2429
- kind: "scalar",
2430
- T: 1
2431
- /* ScalarType.DOUBLE */
2432
- }
2433
- ]);
2434
- let RTPDrift = _RTPDrift;
2435
- const _RTPStats = class _RTPStats extends import_protobuf.Message {
2436
- constructor(data) {
2437
- super();
2438
- /**
2439
- * @generated from field: double duration = 3;
2440
- */
2441
- this.duration = 0;
2442
- /**
2443
- * @generated from field: uint32 packets = 4;
2444
- */
2445
- this.packets = 0;
2446
- /**
2447
- * @generated from field: double packet_rate = 5;
2448
- */
2449
- this.packetRate = 0;
2450
- /**
2451
- * @generated from field: uint64 bytes = 6;
2452
- */
2453
- this.bytes = import_protobuf.protoInt64.zero;
2454
- /**
2455
- * @generated from field: uint64 header_bytes = 39;
2456
- */
2457
- this.headerBytes = import_protobuf.protoInt64.zero;
2458
- /**
2459
- * @generated from field: double bitrate = 7;
2460
- */
2461
- this.bitrate = 0;
2462
- /**
2463
- * @generated from field: uint32 packets_lost = 8;
2464
- */
2465
- this.packetsLost = 0;
2466
- /**
2467
- * @generated from field: double packet_loss_rate = 9;
2468
- */
2469
- this.packetLossRate = 0;
2470
- /**
2471
- * @generated from field: float packet_loss_percentage = 10;
2472
- */
2473
- this.packetLossPercentage = 0;
2474
- /**
2475
- * @generated from field: uint32 packets_duplicate = 11;
2476
- */
2477
- this.packetsDuplicate = 0;
2478
- /**
2479
- * @generated from field: double packet_duplicate_rate = 12;
2480
- */
2481
- this.packetDuplicateRate = 0;
2482
- /**
2483
- * @generated from field: uint64 bytes_duplicate = 13;
2484
- */
2485
- this.bytesDuplicate = import_protobuf.protoInt64.zero;
2486
- /**
2487
- * @generated from field: uint64 header_bytes_duplicate = 40;
2488
- */
2489
- this.headerBytesDuplicate = import_protobuf.protoInt64.zero;
2490
- /**
2491
- * @generated from field: double bitrate_duplicate = 14;
2492
- */
2493
- this.bitrateDuplicate = 0;
2494
- /**
2495
- * @generated from field: uint32 packets_padding = 15;
2496
- */
2497
- this.packetsPadding = 0;
2498
- /**
2499
- * @generated from field: double packet_padding_rate = 16;
2500
- */
2501
- this.packetPaddingRate = 0;
2502
- /**
2503
- * @generated from field: uint64 bytes_padding = 17;
2504
- */
2505
- this.bytesPadding = import_protobuf.protoInt64.zero;
2506
- /**
2507
- * @generated from field: uint64 header_bytes_padding = 41;
2508
- */
2509
- this.headerBytesPadding = import_protobuf.protoInt64.zero;
2510
- /**
2511
- * @generated from field: double bitrate_padding = 18;
2512
- */
2513
- this.bitratePadding = 0;
2514
- /**
2515
- * @generated from field: uint32 packets_out_of_order = 19;
2516
- */
2517
- this.packetsOutOfOrder = 0;
2518
- /**
2519
- * @generated from field: uint32 frames = 20;
2520
- */
2521
- this.frames = 0;
2522
- /**
2523
- * @generated from field: double frame_rate = 21;
2524
- */
2525
- this.frameRate = 0;
2526
- /**
2527
- * @generated from field: double jitter_current = 22;
2528
- */
2529
- this.jitterCurrent = 0;
2530
- /**
2531
- * @generated from field: double jitter_max = 23;
2532
- */
2533
- this.jitterMax = 0;
2534
- /**
2535
- * @generated from field: map<int32, uint32> gap_histogram = 24;
2536
- */
2537
- this.gapHistogram = {};
2538
- /**
2539
- * @generated from field: uint32 nacks = 25;
2540
- */
2541
- this.nacks = 0;
2542
- /**
2543
- * @generated from field: uint32 nack_acks = 37;
2544
- */
2545
- this.nackAcks = 0;
2546
- /**
2547
- * @generated from field: uint32 nack_misses = 26;
2548
- */
2549
- this.nackMisses = 0;
2550
- /**
2551
- * @generated from field: uint32 nack_repeated = 38;
2552
- */
2553
- this.nackRepeated = 0;
2554
- /**
2555
- * @generated from field: uint32 plis = 27;
2556
- */
2557
- this.plis = 0;
2558
- /**
2559
- * @generated from field: uint32 firs = 29;
2560
- */
2561
- this.firs = 0;
2562
- /**
2563
- * @generated from field: uint32 rtt_current = 31;
2564
- */
2565
- this.rttCurrent = 0;
2566
- /**
2567
- * @generated from field: uint32 rtt_max = 32;
2568
- */
2569
- this.rttMax = 0;
2570
- /**
2571
- * @generated from field: uint32 key_frames = 33;
2572
- */
2573
- this.keyFrames = 0;
2574
- /**
2575
- * @generated from field: uint32 layer_lock_plis = 35;
2576
- */
2577
- this.layerLockPlis = 0;
2578
- import_protobuf.proto3.util.initPartial(data, this);
2579
- }
2580
- static fromBinary(bytes, options) {
2581
- return new _RTPStats().fromBinary(bytes, options);
2582
- }
2583
- static fromJson(jsonValue, options) {
2584
- return new _RTPStats().fromJson(jsonValue, options);
2585
- }
2586
- static fromJsonString(jsonString, options) {
2587
- return new _RTPStats().fromJsonString(jsonString, options);
2588
- }
2589
- static equals(a, b) {
2590
- return import_protobuf.proto3.util.equals(_RTPStats, a, b);
2591
- }
2592
- };
2593
- _RTPStats.runtime = import_protobuf.proto3;
2594
- _RTPStats.typeName = "livekit.RTPStats";
2595
- _RTPStats.fields = import_protobuf.proto3.util.newFieldList(() => [
2596
- { no: 1, name: "start_time", kind: "message", T: import_protobuf.Timestamp },
2597
- { no: 2, name: "end_time", kind: "message", T: import_protobuf.Timestamp },
2598
- {
2599
- no: 3,
2600
- name: "duration",
2601
- kind: "scalar",
2602
- T: 1
2603
- /* ScalarType.DOUBLE */
2604
- },
2605
- {
2606
- no: 4,
2607
- name: "packets",
2608
- kind: "scalar",
2609
- T: 13
2610
- /* ScalarType.UINT32 */
2611
- },
2612
- {
2613
- no: 5,
2614
- name: "packet_rate",
2615
- kind: "scalar",
2616
- T: 1
2617
- /* ScalarType.DOUBLE */
2618
- },
2619
- {
2620
- no: 6,
2621
- name: "bytes",
2622
- kind: "scalar",
2623
- T: 4
2624
- /* ScalarType.UINT64 */
2625
- },
2626
- {
2627
- no: 39,
2628
- name: "header_bytes",
2629
- kind: "scalar",
2630
- T: 4
2631
- /* ScalarType.UINT64 */
2632
- },
2633
- {
2634
- no: 7,
2635
- name: "bitrate",
2636
- kind: "scalar",
2637
- T: 1
2638
- /* ScalarType.DOUBLE */
2639
- },
2640
- {
2641
- no: 8,
2642
- name: "packets_lost",
2643
- kind: "scalar",
2644
- T: 13
2645
- /* ScalarType.UINT32 */
2646
- },
2647
- {
2648
- no: 9,
2649
- name: "packet_loss_rate",
2650
- kind: "scalar",
2651
- T: 1
2652
- /* ScalarType.DOUBLE */
2653
- },
2654
- {
2655
- no: 10,
2656
- name: "packet_loss_percentage",
2657
- kind: "scalar",
2658
- T: 2
2659
- /* ScalarType.FLOAT */
2660
- },
2661
- {
2662
- no: 11,
2663
- name: "packets_duplicate",
2664
- kind: "scalar",
2665
- T: 13
2666
- /* ScalarType.UINT32 */
2667
- },
2668
- {
2669
- no: 12,
2670
- name: "packet_duplicate_rate",
2671
- kind: "scalar",
2672
- T: 1
2673
- /* ScalarType.DOUBLE */
2674
- },
2675
- {
2676
- no: 13,
2677
- name: "bytes_duplicate",
2678
- kind: "scalar",
2679
- T: 4
2680
- /* ScalarType.UINT64 */
2681
- },
2682
- {
2683
- no: 40,
2684
- name: "header_bytes_duplicate",
2685
- kind: "scalar",
2686
- T: 4
2687
- /* ScalarType.UINT64 */
2688
- },
2689
- {
2690
- no: 14,
2691
- name: "bitrate_duplicate",
2692
- kind: "scalar",
2693
- T: 1
2694
- /* ScalarType.DOUBLE */
2695
- },
2696
- {
2697
- no: 15,
2698
- name: "packets_padding",
2699
- kind: "scalar",
2700
- T: 13
2701
- /* ScalarType.UINT32 */
2702
- },
2703
- {
2704
- no: 16,
2705
- name: "packet_padding_rate",
2706
- kind: "scalar",
2707
- T: 1
2708
- /* ScalarType.DOUBLE */
2709
- },
2710
- {
2711
- no: 17,
2712
- name: "bytes_padding",
2713
- kind: "scalar",
2714
- T: 4
2715
- /* ScalarType.UINT64 */
2716
- },
2717
- {
2718
- no: 41,
2719
- name: "header_bytes_padding",
2720
- kind: "scalar",
2721
- T: 4
2722
- /* ScalarType.UINT64 */
2723
- },
2724
- {
2725
- no: 18,
2726
- name: "bitrate_padding",
2727
- kind: "scalar",
2728
- T: 1
2729
- /* ScalarType.DOUBLE */
2730
- },
2731
- {
2732
- no: 19,
2733
- name: "packets_out_of_order",
2734
- kind: "scalar",
2735
- T: 13
2736
- /* ScalarType.UINT32 */
2737
- },
2738
- {
2739
- no: 20,
2740
- name: "frames",
2741
- kind: "scalar",
2742
- T: 13
2743
- /* ScalarType.UINT32 */
2744
- },
2745
- {
2746
- no: 21,
2747
- name: "frame_rate",
2748
- kind: "scalar",
2749
- T: 1
2750
- /* ScalarType.DOUBLE */
2751
- },
2752
- {
2753
- no: 22,
2754
- name: "jitter_current",
2755
- kind: "scalar",
2756
- T: 1
2757
- /* ScalarType.DOUBLE */
2758
- },
2759
- {
2760
- no: 23,
2761
- name: "jitter_max",
2762
- kind: "scalar",
2763
- T: 1
2764
- /* ScalarType.DOUBLE */
2765
- },
2766
- { no: 24, name: "gap_histogram", kind: "map", K: 5, V: {
2767
- kind: "scalar",
2768
- T: 13
2769
- /* ScalarType.UINT32 */
2770
- } },
2771
- {
2772
- no: 25,
2773
- name: "nacks",
2774
- kind: "scalar",
2775
- T: 13
2776
- /* ScalarType.UINT32 */
2777
- },
2778
- {
2779
- no: 37,
2780
- name: "nack_acks",
2781
- kind: "scalar",
2782
- T: 13
2783
- /* ScalarType.UINT32 */
2784
- },
2785
- {
2786
- no: 26,
2787
- name: "nack_misses",
2788
- kind: "scalar",
2789
- T: 13
2790
- /* ScalarType.UINT32 */
2791
- },
2792
- {
2793
- no: 38,
2794
- name: "nack_repeated",
2795
- kind: "scalar",
2796
- T: 13
2797
- /* ScalarType.UINT32 */
2798
- },
2799
- {
2800
- no: 27,
2801
- name: "plis",
2802
- kind: "scalar",
2803
- T: 13
2804
- /* ScalarType.UINT32 */
2805
- },
2806
- { no: 28, name: "last_pli", kind: "message", T: import_protobuf.Timestamp },
2807
- {
2808
- no: 29,
2809
- name: "firs",
2810
- kind: "scalar",
2811
- T: 13
2812
- /* ScalarType.UINT32 */
2813
- },
2814
- { no: 30, name: "last_fir", kind: "message", T: import_protobuf.Timestamp },
2815
- {
2816
- no: 31,
2817
- name: "rtt_current",
2818
- kind: "scalar",
2819
- T: 13
2820
- /* ScalarType.UINT32 */
2821
- },
2822
- {
2823
- no: 32,
2824
- name: "rtt_max",
2825
- kind: "scalar",
2826
- T: 13
2827
- /* ScalarType.UINT32 */
2828
- },
2829
- {
2830
- no: 33,
2831
- name: "key_frames",
2832
- kind: "scalar",
2833
- T: 13
2834
- /* ScalarType.UINT32 */
2835
- },
2836
- { no: 34, name: "last_key_frame", kind: "message", T: import_protobuf.Timestamp },
2837
- {
2838
- no: 35,
2839
- name: "layer_lock_plis",
2840
- kind: "scalar",
2841
- T: 13
2842
- /* ScalarType.UINT32 */
2843
- },
2844
- { no: 36, name: "last_layer_lock_pli", kind: "message", T: import_protobuf.Timestamp },
2845
- { no: 44, name: "packet_drift", kind: "message", T: RTPDrift },
2846
- { no: 45, name: "ntp_report_drift", kind: "message", T: RTPDrift },
2847
- { no: 46, name: "rebased_report_drift", kind: "message", T: RTPDrift },
2848
- { no: 47, name: "received_report_drift", kind: "message", T: RTPDrift }
2849
- ]);
2850
- let RTPStats = _RTPStats;
2851
- const _RTCPSenderReportState = class _RTCPSenderReportState extends import_protobuf.Message {
2852
- constructor(data) {
2853
- super();
2854
- /**
2855
- * @generated from field: uint32 rtp_timestamp = 1;
2856
- */
2857
- this.rtpTimestamp = 0;
2858
- /**
2859
- * @generated from field: uint64 rtp_timestamp_ext = 2;
2860
- */
2861
- this.rtpTimestampExt = import_protobuf.protoInt64.zero;
2862
- /**
2863
- * @generated from field: uint64 ntp_timestamp = 3;
2864
- */
2865
- this.ntpTimestamp = import_protobuf.protoInt64.zero;
2866
- /**
2867
- * time at which this happened
2868
- *
2869
- * @generated from field: int64 at = 4;
2870
- */
2871
- this.at = import_protobuf.protoInt64.zero;
2872
- /**
2873
- * @generated from field: int64 at_adjusted = 5;
2874
- */
2875
- this.atAdjusted = import_protobuf.protoInt64.zero;
2876
- /**
2877
- * @generated from field: uint32 packets = 6;
2878
- */
2879
- this.packets = 0;
2880
- /**
2881
- * @generated from field: uint64 octets = 7;
2882
- */
2883
- this.octets = import_protobuf.protoInt64.zero;
2884
- import_protobuf.proto3.util.initPartial(data, this);
2885
- }
2886
- static fromBinary(bytes, options) {
2887
- return new _RTCPSenderReportState().fromBinary(bytes, options);
2888
- }
2889
- static fromJson(jsonValue, options) {
2890
- return new _RTCPSenderReportState().fromJson(jsonValue, options);
2891
- }
2892
- static fromJsonString(jsonString, options) {
2893
- return new _RTCPSenderReportState().fromJsonString(jsonString, options);
2894
- }
2895
- static equals(a, b) {
2896
- return import_protobuf.proto3.util.equals(_RTCPSenderReportState, a, b);
2897
- }
2898
- };
2899
- _RTCPSenderReportState.runtime = import_protobuf.proto3;
2900
- _RTCPSenderReportState.typeName = "livekit.RTCPSenderReportState";
2901
- _RTCPSenderReportState.fields = import_protobuf.proto3.util.newFieldList(() => [
2902
- {
2903
- no: 1,
2904
- name: "rtp_timestamp",
2905
- kind: "scalar",
2906
- T: 13
2907
- /* ScalarType.UINT32 */
2908
- },
2909
- {
2910
- no: 2,
2911
- name: "rtp_timestamp_ext",
2912
- kind: "scalar",
2913
- T: 4
2914
- /* ScalarType.UINT64 */
2915
- },
2916
- {
2917
- no: 3,
2918
- name: "ntp_timestamp",
2919
- kind: "scalar",
2920
- T: 4
2921
- /* ScalarType.UINT64 */
2922
- },
2923
- {
2924
- no: 4,
2925
- name: "at",
2926
- kind: "scalar",
2927
- T: 3
2928
- /* ScalarType.INT64 */
2929
- },
2930
- {
2931
- no: 5,
2932
- name: "at_adjusted",
2933
- kind: "scalar",
2934
- T: 3
2935
- /* ScalarType.INT64 */
2936
- },
2937
- {
2938
- no: 6,
2939
- name: "packets",
2940
- kind: "scalar",
2941
- T: 13
2942
- /* ScalarType.UINT32 */
2943
- },
2944
- {
2945
- no: 7,
2946
- name: "octets",
2947
- kind: "scalar",
2948
- T: 4
2949
- /* ScalarType.UINT64 */
2950
- }
2951
- ]);
2952
- let RTCPSenderReportState = _RTCPSenderReportState;
2953
- const _RTPForwarderState = class _RTPForwarderState extends import_protobuf.Message {
2954
- constructor(data) {
2955
- super();
2956
- /**
2957
- * @generated from field: bool started = 1;
2958
- */
2959
- this.started = false;
2960
- /**
2961
- * @generated from field: int32 reference_layer_spatial = 2;
2962
- */
2963
- this.referenceLayerSpatial = 0;
2964
- /**
2965
- * @generated from field: int64 pre_start_time = 3;
2966
- */
2967
- this.preStartTime = import_protobuf.protoInt64.zero;
2968
- /**
2969
- * @generated from field: uint64 ext_first_timestamp = 4;
2970
- */
2971
- this.extFirstTimestamp = import_protobuf.protoInt64.zero;
2972
- /**
2973
- * @generated from field: uint64 dummy_start_timestamp_offset = 5;
2974
- */
2975
- this.dummyStartTimestampOffset = import_protobuf.protoInt64.zero;
2976
- /**
2977
- * @generated from oneof livekit.RTPForwarderState.codec_munger
2978
- */
2979
- this.codecMunger = { case: void 0 };
2980
- /**
2981
- * @generated from field: repeated livekit.RTCPSenderReportState sender_report_state = 8;
2982
- */
2983
- this.senderReportState = [];
2984
- import_protobuf.proto3.util.initPartial(data, this);
2985
- }
2986
- static fromBinary(bytes, options) {
2987
- return new _RTPForwarderState().fromBinary(bytes, options);
2988
- }
2989
- static fromJson(jsonValue, options) {
2990
- return new _RTPForwarderState().fromJson(jsonValue, options);
2991
- }
2992
- static fromJsonString(jsonString, options) {
2993
- return new _RTPForwarderState().fromJsonString(jsonString, options);
2994
- }
2995
- static equals(a, b) {
2996
- return import_protobuf.proto3.util.equals(_RTPForwarderState, a, b);
2997
- }
2998
- };
2999
- _RTPForwarderState.runtime = import_protobuf.proto3;
3000
- _RTPForwarderState.typeName = "livekit.RTPForwarderState";
3001
- _RTPForwarderState.fields = import_protobuf.proto3.util.newFieldList(() => [
3002
- {
3003
- no: 1,
3004
- name: "started",
3005
- kind: "scalar",
3006
- T: 8
3007
- /* ScalarType.BOOL */
3008
- },
3009
- {
3010
- no: 2,
3011
- name: "reference_layer_spatial",
3012
- kind: "scalar",
3013
- T: 5
3014
- /* ScalarType.INT32 */
3015
- },
3016
- {
3017
- no: 3,
3018
- name: "pre_start_time",
3019
- kind: "scalar",
3020
- T: 3
3021
- /* ScalarType.INT64 */
3022
- },
3023
- {
3024
- no: 4,
3025
- name: "ext_first_timestamp",
3026
- kind: "scalar",
3027
- T: 4
3028
- /* ScalarType.UINT64 */
3029
- },
3030
- {
3031
- no: 5,
3032
- name: "dummy_start_timestamp_offset",
3033
- kind: "scalar",
3034
- T: 4
3035
- /* ScalarType.UINT64 */
3036
- },
3037
- { no: 6, name: "rtp_munger", kind: "message", T: RTPMungerState },
3038
- { no: 7, name: "vp8_munger", kind: "message", T: VP8MungerState, oneof: "codec_munger" },
3039
- { no: 8, name: "sender_report_state", kind: "message", T: RTCPSenderReportState, repeated: true }
3040
- ]);
3041
- let RTPForwarderState = _RTPForwarderState;
3042
- const _RTPMungerState = class _RTPMungerState extends import_protobuf.Message {
3043
- constructor(data) {
3044
- super();
3045
- /**
3046
- * @generated from field: uint64 ext_last_sequence_number = 1;
3047
- */
3048
- this.extLastSequenceNumber = import_protobuf.protoInt64.zero;
3049
- /**
3050
- * @generated from field: uint64 ext_second_last_sequence_number = 2;
3051
- */
3052
- this.extSecondLastSequenceNumber = import_protobuf.protoInt64.zero;
3053
- /**
3054
- * @generated from field: uint64 ext_last_timestamp = 3;
3055
- */
3056
- this.extLastTimestamp = import_protobuf.protoInt64.zero;
3057
- /**
3058
- * @generated from field: uint64 ext_second_last_timestamp = 4;
3059
- */
3060
- this.extSecondLastTimestamp = import_protobuf.protoInt64.zero;
3061
- /**
3062
- * @generated from field: bool last_marker = 5;
3063
- */
3064
- this.lastMarker = false;
3065
- /**
3066
- * @generated from field: bool second_last_marker = 6;
3067
- */
3068
- this.secondLastMarker = false;
3069
- import_protobuf.proto3.util.initPartial(data, this);
3070
- }
3071
- static fromBinary(bytes, options) {
3072
- return new _RTPMungerState().fromBinary(bytes, options);
3073
- }
3074
- static fromJson(jsonValue, options) {
3075
- return new _RTPMungerState().fromJson(jsonValue, options);
3076
- }
3077
- static fromJsonString(jsonString, options) {
3078
- return new _RTPMungerState().fromJsonString(jsonString, options);
3079
- }
3080
- static equals(a, b) {
3081
- return import_protobuf.proto3.util.equals(_RTPMungerState, a, b);
3082
- }
3083
- };
3084
- _RTPMungerState.runtime = import_protobuf.proto3;
3085
- _RTPMungerState.typeName = "livekit.RTPMungerState";
3086
- _RTPMungerState.fields = import_protobuf.proto3.util.newFieldList(() => [
3087
- {
3088
- no: 1,
3089
- name: "ext_last_sequence_number",
3090
- kind: "scalar",
3091
- T: 4
3092
- /* ScalarType.UINT64 */
3093
- },
3094
- {
3095
- no: 2,
3096
- name: "ext_second_last_sequence_number",
3097
- kind: "scalar",
3098
- T: 4
3099
- /* ScalarType.UINT64 */
3100
- },
3101
- {
3102
- no: 3,
3103
- name: "ext_last_timestamp",
3104
- kind: "scalar",
3105
- T: 4
3106
- /* ScalarType.UINT64 */
3107
- },
3108
- {
3109
- no: 4,
3110
- name: "ext_second_last_timestamp",
3111
- kind: "scalar",
3112
- T: 4
3113
- /* ScalarType.UINT64 */
3114
- },
3115
- {
3116
- no: 5,
3117
- name: "last_marker",
3118
- kind: "scalar",
3119
- T: 8
3120
- /* ScalarType.BOOL */
3121
- },
3122
- {
3123
- no: 6,
3124
- name: "second_last_marker",
3125
- kind: "scalar",
3126
- T: 8
3127
- /* ScalarType.BOOL */
3128
- }
3129
- ]);
3130
- let RTPMungerState = _RTPMungerState;
3131
- const _VP8MungerState = class _VP8MungerState extends import_protobuf.Message {
3132
- constructor(data) {
3133
- super();
3134
- /**
3135
- * @generated from field: int32 ext_last_picture_id = 1;
3136
- */
3137
- this.extLastPictureId = 0;
3138
- /**
3139
- * @generated from field: bool picture_id_used = 2;
3140
- */
3141
- this.pictureIdUsed = false;
3142
- /**
3143
- * @generated from field: uint32 last_tl0_pic_idx = 3;
3144
- */
3145
- this.lastTl0PicIdx = 0;
3146
- /**
3147
- * @generated from field: bool tl0_pic_idx_used = 4;
3148
- */
3149
- this.tl0PicIdxUsed = false;
3150
- /**
3151
- * @generated from field: bool tid_used = 5;
3152
- */
3153
- this.tidUsed = false;
3154
- /**
3155
- * @generated from field: uint32 last_key_idx = 6;
3156
- */
3157
- this.lastKeyIdx = 0;
3158
- /**
3159
- * @generated from field: bool key_idx_used = 7;
3160
- */
3161
- this.keyIdxUsed = false;
3162
- import_protobuf.proto3.util.initPartial(data, this);
3163
- }
3164
- static fromBinary(bytes, options) {
3165
- return new _VP8MungerState().fromBinary(bytes, options);
3166
- }
3167
- static fromJson(jsonValue, options) {
3168
- return new _VP8MungerState().fromJson(jsonValue, options);
3169
- }
3170
- static fromJsonString(jsonString, options) {
3171
- return new _VP8MungerState().fromJsonString(jsonString, options);
3172
- }
3173
- static equals(a, b) {
3174
- return import_protobuf.proto3.util.equals(_VP8MungerState, a, b);
3175
- }
3176
- };
3177
- _VP8MungerState.runtime = import_protobuf.proto3;
3178
- _VP8MungerState.typeName = "livekit.VP8MungerState";
3179
- _VP8MungerState.fields = import_protobuf.proto3.util.newFieldList(() => [
3180
- {
3181
- no: 1,
3182
- name: "ext_last_picture_id",
3183
- kind: "scalar",
3184
- T: 5
3185
- /* ScalarType.INT32 */
3186
- },
3187
- {
3188
- no: 2,
3189
- name: "picture_id_used",
3190
- kind: "scalar",
3191
- T: 8
3192
- /* ScalarType.BOOL */
3193
- },
3194
- {
3195
- no: 3,
3196
- name: "last_tl0_pic_idx",
3197
- kind: "scalar",
3198
- T: 13
3199
- /* ScalarType.UINT32 */
3200
- },
3201
- {
3202
- no: 4,
3203
- name: "tl0_pic_idx_used",
3204
- kind: "scalar",
3205
- T: 8
3206
- /* ScalarType.BOOL */
3207
- },
3208
- {
3209
- no: 5,
3210
- name: "tid_used",
3211
- kind: "scalar",
3212
- T: 8
3213
- /* ScalarType.BOOL */
3214
- },
3215
- {
3216
- no: 6,
3217
- name: "last_key_idx",
3218
- kind: "scalar",
3219
- T: 13
3220
- /* ScalarType.UINT32 */
3221
- },
3222
- {
3223
- no: 7,
3224
- name: "key_idx_used",
3225
- kind: "scalar",
3226
- T: 8
3227
- /* ScalarType.BOOL */
3228
- }
3229
- ]);
3230
- let VP8MungerState = _VP8MungerState;
3231
- const _TimedVersion = class _TimedVersion extends import_protobuf.Message {
3232
- constructor(data) {
3233
- super();
3234
- /**
3235
- * @generated from field: int64 unix_micro = 1;
3236
- */
3237
- this.unixMicro = import_protobuf.protoInt64.zero;
3238
- /**
3239
- * @generated from field: int32 ticks = 2;
3240
- */
3241
- this.ticks = 0;
3242
- import_protobuf.proto3.util.initPartial(data, this);
3243
- }
3244
- static fromBinary(bytes, options) {
3245
- return new _TimedVersion().fromBinary(bytes, options);
3246
- }
3247
- static fromJson(jsonValue, options) {
3248
- return new _TimedVersion().fromJson(jsonValue, options);
3249
- }
3250
- static fromJsonString(jsonString, options) {
3251
- return new _TimedVersion().fromJsonString(jsonString, options);
3252
- }
3253
- static equals(a, b) {
3254
- return import_protobuf.proto3.util.equals(_TimedVersion, a, b);
3255
- }
3256
- };
3257
- _TimedVersion.runtime = import_protobuf.proto3;
3258
- _TimedVersion.typeName = "livekit.TimedVersion";
3259
- _TimedVersion.fields = import_protobuf.proto3.util.newFieldList(() => [
3260
- {
3261
- no: 1,
3262
- name: "unix_micro",
3263
- kind: "scalar",
3264
- T: 3
3265
- /* ScalarType.INT64 */
3266
- },
3267
- {
3268
- no: 2,
3269
- name: "ticks",
3270
- kind: "scalar",
3271
- T: 5
3272
- /* ScalarType.INT32 */
3273
- }
3274
- ]);
3275
- let TimedVersion = _TimedVersion;
3276
- const _DataStream = class _DataStream extends import_protobuf.Message {
3277
- constructor(data) {
3278
- super();
3279
- import_protobuf.proto3.util.initPartial(data, this);
3280
- }
3281
- static fromBinary(bytes, options) {
3282
- return new _DataStream().fromBinary(bytes, options);
3283
- }
3284
- static fromJson(jsonValue, options) {
3285
- return new _DataStream().fromJson(jsonValue, options);
3286
- }
3287
- static fromJsonString(jsonString, options) {
3288
- return new _DataStream().fromJsonString(jsonString, options);
3289
- }
3290
- static equals(a, b) {
3291
- return import_protobuf.proto3.util.equals(_DataStream, a, b);
3292
- }
3293
- };
3294
- _DataStream.runtime = import_protobuf.proto3;
3295
- _DataStream.typeName = "livekit.DataStream";
3296
- _DataStream.fields = import_protobuf.proto3.util.newFieldList(() => []);
3297
- let DataStream = _DataStream;
3298
- var DataStream_OperationType = /* @__PURE__ */ ((DataStream_OperationType2) => {
3299
- DataStream_OperationType2[DataStream_OperationType2["CREATE"] = 0] = "CREATE";
3300
- DataStream_OperationType2[DataStream_OperationType2["UPDATE"] = 1] = "UPDATE";
3301
- DataStream_OperationType2[DataStream_OperationType2["DELETE"] = 2] = "DELETE";
3302
- DataStream_OperationType2[DataStream_OperationType2["REACTION"] = 3] = "REACTION";
3303
- return DataStream_OperationType2;
3304
- })(DataStream_OperationType || {});
3305
- import_protobuf.proto3.util.setEnumType(DataStream_OperationType, "livekit.DataStream.OperationType", [
3306
- { no: 0, name: "CREATE" },
3307
- { no: 1, name: "UPDATE" },
3308
- { no: 2, name: "DELETE" },
3309
- { no: 3, name: "REACTION" }
3310
- ]);
3311
- const _DataStream_TextHeader = class _DataStream_TextHeader extends import_protobuf.Message {
3312
- constructor(data) {
3313
- super();
3314
- /**
3315
- * @generated from field: livekit.DataStream.OperationType operation_type = 1;
3316
- */
3317
- this.operationType = 0 /* CREATE */;
3318
- /**
3319
- * Optional: Version for updates/edits
3320
- *
3321
- * @generated from field: int32 version = 2;
3322
- */
3323
- this.version = 0;
3324
- /**
3325
- * Optional: Reply to specific message
3326
- *
3327
- * @generated from field: string reply_to_stream_id = 3;
3328
- */
3329
- this.replyToStreamId = "";
3330
- /**
3331
- * file attachments for text streams
3332
- *
3333
- * @generated from field: repeated string attached_stream_ids = 4;
3334
- */
3335
- this.attachedStreamIds = [];
3336
- /**
3337
- * true if the text has been generated by an agent from a participant's audio transcription
3338
- *
3339
- * @generated from field: bool generated = 5;
3340
- */
3341
- this.generated = false;
3342
- import_protobuf.proto3.util.initPartial(data, this);
3343
- }
3344
- static fromBinary(bytes, options) {
3345
- return new _DataStream_TextHeader().fromBinary(bytes, options);
3346
- }
3347
- static fromJson(jsonValue, options) {
3348
- return new _DataStream_TextHeader().fromJson(jsonValue, options);
3349
- }
3350
- static fromJsonString(jsonString, options) {
3351
- return new _DataStream_TextHeader().fromJsonString(jsonString, options);
3352
- }
3353
- static equals(a, b) {
3354
- return import_protobuf.proto3.util.equals(_DataStream_TextHeader, a, b);
3355
- }
3356
- };
3357
- _DataStream_TextHeader.runtime = import_protobuf.proto3;
3358
- _DataStream_TextHeader.typeName = "livekit.DataStream.TextHeader";
3359
- _DataStream_TextHeader.fields = import_protobuf.proto3.util.newFieldList(() => [
3360
- { no: 1, name: "operation_type", kind: "enum", T: import_protobuf.proto3.getEnumType(DataStream_OperationType) },
3361
- {
3362
- no: 2,
3363
- name: "version",
3364
- kind: "scalar",
3365
- T: 5
3366
- /* ScalarType.INT32 */
3367
- },
3368
- {
3369
- no: 3,
3370
- name: "reply_to_stream_id",
3371
- kind: "scalar",
3372
- T: 9
3373
- /* ScalarType.STRING */
3374
- },
3375
- { no: 4, name: "attached_stream_ids", kind: "scalar", T: 9, repeated: true },
3376
- {
3377
- no: 5,
3378
- name: "generated",
3379
- kind: "scalar",
3380
- T: 8
3381
- /* ScalarType.BOOL */
3382
- }
3383
- ]);
3384
- let DataStream_TextHeader = _DataStream_TextHeader;
3385
- const _DataStream_FileHeader = class _DataStream_FileHeader extends import_protobuf.Message {
3386
- constructor(data) {
3387
- super();
3388
- /**
3389
- * name of the file
3390
- *
3391
- * @generated from field: string file_name = 1;
3392
- */
3393
- this.fileName = "";
3394
- import_protobuf.proto3.util.initPartial(data, this);
3395
- }
3396
- static fromBinary(bytes, options) {
3397
- return new _DataStream_FileHeader().fromBinary(bytes, options);
3398
- }
3399
- static fromJson(jsonValue, options) {
3400
- return new _DataStream_FileHeader().fromJson(jsonValue, options);
3401
- }
3402
- static fromJsonString(jsonString, options) {
3403
- return new _DataStream_FileHeader().fromJsonString(jsonString, options);
3404
- }
3405
- static equals(a, b) {
3406
- return import_protobuf.proto3.util.equals(_DataStream_FileHeader, a, b);
3407
- }
3408
- };
3409
- _DataStream_FileHeader.runtime = import_protobuf.proto3;
3410
- _DataStream_FileHeader.typeName = "livekit.DataStream.FileHeader";
3411
- _DataStream_FileHeader.fields = import_protobuf.proto3.util.newFieldList(() => [
3412
- {
3413
- no: 1,
3414
- name: "file_name",
3415
- kind: "scalar",
3416
- T: 9
3417
- /* ScalarType.STRING */
3418
- }
3419
- ]);
3420
- let DataStream_FileHeader = _DataStream_FileHeader;
3421
- const _DataStream_Header = class _DataStream_Header extends import_protobuf.Message {
3422
- constructor(data) {
3423
- super();
3424
- /**
3425
- * unique identifier for this data stream
3426
- *
3427
- * @generated from field: string stream_id = 1;
3428
- */
3429
- this.streamId = "";
3430
- /**
3431
- * using int64 for Unix timestamp
3432
- *
3433
- * @generated from field: int64 timestamp = 2;
3434
- */
3435
- this.timestamp = import_protobuf.protoInt64.zero;
3436
- /**
3437
- * @generated from field: string topic = 3;
3438
- */
3439
- this.topic = "";
3440
- /**
3441
- * @generated from field: string mime_type = 4;
3442
- */
3443
- this.mimeType = "";
3444
- /**
3445
- * defaults to NONE
3446
- *
3447
- * @generated from field: livekit.Encryption.Type encryption_type = 7;
3448
- */
3449
- this.encryptionType = 0 /* NONE */;
3450
- /**
3451
- * user defined extensions map that can carry additional info
3452
- *
3453
- * @generated from field: map<string, string> extensions = 8;
3454
- */
3455
- this.extensions = {};
3456
- /**
3457
- * oneof to choose between specific header types
3458
- *
3459
- * @generated from oneof livekit.DataStream.Header.content_header
3460
- */
3461
- this.contentHeader = { case: void 0 };
3462
- import_protobuf.proto3.util.initPartial(data, this);
3463
- }
3464
- static fromBinary(bytes, options) {
3465
- return new _DataStream_Header().fromBinary(bytes, options);
3466
- }
3467
- static fromJson(jsonValue, options) {
3468
- return new _DataStream_Header().fromJson(jsonValue, options);
3469
- }
3470
- static fromJsonString(jsonString, options) {
3471
- return new _DataStream_Header().fromJsonString(jsonString, options);
3472
- }
3473
- static equals(a, b) {
3474
- return import_protobuf.proto3.util.equals(_DataStream_Header, a, b);
3475
- }
3476
- };
3477
- _DataStream_Header.runtime = import_protobuf.proto3;
3478
- _DataStream_Header.typeName = "livekit.DataStream.Header";
3479
- _DataStream_Header.fields = import_protobuf.proto3.util.newFieldList(() => [
3480
- {
3481
- no: 1,
3482
- name: "stream_id",
3483
- kind: "scalar",
3484
- T: 9
3485
- /* ScalarType.STRING */
3486
- },
3487
- {
3488
- no: 2,
3489
- name: "timestamp",
3490
- kind: "scalar",
3491
- T: 3
3492
- /* ScalarType.INT64 */
3493
- },
3494
- {
3495
- no: 3,
3496
- name: "topic",
3497
- kind: "scalar",
3498
- T: 9
3499
- /* ScalarType.STRING */
3500
- },
3501
- {
3502
- no: 4,
3503
- name: "mime_type",
3504
- kind: "scalar",
3505
- T: 9
3506
- /* ScalarType.STRING */
3507
- },
3508
- { no: 5, name: "total_length", kind: "scalar", T: 4, opt: true },
3509
- { no: 6, name: "total_chunks", kind: "scalar", T: 4, opt: true },
3510
- { no: 7, name: "encryption_type", kind: "enum", T: import_protobuf.proto3.getEnumType(Encryption_Type) },
3511
- { no: 8, name: "extensions", kind: "map", K: 9, V: {
3512
- kind: "scalar",
3513
- T: 9
3514
- /* ScalarType.STRING */
3515
- } },
3516
- { no: 9, name: "text_header", kind: "message", T: DataStream_TextHeader, oneof: "content_header" },
3517
- { no: 10, name: "file_header", kind: "message", T: DataStream_FileHeader, oneof: "content_header" }
3518
- ]);
3519
- let DataStream_Header = _DataStream_Header;
3520
- const _DataStream_Chunk = class _DataStream_Chunk extends import_protobuf.Message {
3521
- constructor(data) {
3522
- super();
3523
- /**
3524
- * unique identifier for this data stream to map it to the correct header
3525
- *
3526
- * @generated from field: string stream_id = 1;
3527
- */
3528
- this.streamId = "";
3529
- /**
3530
- * @generated from field: uint64 chunk_index = 2;
3531
- */
3532
- this.chunkIndex = import_protobuf.protoInt64.zero;
3533
- /**
3534
- * content as binary (bytes)
3535
- *
3536
- * @generated from field: bytes content = 3;
3537
- */
3538
- this.content = new Uint8Array(0);
3539
- /**
3540
- * true only if this is the last chunk of this stream - can also be sent with empty content
3541
- *
3542
- * @generated from field: bool complete = 4;
3543
- */
3544
- this.complete = false;
3545
- /**
3546
- * a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced
3547
- *
3548
- * @generated from field: int32 version = 5;
3549
- */
3550
- this.version = 0;
3551
- import_protobuf.proto3.util.initPartial(data, this);
3552
- }
3553
- static fromBinary(bytes, options) {
3554
- return new _DataStream_Chunk().fromBinary(bytes, options);
3555
- }
3556
- static fromJson(jsonValue, options) {
3557
- return new _DataStream_Chunk().fromJson(jsonValue, options);
3558
- }
3559
- static fromJsonString(jsonString, options) {
3560
- return new _DataStream_Chunk().fromJsonString(jsonString, options);
3561
- }
3562
- static equals(a, b) {
3563
- return import_protobuf.proto3.util.equals(_DataStream_Chunk, a, b);
3564
- }
3565
- };
3566
- _DataStream_Chunk.runtime = import_protobuf.proto3;
3567
- _DataStream_Chunk.typeName = "livekit.DataStream.Chunk";
3568
- _DataStream_Chunk.fields = import_protobuf.proto3.util.newFieldList(() => [
3569
- {
3570
- no: 1,
3571
- name: "stream_id",
3572
- kind: "scalar",
3573
- T: 9
3574
- /* ScalarType.STRING */
3575
- },
3576
- {
3577
- no: 2,
3578
- name: "chunk_index",
3579
- kind: "scalar",
3580
- T: 4
3581
- /* ScalarType.UINT64 */
3582
- },
3583
- {
3584
- no: 3,
3585
- name: "content",
3586
- kind: "scalar",
3587
- T: 12
3588
- /* ScalarType.BYTES */
3589
- },
3590
- {
3591
- no: 4,
3592
- name: "complete",
3593
- kind: "scalar",
3594
- T: 8
3595
- /* ScalarType.BOOL */
3596
- },
3597
- {
3598
- no: 5,
3599
- name: "version",
3600
- kind: "scalar",
3601
- T: 5
3602
- /* ScalarType.INT32 */
3603
- },
3604
- { no: 6, name: "iv", kind: "scalar", T: 12, opt: true }
3605
- ]);
3606
- let DataStream_Chunk = _DataStream_Chunk;
3607
- // Annotate the CommonJS export names for ESM import in node:
3608
- 0 && (module.exports = {
3609
- ActiveSpeakerUpdate,
3610
- AudioCodec,
3611
- AudioTrackFeature,
3612
- ChatMessage,
3613
- ClientConfigSetting,
3614
- ClientConfiguration,
3615
- ClientInfo,
3616
- ClientInfo_SDK,
3617
- Codec,
3618
- ConnectionQuality,
3619
- DataPacket,
3620
- DataPacket_Kind,
3621
- DataStream,
3622
- DataStream_Chunk,
3623
- DataStream_FileHeader,
3624
- DataStream_Header,
3625
- DataStream_OperationType,
3626
- DataStream_TextHeader,
3627
- DisabledCodecs,
3628
- DisconnectReason,
3629
- Encryption,
3630
- Encryption_Type,
3631
- ImageCodec,
3632
- ParticipantInfo,
3633
- ParticipantInfo_Kind,
3634
- ParticipantInfo_State,
3635
- ParticipantPermission,
3636
- ParticipantTracks,
3637
- PlayoutDelay,
3638
- RTCPSenderReportState,
3639
- RTPDrift,
3640
- RTPForwarderState,
3641
- RTPMungerState,
3642
- RTPStats,
3643
- ReconnectReason,
3644
- Room,
3645
- RpcAck,
3646
- RpcError,
3647
- RpcRequest,
3648
- RpcResponse,
3649
- ServerInfo,
3650
- ServerInfo_Edition,
3651
- SimulcastCodecInfo,
3652
- SipDTMF,
3653
- SpeakerInfo,
3654
- SubscriptionError,
3655
- TimedVersion,
3656
- TrackInfo,
3657
- TrackSource,
3658
- TrackType,
3659
- Transcription,
3660
- TranscriptionSegment,
3661
- UserPacket,
3662
- VP8MungerState,
3663
- VideoCodec,
3664
- VideoConfiguration,
3665
- VideoLayer,
3666
- VideoQuality
3667
- });
3668
- //# sourceMappingURL=livekit_models_pb.cjs.map