@livekit/rtc-node 0.10.4 → 0.11.1

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 (136) hide show
  1. package/README.md +54 -2
  2. package/build.rs +1 -1
  3. package/dist/audio_frame.d.ts +1 -1
  4. package/dist/audio_frame.d.ts.map +1 -1
  5. package/dist/audio_frame.js +4 -4
  6. package/dist/audio_frame.js.map +1 -1
  7. package/dist/audio_resampler.d.ts.map +1 -1
  8. package/dist/audio_resampler.js +8 -7
  9. package/dist/audio_resampler.js.map +1 -1
  10. package/dist/audio_source.d.ts.map +1 -1
  11. package/dist/audio_source.js +8 -4
  12. package/dist/audio_source.js.map +1 -1
  13. package/dist/audio_stream.d.ts +1 -1
  14. package/dist/audio_stream.d.ts.map +1 -1
  15. package/dist/audio_stream.js +4 -3
  16. package/dist/audio_stream.js.map +1 -1
  17. package/dist/e2ee.d.ts.map +1 -1
  18. package/dist/e2ee.js +25 -25
  19. package/dist/e2ee.js.map +1 -1
  20. package/dist/ffi_client.d.ts +3 -3
  21. package/dist/ffi_client.d.ts.map +1 -1
  22. package/dist/ffi_client.js +9 -7
  23. package/dist/ffi_client.js.map +1 -1
  24. package/dist/index.d.ts +29 -1
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/index.js +34 -4
  27. package/dist/index.js.map +1 -1
  28. package/dist/napi/native.d.ts +1 -0
  29. package/dist/participant.d.ts +48 -2
  30. package/dist/participant.d.ts.map +1 -1
  31. package/dist/participant.js +143 -24
  32. package/dist/participant.js.map +1 -1
  33. package/dist/proto/audio_frame_pb.d.ts +451 -526
  34. package/dist/proto/audio_frame_pb.d.ts.map +1 -1
  35. package/dist/proto/audio_frame_pb.js +200 -1179
  36. package/dist/proto/audio_frame_pb.js.map +1 -1
  37. package/dist/proto/e2ee_pb.d.ts +264 -333
  38. package/dist/proto/e2ee_pb.d.ts.map +1 -1
  39. package/dist/proto/e2ee_pb.js +136 -810
  40. package/dist/proto/e2ee_pb.js.map +1 -1
  41. package/dist/proto/ffi_pb.d.ts +175 -129
  42. package/dist/proto/ffi_pb.d.ts.map +1 -1
  43. package/dist/proto/ffi_pb.js +58 -395
  44. package/dist/proto/ffi_pb.js.map +1 -1
  45. package/dist/proto/handle_pb.d.ts +14 -13
  46. package/dist/proto/handle_pb.d.ts.map +1 -1
  47. package/dist/proto/handle_pb.js +8 -39
  48. package/dist/proto/handle_pb.js.map +1 -1
  49. package/dist/proto/participant_pb.d.ts +54 -52
  50. package/dist/proto/participant_pb.d.ts.map +1 -1
  51. package/dist/proto/participant_pb.js +18 -90
  52. package/dist/proto/participant_pb.js.map +1 -1
  53. package/dist/proto/room_pb.d.ts +1042 -1187
  54. package/dist/proto/room_pb.d.ts.map +1 -1
  55. package/dist/proto/room_pb.js +470 -2938
  56. package/dist/proto/room_pb.js.map +1 -1
  57. package/dist/proto/rpc_pb.d.ts +235 -0
  58. package/dist/proto/rpc_pb.d.ts.map +1 -0
  59. package/dist/proto/rpc_pb.js +74 -0
  60. package/dist/proto/rpc_pb.js.map +1 -0
  61. package/dist/proto/stats_pb.d.ts +738 -800
  62. package/dist/proto/stats_pb.d.ts.map +1 -1
  63. package/dist/proto/stats_pb.js +218 -1960
  64. package/dist/proto/stats_pb.js.map +1 -1
  65. package/dist/proto/track_pb.d.ts +225 -258
  66. package/dist/proto/track_pb.d.ts.map +1 -1
  67. package/dist/proto/track_pb.js +98 -591
  68. package/dist/proto/track_pb.js.map +1 -1
  69. package/dist/proto/video_frame_pb.d.ts +357 -390
  70. package/dist/proto/video_frame_pb.d.ts.map +1 -1
  71. package/dist/proto/video_frame_pb.js +137 -790
  72. package/dist/proto/video_frame_pb.js.map +1 -1
  73. package/dist/room.d.ts +21 -7
  74. package/dist/room.d.ts.map +1 -1
  75. package/dist/room.js +134 -54
  76. package/dist/room.js.map +1 -1
  77. package/dist/rpc.d.ts +78 -0
  78. package/dist/rpc.d.ts.map +1 -0
  79. package/dist/rpc.js +69 -0
  80. package/dist/rpc.js.map +1 -0
  81. package/dist/track.d.ts.map +1 -1
  82. package/dist/track.js +7 -3
  83. package/dist/track.js.map +1 -1
  84. package/dist/track_publication.d.ts.map +1 -1
  85. package/dist/track_publication.js +3 -2
  86. package/dist/track_publication.js.map +1 -1
  87. package/dist/version.d.ts +2 -0
  88. package/dist/version.d.ts.map +1 -0
  89. package/dist/version.js +2 -0
  90. package/dist/version.js.map +1 -0
  91. package/dist/video_frame.d.ts +2 -2
  92. package/dist/video_frame.d.ts.map +1 -1
  93. package/dist/video_frame.js +47 -25
  94. package/dist/video_frame.js.map +1 -1
  95. package/dist/video_source.d.ts.map +1 -1
  96. package/dist/video_source.js +4 -3
  97. package/dist/video_source.js.map +1 -1
  98. package/dist/video_stream.d.ts +1 -1
  99. package/dist/video_stream.d.ts.map +1 -1
  100. package/dist/video_stream.js +7 -3
  101. package/dist/video_stream.js.map +1 -1
  102. package/package.json +13 -10
  103. package/src/audio_frame.ts +6 -6
  104. package/src/audio_resampler.ts +10 -9
  105. package/src/audio_source.ts +9 -8
  106. package/src/audio_stream.ts +7 -6
  107. package/src/e2ee.ts +34 -34
  108. package/src/ffi_client.ts +23 -10
  109. package/src/index.ts +61 -2
  110. package/src/napi/native.d.ts +1 -0
  111. package/src/nodejs.rs +6 -3
  112. package/src/participant.ts +207 -47
  113. package/src/proto/audio_frame_pb.ts +562 -1279
  114. package/src/proto/e2ee_pb.ts +365 -886
  115. package/src/proto/ffi_pb.ts +206 -405
  116. package/src/proto/handle_pb.ts +21 -35
  117. package/src/proto/participant_pb.ts +71 -112
  118. package/src/proto/room_pb.ts +1284 -2995
  119. package/src/proto/rpc_pb.ts +310 -0
  120. package/src/proto/stats_pb.ts +1028 -1947
  121. package/src/proto/track_pb.ts +287 -621
  122. package/src/proto/video_frame_pb.ts +445 -905
  123. package/src/room.ts +181 -75
  124. package/src/rpc.ts +121 -0
  125. package/src/track.ts +8 -7
  126. package/src/track_publication.ts +5 -4
  127. package/src/version.ts +1 -0
  128. package/src/video_frame.ts +54 -27
  129. package/src/video_source.ts +7 -6
  130. package/src/video_stream.ts +7 -6
  131. package/dist/utils.d.ts +0 -7
  132. package/dist/utils.d.ts.map +0 -1
  133. package/dist/utils.js +0 -48
  134. package/dist/utils.js.map +0 -1
  135. package/src/utils.test.ts +0 -47
  136. package/src/utils.ts +0 -44
@@ -11,7 +11,186 @@
11
11
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
- import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
14
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
15
+ /**
16
+ * Describes the file stats.proto.
17
+ */
18
+ export const file_stats = /*@__PURE__*/ fileDesc("CgtzdGF0cy5wcm90bxINbGl2ZWtpdC5wcm90byLZFwoIUnRjU3RhdHMSLgoFY29kZWMYAyABKAsyHS5saXZla2l0LnByb3RvLlJ0Y1N0YXRzLkNvZGVjSAASOQoLaW5ib3VuZF9ydHAYBCABKAsyIi5saXZla2l0LnByb3RvLlJ0Y1N0YXRzLkluYm91bmRSdHBIABI7CgxvdXRib3VuZF9ydHAYBSABKAsyIy5saXZla2l0LnByb3RvLlJ0Y1N0YXRzLk91dGJvdW5kUnRwSAASRgoScmVtb3RlX2luYm91bmRfcnRwGAYgASgLMigubGl2ZWtpdC5wcm90by5SdGNTdGF0cy5SZW1vdGVJbmJvdW5kUnRwSAASSAoTcmVtb3RlX291dGJvdW5kX3J0cBgHIAEoCzIpLmxpdmVraXQucHJvdG8uUnRjU3RhdHMuUmVtb3RlT3V0Ym91bmRSdHBIABI7CgxtZWRpYV9zb3VyY2UYCCABKAsyIy5saXZla2l0LnByb3RvLlJ0Y1N0YXRzLk1lZGlhU291cmNlSAASPQoNbWVkaWFfcGxheW91dBgJIAEoCzIkLmxpdmVraXQucHJvdG8uUnRjU3RhdHMuTWVkaWFQbGF5b3V0SAASQQoPcGVlcl9jb25uZW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cm90bw");
19
+ /**
20
+ * Describes the message livekit.proto.RtcStats.
21
+ * Use `create(RtcStatsSchema)` to create a new message.
22
+ */
23
+ export const RtcStatsSchema = /*@__PURE__*/ messageDesc(file_stats, 0);
24
+ /**
25
+ * Describes the message livekit.proto.RtcStats.Codec.
26
+ * Use `create(RtcStats_CodecSchema)` to create a new message.
27
+ */
28
+ export const RtcStats_CodecSchema = /*@__PURE__*/ messageDesc(file_stats, 0, 0);
29
+ /**
30
+ * Describes the message livekit.proto.RtcStats.InboundRtp.
31
+ * Use `create(RtcStats_InboundRtpSchema)` to create a new message.
32
+ */
33
+ export const RtcStats_InboundRtpSchema = /*@__PURE__*/ messageDesc(file_stats, 0, 1);
34
+ /**
35
+ * Describes the message livekit.proto.RtcStats.OutboundRtp.
36
+ * Use `create(RtcStats_OutboundRtpSchema)` to create a new message.
37
+ */
38
+ export const RtcStats_OutboundRtpSchema = /*@__PURE__*/ messageDesc(file_stats, 0, 2);
39
+ /**
40
+ * Describes the message livekit.proto.RtcStats.RemoteInboundRtp.
41
+ * Use `create(RtcStats_RemoteInboundRtpSchema)` to create a new message.
42
+ */
43
+ export const RtcStats_RemoteInboundRtpSchema = /*@__PURE__*/ messageDesc(file_stats, 0, 3);
44
+ /**
45
+ * Describes the message livekit.proto.RtcStats.RemoteOutboundRtp.
46
+ * Use `create(RtcStats_RemoteOutboundRtpSchema)` to create a new message.
47
+ */
48
+ export const RtcStats_RemoteOutboundRtpSchema = /*@__PURE__*/ messageDesc(file_stats, 0, 4);
49
+ /**
50
+ * Describes the message livekit.proto.RtcStats.MediaSource.
51
+ * Use `create(RtcStats_MediaSourceSchema)` to create a new message.
52
+ */
53
+ export const RtcStats_MediaSourceSchema = /*@__PURE__*/ messageDesc(file_stats, 0, 5);
54
+ /**
55
+ * Describes the message livekit.proto.RtcStats.MediaPlayout.
56
+ * Use `create(RtcStats_MediaPlayoutSchema)` to create a new message.
57
+ */
58
+ export const RtcStats_MediaPlayoutSchema = /*@__PURE__*/ messageDesc(file_stats, 0, 6);
59
+ /**
60
+ * Describes the message livekit.proto.RtcStats.PeerConnection.
61
+ * Use `create(RtcStats_PeerConnectionSchema)` to create a new message.
62
+ */
63
+ export const RtcStats_PeerConnectionSchema = /*@__PURE__*/ messageDesc(file_stats, 0, 7);
64
+ /**
65
+ * Describes the message livekit.proto.RtcStats.DataChannel.
66
+ * Use `create(RtcStats_DataChannelSchema)` to create a new message.
67
+ */
68
+ export const RtcStats_DataChannelSchema = /*@__PURE__*/ messageDesc(file_stats, 0, 8);
69
+ /**
70
+ * Describes the message livekit.proto.RtcStats.Transport.
71
+ * Use `create(RtcStats_TransportSchema)` to create a new message.
72
+ */
73
+ export const RtcStats_TransportSchema = /*@__PURE__*/ messageDesc(file_stats, 0, 9);
74
+ /**
75
+ * Describes the message livekit.proto.RtcStats.CandidatePair.
76
+ * Use `create(RtcStats_CandidatePairSchema)` to create a new message.
77
+ */
78
+ export const RtcStats_CandidatePairSchema = /*@__PURE__*/ messageDesc(file_stats, 0, 10);
79
+ /**
80
+ * Describes the message livekit.proto.RtcStats.LocalCandidate.
81
+ * Use `create(RtcStats_LocalCandidateSchema)` to create a new message.
82
+ */
83
+ export const RtcStats_LocalCandidateSchema = /*@__PURE__*/ messageDesc(file_stats, 0, 11);
84
+ /**
85
+ * Describes the message livekit.proto.RtcStats.RemoteCandidate.
86
+ * Use `create(RtcStats_RemoteCandidateSchema)` to create a new message.
87
+ */
88
+ export const RtcStats_RemoteCandidateSchema = /*@__PURE__*/ messageDesc(file_stats, 0, 12);
89
+ /**
90
+ * Describes the message livekit.proto.RtcStats.Certificate.
91
+ * Use `create(RtcStats_CertificateSchema)` to create a new message.
92
+ */
93
+ export const RtcStats_CertificateSchema = /*@__PURE__*/ messageDesc(file_stats, 0, 13);
94
+ /**
95
+ * Describes the message livekit.proto.RtcStats.Track.
96
+ * Use `create(RtcStats_TrackSchema)` to create a new message.
97
+ */
98
+ export const RtcStats_TrackSchema = /*@__PURE__*/ messageDesc(file_stats, 0, 14);
99
+ /**
100
+ * Describes the message livekit.proto.RtcStatsData.
101
+ * Use `create(RtcStatsDataSchema)` to create a new message.
102
+ */
103
+ export const RtcStatsDataSchema = /*@__PURE__*/ messageDesc(file_stats, 1);
104
+ /**
105
+ * Describes the message livekit.proto.CodecStats.
106
+ * Use `create(CodecStatsSchema)` to create a new message.
107
+ */
108
+ export const CodecStatsSchema = /*@__PURE__*/ messageDesc(file_stats, 2);
109
+ /**
110
+ * Describes the message livekit.proto.RtpStreamStats.
111
+ * Use `create(RtpStreamStatsSchema)` to create a new message.
112
+ */
113
+ export const RtpStreamStatsSchema = /*@__PURE__*/ messageDesc(file_stats, 3);
114
+ /**
115
+ * Describes the message livekit.proto.ReceivedRtpStreamStats.
116
+ * Use `create(ReceivedRtpStreamStatsSchema)` to create a new message.
117
+ */
118
+ export const ReceivedRtpStreamStatsSchema = /*@__PURE__*/ messageDesc(file_stats, 4);
119
+ /**
120
+ * Describes the message livekit.proto.InboundRtpStreamStats.
121
+ * Use `create(InboundRtpStreamStatsSchema)` to create a new message.
122
+ */
123
+ export const InboundRtpStreamStatsSchema = /*@__PURE__*/ messageDesc(file_stats, 5);
124
+ /**
125
+ * Describes the message livekit.proto.SentRtpStreamStats.
126
+ * Use `create(SentRtpStreamStatsSchema)` to create a new message.
127
+ */
128
+ export const SentRtpStreamStatsSchema = /*@__PURE__*/ messageDesc(file_stats, 6);
129
+ /**
130
+ * Describes the message livekit.proto.OutboundRtpStreamStats.
131
+ * Use `create(OutboundRtpStreamStatsSchema)` to create a new message.
132
+ */
133
+ export const OutboundRtpStreamStatsSchema = /*@__PURE__*/ messageDesc(file_stats, 7);
134
+ /**
135
+ * Describes the message livekit.proto.RemoteInboundRtpStreamStats.
136
+ * Use `create(RemoteInboundRtpStreamStatsSchema)` to create a new message.
137
+ */
138
+ export const RemoteInboundRtpStreamStatsSchema = /*@__PURE__*/ messageDesc(file_stats, 8);
139
+ /**
140
+ * Describes the message livekit.proto.RemoteOutboundRtpStreamStats.
141
+ * Use `create(RemoteOutboundRtpStreamStatsSchema)` to create a new message.
142
+ */
143
+ export const RemoteOutboundRtpStreamStatsSchema = /*@__PURE__*/ messageDesc(file_stats, 9);
144
+ /**
145
+ * Describes the message livekit.proto.MediaSourceStats.
146
+ * Use `create(MediaSourceStatsSchema)` to create a new message.
147
+ */
148
+ export const MediaSourceStatsSchema = /*@__PURE__*/ messageDesc(file_stats, 10);
149
+ /**
150
+ * Describes the message livekit.proto.AudioSourceStats.
151
+ * Use `create(AudioSourceStatsSchema)` to create a new message.
152
+ */
153
+ export const AudioSourceStatsSchema = /*@__PURE__*/ messageDesc(file_stats, 11);
154
+ /**
155
+ * Describes the message livekit.proto.VideoSourceStats.
156
+ * Use `create(VideoSourceStatsSchema)` to create a new message.
157
+ */
158
+ export const VideoSourceStatsSchema = /*@__PURE__*/ messageDesc(file_stats, 12);
159
+ /**
160
+ * Describes the message livekit.proto.AudioPlayoutStats.
161
+ * Use `create(AudioPlayoutStatsSchema)` to create a new message.
162
+ */
163
+ export const AudioPlayoutStatsSchema = /*@__PURE__*/ messageDesc(file_stats, 13);
164
+ /**
165
+ * Describes the message livekit.proto.PeerConnectionStats.
166
+ * Use `create(PeerConnectionStatsSchema)` to create a new message.
167
+ */
168
+ export const PeerConnectionStatsSchema = /*@__PURE__*/ messageDesc(file_stats, 14);
169
+ /**
170
+ * Describes the message livekit.proto.DataChannelStats.
171
+ * Use `create(DataChannelStatsSchema)` to create a new message.
172
+ */
173
+ export const DataChannelStatsSchema = /*@__PURE__*/ messageDesc(file_stats, 15);
174
+ /**
175
+ * Describes the message livekit.proto.TransportStats.
176
+ * Use `create(TransportStatsSchema)` to create a new message.
177
+ */
178
+ export const TransportStatsSchema = /*@__PURE__*/ messageDesc(file_stats, 16);
179
+ /**
180
+ * Describes the message livekit.proto.CandidatePairStats.
181
+ * Use `create(CandidatePairStatsSchema)` to create a new message.
182
+ */
183
+ export const CandidatePairStatsSchema = /*@__PURE__*/ messageDesc(file_stats, 17);
184
+ /**
185
+ * Describes the message livekit.proto.IceCandidateStats.
186
+ * Use `create(IceCandidateStatsSchema)` to create a new message.
187
+ */
188
+ export const IceCandidateStatsSchema = /*@__PURE__*/ messageDesc(file_stats, 18);
189
+ /**
190
+ * Describes the message livekit.proto.CertificateStats.
191
+ * Use `create(CertificateStatsSchema)` to create a new message.
192
+ */
193
+ export const CertificateStatsSchema = /*@__PURE__*/ messageDesc(file_stats, 19);
15
194
  /**
16
195
  * @generated from enum livekit.proto.DataChannelState
17
196
  */
@@ -34,13 +213,10 @@ export var DataChannelState;
34
213
  */
35
214
  DataChannelState[DataChannelState["DC_CLOSED"] = 3] = "DC_CLOSED";
36
215
  })(DataChannelState || (DataChannelState = {}));
37
- // Retrieve enum metadata with: proto3.getEnumType(DataChannelState)
38
- proto3.util.setEnumType(DataChannelState, "livekit.proto.DataChannelState", [
39
- { no: 0, name: "DC_CONNECTING" },
40
- { no: 1, name: "DC_OPEN" },
41
- { no: 2, name: "DC_CLOSING" },
42
- { no: 3, name: "DC_CLOSED" },
43
- ]);
216
+ /**
217
+ * Describes the enum livekit.proto.DataChannelState.
218
+ */
219
+ export const DataChannelStateSchema = /*@__PURE__*/ enumDesc(file_stats, 0);
44
220
  /**
45
221
  * @generated from enum livekit.proto.QualityLimitationReason
46
222
  */
@@ -63,13 +239,10 @@ export var QualityLimitationReason;
63
239
  */
64
240
  QualityLimitationReason[QualityLimitationReason["LIMITATION_OTHER"] = 3] = "LIMITATION_OTHER";
65
241
  })(QualityLimitationReason || (QualityLimitationReason = {}));
66
- // Retrieve enum metadata with: proto3.getEnumType(QualityLimitationReason)
67
- proto3.util.setEnumType(QualityLimitationReason, "livekit.proto.QualityLimitationReason", [
68
- { no: 0, name: "LIMITATION_NONE" },
69
- { no: 1, name: "LIMITATION_CPU" },
70
- { no: 2, name: "LIMITATION_BANDWIDTH" },
71
- { no: 3, name: "LIMITATION_OTHER" },
72
- ]);
242
+ /**
243
+ * Describes the enum livekit.proto.QualityLimitationReason.
244
+ */
245
+ export const QualityLimitationReasonSchema = /*@__PURE__*/ enumDesc(file_stats, 1);
73
246
  /**
74
247
  * @generated from enum livekit.proto.IceRole
75
248
  */
@@ -88,12 +261,10 @@ export var IceRole;
88
261
  */
89
262
  IceRole[IceRole["ICE_CONTROLLED"] = 2] = "ICE_CONTROLLED";
90
263
  })(IceRole || (IceRole = {}));
91
- // Retrieve enum metadata with: proto3.getEnumType(IceRole)
92
- proto3.util.setEnumType(IceRole, "livekit.proto.IceRole", [
93
- { no: 0, name: "ICE_UNKNOWN" },
94
- { no: 1, name: "ICE_CONTROLLING" },
95
- { no: 2, name: "ICE_CONTROLLED" },
96
- ]);
264
+ /**
265
+ * Describes the enum livekit.proto.IceRole.
266
+ */
267
+ export const IceRoleSchema = /*@__PURE__*/ enumDesc(file_stats, 2);
97
268
  /**
98
269
  * @generated from enum livekit.proto.DtlsTransportState
99
270
  */
@@ -120,14 +291,10 @@ export var DtlsTransportState;
120
291
  */
121
292
  DtlsTransportState[DtlsTransportState["DTLS_TRANSPORT_FAILED"] = 4] = "DTLS_TRANSPORT_FAILED";
122
293
  })(DtlsTransportState || (DtlsTransportState = {}));
123
- // Retrieve enum metadata with: proto3.getEnumType(DtlsTransportState)
124
- proto3.util.setEnumType(DtlsTransportState, "livekit.proto.DtlsTransportState", [
125
- { no: 0, name: "DTLS_TRANSPORT_NEW" },
126
- { no: 1, name: "DTLS_TRANSPORT_CONNECTING" },
127
- { no: 2, name: "DTLS_TRANSPORT_CONNECTED" },
128
- { no: 3, name: "DTLS_TRANSPORT_CLOSED" },
129
- { no: 4, name: "DTLS_TRANSPORT_FAILED" },
130
- ]);
294
+ /**
295
+ * Describes the enum livekit.proto.DtlsTransportState.
296
+ */
297
+ export const DtlsTransportStateSchema = /*@__PURE__*/ enumDesc(file_stats, 3);
131
298
  /**
132
299
  * @generated from enum livekit.proto.IceTransportState
133
300
  */
@@ -162,16 +329,10 @@ export var IceTransportState;
162
329
  */
163
330
  IceTransportState[IceTransportState["ICE_TRANSPORT_CLOSED"] = 6] = "ICE_TRANSPORT_CLOSED";
164
331
  })(IceTransportState || (IceTransportState = {}));
165
- // Retrieve enum metadata with: proto3.getEnumType(IceTransportState)
166
- proto3.util.setEnumType(IceTransportState, "livekit.proto.IceTransportState", [
167
- { no: 0, name: "ICE_TRANSPORT_NEW" },
168
- { no: 1, name: "ICE_TRANSPORT_CHECKING" },
169
- { no: 2, name: "ICE_TRANSPORT_CONNECTED" },
170
- { no: 3, name: "ICE_TRANSPORT_COMPLETED" },
171
- { no: 4, name: "ICE_TRANSPORT_DISCONNECTED" },
172
- { no: 5, name: "ICE_TRANSPORT_FAILED" },
173
- { no: 6, name: "ICE_TRANSPORT_CLOSED" },
174
- ]);
332
+ /**
333
+ * Describes the enum livekit.proto.IceTransportState.
334
+ */
335
+ export const IceTransportStateSchema = /*@__PURE__*/ enumDesc(file_stats, 4);
175
336
  /**
176
337
  * @generated from enum livekit.proto.DtlsRole
177
338
  */
@@ -190,12 +351,10 @@ export var DtlsRole;
190
351
  */
191
352
  DtlsRole[DtlsRole["DTLS_UNKNOWN"] = 2] = "DTLS_UNKNOWN";
192
353
  })(DtlsRole || (DtlsRole = {}));
193
- // Retrieve enum metadata with: proto3.getEnumType(DtlsRole)
194
- proto3.util.setEnumType(DtlsRole, "livekit.proto.DtlsRole", [
195
- { no: 0, name: "DTLS_CLIENT" },
196
- { no: 1, name: "DTLS_SERVER" },
197
- { no: 2, name: "DTLS_UNKNOWN" },
198
- ]);
354
+ /**
355
+ * Describes the enum livekit.proto.DtlsRole.
356
+ */
357
+ export const DtlsRoleSchema = /*@__PURE__*/ enumDesc(file_stats, 5);
199
358
  /**
200
359
  * @generated from enum livekit.proto.IceCandidatePairState
201
360
  */
@@ -222,14 +381,10 @@ export var IceCandidatePairState;
222
381
  */
223
382
  IceCandidatePairState[IceCandidatePairState["PAIR_SUCCEEDED"] = 4] = "PAIR_SUCCEEDED";
224
383
  })(IceCandidatePairState || (IceCandidatePairState = {}));
225
- // Retrieve enum metadata with: proto3.getEnumType(IceCandidatePairState)
226
- proto3.util.setEnumType(IceCandidatePairState, "livekit.proto.IceCandidatePairState", [
227
- { no: 0, name: "PAIR_FROZEN" },
228
- { no: 1, name: "PAIR_WAITING" },
229
- { no: 2, name: "PAIR_IN_PROGRESS" },
230
- { no: 3, name: "PAIR_FAILED" },
231
- { no: 4, name: "PAIR_SUCCEEDED" },
232
- ]);
384
+ /**
385
+ * Describes the enum livekit.proto.IceCandidatePairState.
386
+ */
387
+ export const IceCandidatePairStateSchema = /*@__PURE__*/ enumDesc(file_stats, 6);
233
388
  /**
234
389
  * @generated from enum livekit.proto.IceCandidateType
235
390
  */
@@ -252,13 +407,10 @@ export var IceCandidateType;
252
407
  */
253
408
  IceCandidateType[IceCandidateType["RELAY"] = 3] = "RELAY";
254
409
  })(IceCandidateType || (IceCandidateType = {}));
255
- // Retrieve enum metadata with: proto3.getEnumType(IceCandidateType)
256
- proto3.util.setEnumType(IceCandidateType, "livekit.proto.IceCandidateType", [
257
- { no: 0, name: "HOST" },
258
- { no: 1, name: "SRFLX" },
259
- { no: 2, name: "PRFLX" },
260
- { no: 3, name: "RELAY" },
261
- ]);
410
+ /**
411
+ * Describes the enum livekit.proto.IceCandidateType.
412
+ */
413
+ export const IceCandidateTypeSchema = /*@__PURE__*/ enumDesc(file_stats, 7);
262
414
  /**
263
415
  * @generated from enum livekit.proto.IceServerTransportProtocol
264
416
  */
@@ -277,12 +429,10 @@ export var IceServerTransportProtocol;
277
429
  */
278
430
  IceServerTransportProtocol[IceServerTransportProtocol["TRANSPORT_TLS"] = 2] = "TRANSPORT_TLS";
279
431
  })(IceServerTransportProtocol || (IceServerTransportProtocol = {}));
280
- // Retrieve enum metadata with: proto3.getEnumType(IceServerTransportProtocol)
281
- proto3.util.setEnumType(IceServerTransportProtocol, "livekit.proto.IceServerTransportProtocol", [
282
- { no: 0, name: "TRANSPORT_UDP" },
283
- { no: 1, name: "TRANSPORT_TCP" },
284
- { no: 2, name: "TRANSPORT_TLS" },
285
- ]);
432
+ /**
433
+ * Describes the enum livekit.proto.IceServerTransportProtocol.
434
+ */
435
+ export const IceServerTransportProtocolSchema = /*@__PURE__*/ enumDesc(file_stats, 8);
286
436
  /**
287
437
  * @generated from enum livekit.proto.IceTcpCandidateType
288
438
  */
@@ -301,1900 +451,8 @@ export var IceTcpCandidateType;
301
451
  */
302
452
  IceTcpCandidateType[IceTcpCandidateType["CANDIDATE_SO"] = 2] = "CANDIDATE_SO";
303
453
  })(IceTcpCandidateType || (IceTcpCandidateType = {}));
304
- // Retrieve enum metadata with: proto3.getEnumType(IceTcpCandidateType)
305
- proto3.util.setEnumType(IceTcpCandidateType, "livekit.proto.IceTcpCandidateType", [
306
- { no: 0, name: "CANDIDATE_ACTIVE" },
307
- { no: 1, name: "CANDIDATE_PASSIVE" },
308
- { no: 2, name: "CANDIDATE_SO" },
309
- ]);
310
- /**
311
- * @generated from message livekit.proto.RtcStats
312
- */
313
- export class RtcStats extends Message {
314
- constructor(data) {
315
- super();
316
- /**
317
- * @generated from oneof livekit.proto.RtcStats.stats
318
- */
319
- this.stats = { case: undefined };
320
- proto3.util.initPartial(data, this);
321
- }
322
- static fromBinary(bytes, options) {
323
- return new RtcStats().fromBinary(bytes, options);
324
- }
325
- static fromJson(jsonValue, options) {
326
- return new RtcStats().fromJson(jsonValue, options);
327
- }
328
- static fromJsonString(jsonString, options) {
329
- return new RtcStats().fromJsonString(jsonString, options);
330
- }
331
- static equals(a, b) {
332
- return proto3.util.equals(RtcStats, a, b);
333
- }
334
- }
335
- RtcStats.runtime = proto3;
336
- RtcStats.typeName = "livekit.proto.RtcStats";
337
- RtcStats.fields = proto3.util.newFieldList(() => [
338
- { no: 3, name: "codec", kind: "message", T: RtcStats_Codec, oneof: "stats" },
339
- { no: 4, name: "inbound_rtp", kind: "message", T: RtcStats_InboundRtp, oneof: "stats" },
340
- { no: 5, name: "outbound_rtp", kind: "message", T: RtcStats_OutboundRtp, oneof: "stats" },
341
- { no: 6, name: "remote_inbound_rtp", kind: "message", T: RtcStats_RemoteInboundRtp, oneof: "stats" },
342
- { no: 7, name: "remote_outbound_rtp", kind: "message", T: RtcStats_RemoteOutboundRtp, oneof: "stats" },
343
- { no: 8, name: "media_source", kind: "message", T: RtcStats_MediaSource, oneof: "stats" },
344
- { no: 9, name: "media_playout", kind: "message", T: RtcStats_MediaPlayout, oneof: "stats" },
345
- { no: 10, name: "peer_connection", kind: "message", T: RtcStats_PeerConnection, oneof: "stats" },
346
- { no: 11, name: "data_channel", kind: "message", T: RtcStats_DataChannel, oneof: "stats" },
347
- { no: 12, name: "transport", kind: "message", T: RtcStats_Transport, oneof: "stats" },
348
- { no: 13, name: "candidate_pair", kind: "message", T: RtcStats_CandidatePair, oneof: "stats" },
349
- { no: 14, name: "local_candidate", kind: "message", T: RtcStats_LocalCandidate, oneof: "stats" },
350
- { no: 15, name: "remote_candidate", kind: "message", T: RtcStats_RemoteCandidate, oneof: "stats" },
351
- { no: 16, name: "certificate", kind: "message", T: RtcStats_Certificate, oneof: "stats" },
352
- { no: 17, name: "track", kind: "message", T: RtcStats_Track, oneof: "stats" },
353
- ]);
354
- /**
355
- * @generated from message livekit.proto.RtcStats.Codec
356
- */
357
- export class RtcStats_Codec extends Message {
358
- constructor(data) {
359
- super();
360
- proto3.util.initPartial(data, this);
361
- }
362
- static fromBinary(bytes, options) {
363
- return new RtcStats_Codec().fromBinary(bytes, options);
364
- }
365
- static fromJson(jsonValue, options) {
366
- return new RtcStats_Codec().fromJson(jsonValue, options);
367
- }
368
- static fromJsonString(jsonString, options) {
369
- return new RtcStats_Codec().fromJsonString(jsonString, options);
370
- }
371
- static equals(a, b) {
372
- return proto3.util.equals(RtcStats_Codec, a, b);
373
- }
374
- }
375
- RtcStats_Codec.runtime = proto3;
376
- RtcStats_Codec.typeName = "livekit.proto.RtcStats.Codec";
377
- RtcStats_Codec.fields = proto3.util.newFieldList(() => [
378
- { no: 1, name: "rtc", kind: "message", T: RtcStatsData },
379
- { no: 2, name: "codec", kind: "message", T: CodecStats },
380
- ]);
381
- /**
382
- * @generated from message livekit.proto.RtcStats.InboundRtp
383
- */
384
- export class RtcStats_InboundRtp extends Message {
385
- constructor(data) {
386
- super();
387
- proto3.util.initPartial(data, this);
388
- }
389
- static fromBinary(bytes, options) {
390
- return new RtcStats_InboundRtp().fromBinary(bytes, options);
391
- }
392
- static fromJson(jsonValue, options) {
393
- return new RtcStats_InboundRtp().fromJson(jsonValue, options);
394
- }
395
- static fromJsonString(jsonString, options) {
396
- return new RtcStats_InboundRtp().fromJsonString(jsonString, options);
397
- }
398
- static equals(a, b) {
399
- return proto3.util.equals(RtcStats_InboundRtp, a, b);
400
- }
401
- }
402
- RtcStats_InboundRtp.runtime = proto3;
403
- RtcStats_InboundRtp.typeName = "livekit.proto.RtcStats.InboundRtp";
404
- RtcStats_InboundRtp.fields = proto3.util.newFieldList(() => [
405
- { no: 1, name: "rtc", kind: "message", T: RtcStatsData },
406
- { no: 2, name: "stream", kind: "message", T: RtpStreamStats },
407
- { no: 3, name: "received", kind: "message", T: ReceivedRtpStreamStats },
408
- { no: 4, name: "inbound", kind: "message", T: InboundRtpStreamStats },
409
- ]);
410
- /**
411
- * @generated from message livekit.proto.RtcStats.OutboundRtp
412
- */
413
- export class RtcStats_OutboundRtp extends Message {
414
- constructor(data) {
415
- super();
416
- proto3.util.initPartial(data, this);
417
- }
418
- static fromBinary(bytes, options) {
419
- return new RtcStats_OutboundRtp().fromBinary(bytes, options);
420
- }
421
- static fromJson(jsonValue, options) {
422
- return new RtcStats_OutboundRtp().fromJson(jsonValue, options);
423
- }
424
- static fromJsonString(jsonString, options) {
425
- return new RtcStats_OutboundRtp().fromJsonString(jsonString, options);
426
- }
427
- static equals(a, b) {
428
- return proto3.util.equals(RtcStats_OutboundRtp, a, b);
429
- }
430
- }
431
- RtcStats_OutboundRtp.runtime = proto3;
432
- RtcStats_OutboundRtp.typeName = "livekit.proto.RtcStats.OutboundRtp";
433
- RtcStats_OutboundRtp.fields = proto3.util.newFieldList(() => [
434
- { no: 1, name: "rtc", kind: "message", T: RtcStatsData },
435
- { no: 2, name: "stream", kind: "message", T: RtpStreamStats },
436
- { no: 3, name: "sent", kind: "message", T: SentRtpStreamStats },
437
- { no: 4, name: "outbound", kind: "message", T: OutboundRtpStreamStats },
438
- ]);
439
- /**
440
- * @generated from message livekit.proto.RtcStats.RemoteInboundRtp
441
- */
442
- export class RtcStats_RemoteInboundRtp extends Message {
443
- constructor(data) {
444
- super();
445
- proto3.util.initPartial(data, this);
446
- }
447
- static fromBinary(bytes, options) {
448
- return new RtcStats_RemoteInboundRtp().fromBinary(bytes, options);
449
- }
450
- static fromJson(jsonValue, options) {
451
- return new RtcStats_RemoteInboundRtp().fromJson(jsonValue, options);
452
- }
453
- static fromJsonString(jsonString, options) {
454
- return new RtcStats_RemoteInboundRtp().fromJsonString(jsonString, options);
455
- }
456
- static equals(a, b) {
457
- return proto3.util.equals(RtcStats_RemoteInboundRtp, a, b);
458
- }
459
- }
460
- RtcStats_RemoteInboundRtp.runtime = proto3;
461
- RtcStats_RemoteInboundRtp.typeName = "livekit.proto.RtcStats.RemoteInboundRtp";
462
- RtcStats_RemoteInboundRtp.fields = proto3.util.newFieldList(() => [
463
- { no: 1, name: "rtc", kind: "message", T: RtcStatsData },
464
- { no: 2, name: "stream", kind: "message", T: RtpStreamStats },
465
- { no: 3, name: "received", kind: "message", T: ReceivedRtpStreamStats },
466
- { no: 4, name: "remote_inbound", kind: "message", T: RemoteInboundRtpStreamStats },
467
- ]);
468
- /**
469
- * @generated from message livekit.proto.RtcStats.RemoteOutboundRtp
470
- */
471
- export class RtcStats_RemoteOutboundRtp extends Message {
472
- constructor(data) {
473
- super();
474
- proto3.util.initPartial(data, this);
475
- }
476
- static fromBinary(bytes, options) {
477
- return new RtcStats_RemoteOutboundRtp().fromBinary(bytes, options);
478
- }
479
- static fromJson(jsonValue, options) {
480
- return new RtcStats_RemoteOutboundRtp().fromJson(jsonValue, options);
481
- }
482
- static fromJsonString(jsonString, options) {
483
- return new RtcStats_RemoteOutboundRtp().fromJsonString(jsonString, options);
484
- }
485
- static equals(a, b) {
486
- return proto3.util.equals(RtcStats_RemoteOutboundRtp, a, b);
487
- }
488
- }
489
- RtcStats_RemoteOutboundRtp.runtime = proto3;
490
- RtcStats_RemoteOutboundRtp.typeName = "livekit.proto.RtcStats.RemoteOutboundRtp";
491
- RtcStats_RemoteOutboundRtp.fields = proto3.util.newFieldList(() => [
492
- { no: 1, name: "rtc", kind: "message", T: RtcStatsData },
493
- { no: 2, name: "stream", kind: "message", T: RtpStreamStats },
494
- { no: 3, name: "sent", kind: "message", T: SentRtpStreamStats },
495
- { no: 4, name: "remote_outbound", kind: "message", T: RemoteOutboundRtpStreamStats },
496
- ]);
497
- /**
498
- * @generated from message livekit.proto.RtcStats.MediaSource
499
- */
500
- export class RtcStats_MediaSource extends Message {
501
- constructor(data) {
502
- super();
503
- proto3.util.initPartial(data, this);
504
- }
505
- static fromBinary(bytes, options) {
506
- return new RtcStats_MediaSource().fromBinary(bytes, options);
507
- }
508
- static fromJson(jsonValue, options) {
509
- return new RtcStats_MediaSource().fromJson(jsonValue, options);
510
- }
511
- static fromJsonString(jsonString, options) {
512
- return new RtcStats_MediaSource().fromJsonString(jsonString, options);
513
- }
514
- static equals(a, b) {
515
- return proto3.util.equals(RtcStats_MediaSource, a, b);
516
- }
517
- }
518
- RtcStats_MediaSource.runtime = proto3;
519
- RtcStats_MediaSource.typeName = "livekit.proto.RtcStats.MediaSource";
520
- RtcStats_MediaSource.fields = proto3.util.newFieldList(() => [
521
- { no: 1, name: "rtc", kind: "message", T: RtcStatsData },
522
- { no: 2, name: "source", kind: "message", T: MediaSourceStats },
523
- { no: 3, name: "audio", kind: "message", T: AudioSourceStats },
524
- { no: 4, name: "video", kind: "message", T: VideoSourceStats },
525
- ]);
526
- /**
527
- * @generated from message livekit.proto.RtcStats.MediaPlayout
528
- */
529
- export class RtcStats_MediaPlayout extends Message {
530
- constructor(data) {
531
- super();
532
- proto3.util.initPartial(data, this);
533
- }
534
- static fromBinary(bytes, options) {
535
- return new RtcStats_MediaPlayout().fromBinary(bytes, options);
536
- }
537
- static fromJson(jsonValue, options) {
538
- return new RtcStats_MediaPlayout().fromJson(jsonValue, options);
539
- }
540
- static fromJsonString(jsonString, options) {
541
- return new RtcStats_MediaPlayout().fromJsonString(jsonString, options);
542
- }
543
- static equals(a, b) {
544
- return proto3.util.equals(RtcStats_MediaPlayout, a, b);
545
- }
546
- }
547
- RtcStats_MediaPlayout.runtime = proto3;
548
- RtcStats_MediaPlayout.typeName = "livekit.proto.RtcStats.MediaPlayout";
549
- RtcStats_MediaPlayout.fields = proto3.util.newFieldList(() => [
550
- { no: 1, name: "rtc", kind: "message", T: RtcStatsData },
551
- { no: 2, name: "audio_playout", kind: "message", T: AudioPlayoutStats },
552
- ]);
553
- /**
554
- * @generated from message livekit.proto.RtcStats.PeerConnection
555
- */
556
- export class RtcStats_PeerConnection extends Message {
557
- constructor(data) {
558
- super();
559
- proto3.util.initPartial(data, this);
560
- }
561
- static fromBinary(bytes, options) {
562
- return new RtcStats_PeerConnection().fromBinary(bytes, options);
563
- }
564
- static fromJson(jsonValue, options) {
565
- return new RtcStats_PeerConnection().fromJson(jsonValue, options);
566
- }
567
- static fromJsonString(jsonString, options) {
568
- return new RtcStats_PeerConnection().fromJsonString(jsonString, options);
569
- }
570
- static equals(a, b) {
571
- return proto3.util.equals(RtcStats_PeerConnection, a, b);
572
- }
573
- }
574
- RtcStats_PeerConnection.runtime = proto3;
575
- RtcStats_PeerConnection.typeName = "livekit.proto.RtcStats.PeerConnection";
576
- RtcStats_PeerConnection.fields = proto3.util.newFieldList(() => [
577
- { no: 1, name: "rtc", kind: "message", T: RtcStatsData },
578
- { no: 2, name: "pc", kind: "message", T: PeerConnectionStats },
579
- ]);
580
- /**
581
- * @generated from message livekit.proto.RtcStats.DataChannel
582
- */
583
- export class RtcStats_DataChannel extends Message {
584
- constructor(data) {
585
- super();
586
- proto3.util.initPartial(data, this);
587
- }
588
- static fromBinary(bytes, options) {
589
- return new RtcStats_DataChannel().fromBinary(bytes, options);
590
- }
591
- static fromJson(jsonValue, options) {
592
- return new RtcStats_DataChannel().fromJson(jsonValue, options);
593
- }
594
- static fromJsonString(jsonString, options) {
595
- return new RtcStats_DataChannel().fromJsonString(jsonString, options);
596
- }
597
- static equals(a, b) {
598
- return proto3.util.equals(RtcStats_DataChannel, a, b);
599
- }
600
- }
601
- RtcStats_DataChannel.runtime = proto3;
602
- RtcStats_DataChannel.typeName = "livekit.proto.RtcStats.DataChannel";
603
- RtcStats_DataChannel.fields = proto3.util.newFieldList(() => [
604
- { no: 1, name: "rtc", kind: "message", T: RtcStatsData },
605
- { no: 2, name: "dc", kind: "message", T: DataChannelStats },
606
- ]);
607
- /**
608
- * @generated from message livekit.proto.RtcStats.Transport
609
- */
610
- export class RtcStats_Transport extends Message {
611
- constructor(data) {
612
- super();
613
- proto3.util.initPartial(data, this);
614
- }
615
- static fromBinary(bytes, options) {
616
- return new RtcStats_Transport().fromBinary(bytes, options);
617
- }
618
- static fromJson(jsonValue, options) {
619
- return new RtcStats_Transport().fromJson(jsonValue, options);
620
- }
621
- static fromJsonString(jsonString, options) {
622
- return new RtcStats_Transport().fromJsonString(jsonString, options);
623
- }
624
- static equals(a, b) {
625
- return proto3.util.equals(RtcStats_Transport, a, b);
626
- }
627
- }
628
- RtcStats_Transport.runtime = proto3;
629
- RtcStats_Transport.typeName = "livekit.proto.RtcStats.Transport";
630
- RtcStats_Transport.fields = proto3.util.newFieldList(() => [
631
- { no: 1, name: "rtc", kind: "message", T: RtcStatsData },
632
- { no: 2, name: "transport", kind: "message", T: TransportStats },
633
- ]);
634
- /**
635
- * @generated from message livekit.proto.RtcStats.CandidatePair
636
- */
637
- export class RtcStats_CandidatePair extends Message {
638
- constructor(data) {
639
- super();
640
- proto3.util.initPartial(data, this);
641
- }
642
- static fromBinary(bytes, options) {
643
- return new RtcStats_CandidatePair().fromBinary(bytes, options);
644
- }
645
- static fromJson(jsonValue, options) {
646
- return new RtcStats_CandidatePair().fromJson(jsonValue, options);
647
- }
648
- static fromJsonString(jsonString, options) {
649
- return new RtcStats_CandidatePair().fromJsonString(jsonString, options);
650
- }
651
- static equals(a, b) {
652
- return proto3.util.equals(RtcStats_CandidatePair, a, b);
653
- }
654
- }
655
- RtcStats_CandidatePair.runtime = proto3;
656
- RtcStats_CandidatePair.typeName = "livekit.proto.RtcStats.CandidatePair";
657
- RtcStats_CandidatePair.fields = proto3.util.newFieldList(() => [
658
- { no: 1, name: "rtc", kind: "message", T: RtcStatsData },
659
- { no: 2, name: "candidate_pair", kind: "message", T: CandidatePairStats },
660
- ]);
661
- /**
662
- * @generated from message livekit.proto.RtcStats.LocalCandidate
663
- */
664
- export class RtcStats_LocalCandidate extends Message {
665
- constructor(data) {
666
- super();
667
- proto3.util.initPartial(data, this);
668
- }
669
- static fromBinary(bytes, options) {
670
- return new RtcStats_LocalCandidate().fromBinary(bytes, options);
671
- }
672
- static fromJson(jsonValue, options) {
673
- return new RtcStats_LocalCandidate().fromJson(jsonValue, options);
674
- }
675
- static fromJsonString(jsonString, options) {
676
- return new RtcStats_LocalCandidate().fromJsonString(jsonString, options);
677
- }
678
- static equals(a, b) {
679
- return proto3.util.equals(RtcStats_LocalCandidate, a, b);
680
- }
681
- }
682
- RtcStats_LocalCandidate.runtime = proto3;
683
- RtcStats_LocalCandidate.typeName = "livekit.proto.RtcStats.LocalCandidate";
684
- RtcStats_LocalCandidate.fields = proto3.util.newFieldList(() => [
685
- { no: 1, name: "rtc", kind: "message", T: RtcStatsData },
686
- { no: 2, name: "candidate", kind: "message", T: IceCandidateStats },
687
- ]);
688
- /**
689
- * @generated from message livekit.proto.RtcStats.RemoteCandidate
690
- */
691
- export class RtcStats_RemoteCandidate extends Message {
692
- constructor(data) {
693
- super();
694
- proto3.util.initPartial(data, this);
695
- }
696
- static fromBinary(bytes, options) {
697
- return new RtcStats_RemoteCandidate().fromBinary(bytes, options);
698
- }
699
- static fromJson(jsonValue, options) {
700
- return new RtcStats_RemoteCandidate().fromJson(jsonValue, options);
701
- }
702
- static fromJsonString(jsonString, options) {
703
- return new RtcStats_RemoteCandidate().fromJsonString(jsonString, options);
704
- }
705
- static equals(a, b) {
706
- return proto3.util.equals(RtcStats_RemoteCandidate, a, b);
707
- }
708
- }
709
- RtcStats_RemoteCandidate.runtime = proto3;
710
- RtcStats_RemoteCandidate.typeName = "livekit.proto.RtcStats.RemoteCandidate";
711
- RtcStats_RemoteCandidate.fields = proto3.util.newFieldList(() => [
712
- { no: 1, name: "rtc", kind: "message", T: RtcStatsData },
713
- { no: 2, name: "candidate", kind: "message", T: IceCandidateStats },
714
- ]);
715
- /**
716
- * @generated from message livekit.proto.RtcStats.Certificate
717
- */
718
- export class RtcStats_Certificate extends Message {
719
- constructor(data) {
720
- super();
721
- proto3.util.initPartial(data, this);
722
- }
723
- static fromBinary(bytes, options) {
724
- return new RtcStats_Certificate().fromBinary(bytes, options);
725
- }
726
- static fromJson(jsonValue, options) {
727
- return new RtcStats_Certificate().fromJson(jsonValue, options);
728
- }
729
- static fromJsonString(jsonString, options) {
730
- return new RtcStats_Certificate().fromJsonString(jsonString, options);
731
- }
732
- static equals(a, b) {
733
- return proto3.util.equals(RtcStats_Certificate, a, b);
734
- }
735
- }
736
- RtcStats_Certificate.runtime = proto3;
737
- RtcStats_Certificate.typeName = "livekit.proto.RtcStats.Certificate";
738
- RtcStats_Certificate.fields = proto3.util.newFieldList(() => [
739
- { no: 1, name: "rtc", kind: "message", T: RtcStatsData },
740
- { no: 2, name: "certificate", kind: "message", T: CertificateStats },
741
- ]);
742
- /**
743
- * Deprecated
744
- *
745
- * @generated from message livekit.proto.RtcStats.Track
746
- */
747
- export class RtcStats_Track extends Message {
748
- constructor(data) {
749
- super();
750
- proto3.util.initPartial(data, this);
751
- }
752
- static fromBinary(bytes, options) {
753
- return new RtcStats_Track().fromBinary(bytes, options);
754
- }
755
- static fromJson(jsonValue, options) {
756
- return new RtcStats_Track().fromJson(jsonValue, options);
757
- }
758
- static fromJsonString(jsonString, options) {
759
- return new RtcStats_Track().fromJsonString(jsonString, options);
760
- }
761
- static equals(a, b) {
762
- return proto3.util.equals(RtcStats_Track, a, b);
763
- }
764
- }
765
- RtcStats_Track.runtime = proto3;
766
- RtcStats_Track.typeName = "livekit.proto.RtcStats.Track";
767
- RtcStats_Track.fields = proto3.util.newFieldList(() => []);
768
- /**
769
- * @generated from message livekit.proto.RtcStatsData
770
- */
771
- export class RtcStatsData extends Message {
772
- constructor(data) {
773
- super();
774
- /**
775
- * @generated from field: string id = 1;
776
- */
777
- this.id = "";
778
- /**
779
- * @generated from field: int64 timestamp = 2;
780
- */
781
- this.timestamp = protoInt64.zero;
782
- proto3.util.initPartial(data, this);
783
- }
784
- static fromBinary(bytes, options) {
785
- return new RtcStatsData().fromBinary(bytes, options);
786
- }
787
- static fromJson(jsonValue, options) {
788
- return new RtcStatsData().fromJson(jsonValue, options);
789
- }
790
- static fromJsonString(jsonString, options) {
791
- return new RtcStatsData().fromJsonString(jsonString, options);
792
- }
793
- static equals(a, b) {
794
- return proto3.util.equals(RtcStatsData, a, b);
795
- }
796
- }
797
- RtcStatsData.runtime = proto3;
798
- RtcStatsData.typeName = "livekit.proto.RtcStatsData";
799
- RtcStatsData.fields = proto3.util.newFieldList(() => [
800
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
801
- { no: 2, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
802
- ]);
803
- /**
804
- * @generated from message livekit.proto.CodecStats
805
- */
806
- export class CodecStats extends Message {
807
- constructor(data) {
808
- super();
809
- /**
810
- * @generated from field: uint32 payload_type = 1;
811
- */
812
- this.payloadType = 0;
813
- /**
814
- * @generated from field: string transport_id = 2;
815
- */
816
- this.transportId = "";
817
- /**
818
- * @generated from field: string mime_type = 3;
819
- */
820
- this.mimeType = "";
821
- /**
822
- * @generated from field: uint32 clock_rate = 4;
823
- */
824
- this.clockRate = 0;
825
- /**
826
- * @generated from field: uint32 channels = 5;
827
- */
828
- this.channels = 0;
829
- /**
830
- * @generated from field: string sdp_fmtp_line = 6;
831
- */
832
- this.sdpFmtpLine = "";
833
- proto3.util.initPartial(data, this);
834
- }
835
- static fromBinary(bytes, options) {
836
- return new CodecStats().fromBinary(bytes, options);
837
- }
838
- static fromJson(jsonValue, options) {
839
- return new CodecStats().fromJson(jsonValue, options);
840
- }
841
- static fromJsonString(jsonString, options) {
842
- return new CodecStats().fromJsonString(jsonString, options);
843
- }
844
- static equals(a, b) {
845
- return proto3.util.equals(CodecStats, a, b);
846
- }
847
- }
848
- CodecStats.runtime = proto3;
849
- CodecStats.typeName = "livekit.proto.CodecStats";
850
- CodecStats.fields = proto3.util.newFieldList(() => [
851
- { no: 1, name: "payload_type", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
852
- { no: 2, name: "transport_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
853
- { no: 3, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
854
- { no: 4, name: "clock_rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
855
- { no: 5, name: "channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
856
- { no: 6, name: "sdp_fmtp_line", kind: "scalar", T: 9 /* ScalarType.STRING */ },
857
- ]);
858
- /**
859
- * @generated from message livekit.proto.RtpStreamStats
860
- */
861
- export class RtpStreamStats extends Message {
862
- constructor(data) {
863
- super();
864
- /**
865
- * @generated from field: uint32 ssrc = 1;
866
- */
867
- this.ssrc = 0;
868
- /**
869
- * @generated from field: string kind = 2;
870
- */
871
- this.kind = "";
872
- /**
873
- * @generated from field: string transport_id = 3;
874
- */
875
- this.transportId = "";
876
- /**
877
- * @generated from field: string codec_id = 4;
878
- */
879
- this.codecId = "";
880
- proto3.util.initPartial(data, this);
881
- }
882
- static fromBinary(bytes, options) {
883
- return new RtpStreamStats().fromBinary(bytes, options);
884
- }
885
- static fromJson(jsonValue, options) {
886
- return new RtpStreamStats().fromJson(jsonValue, options);
887
- }
888
- static fromJsonString(jsonString, options) {
889
- return new RtpStreamStats().fromJsonString(jsonString, options);
890
- }
891
- static equals(a, b) {
892
- return proto3.util.equals(RtpStreamStats, a, b);
893
- }
894
- }
895
- RtpStreamStats.runtime = proto3;
896
- RtpStreamStats.typeName = "livekit.proto.RtpStreamStats";
897
- RtpStreamStats.fields = proto3.util.newFieldList(() => [
898
- { no: 1, name: "ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
899
- { no: 2, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
900
- { no: 3, name: "transport_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
901
- { no: 4, name: "codec_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
902
- ]);
903
- /**
904
- * @generated from message livekit.proto.ReceivedRtpStreamStats
905
- */
906
- export class ReceivedRtpStreamStats extends Message {
907
- constructor(data) {
908
- super();
909
- /**
910
- * @generated from field: uint64 packets_received = 1;
911
- */
912
- this.packetsReceived = protoInt64.zero;
913
- /**
914
- * @generated from field: int64 packets_lost = 2;
915
- */
916
- this.packetsLost = protoInt64.zero;
917
- /**
918
- * @generated from field: double jitter = 3;
919
- */
920
- this.jitter = 0;
921
- proto3.util.initPartial(data, this);
922
- }
923
- static fromBinary(bytes, options) {
924
- return new ReceivedRtpStreamStats().fromBinary(bytes, options);
925
- }
926
- static fromJson(jsonValue, options) {
927
- return new ReceivedRtpStreamStats().fromJson(jsonValue, options);
928
- }
929
- static fromJsonString(jsonString, options) {
930
- return new ReceivedRtpStreamStats().fromJsonString(jsonString, options);
931
- }
932
- static equals(a, b) {
933
- return proto3.util.equals(ReceivedRtpStreamStats, a, b);
934
- }
935
- }
936
- ReceivedRtpStreamStats.runtime = proto3;
937
- ReceivedRtpStreamStats.typeName = "livekit.proto.ReceivedRtpStreamStats";
938
- ReceivedRtpStreamStats.fields = proto3.util.newFieldList(() => [
939
- { no: 1, name: "packets_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
940
- { no: 2, name: "packets_lost", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
941
- { no: 3, name: "jitter", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
942
- ]);
943
- /**
944
- * @generated from message livekit.proto.InboundRtpStreamStats
945
- */
946
- export class InboundRtpStreamStats extends Message {
947
- constructor(data) {
948
- super();
949
- /**
950
- * @generated from field: string track_identifier = 1;
951
- */
952
- this.trackIdentifier = "";
953
- /**
954
- * @generated from field: string mid = 2;
955
- */
956
- this.mid = "";
957
- /**
958
- * @generated from field: string remote_id = 3;
959
- */
960
- this.remoteId = "";
961
- /**
962
- * @generated from field: uint32 frames_decoded = 4;
963
- */
964
- this.framesDecoded = 0;
965
- /**
966
- * @generated from field: uint32 key_frames_decoded = 5;
967
- */
968
- this.keyFramesDecoded = 0;
969
- /**
970
- * @generated from field: uint32 frames_rendered = 6;
971
- */
972
- this.framesRendered = 0;
973
- /**
974
- * @generated from field: uint32 frames_dropped = 7;
975
- */
976
- this.framesDropped = 0;
977
- /**
978
- * @generated from field: uint32 frame_width = 8;
979
- */
980
- this.frameWidth = 0;
981
- /**
982
- * @generated from field: uint32 frame_height = 9;
983
- */
984
- this.frameHeight = 0;
985
- /**
986
- * @generated from field: double frames_per_second = 10;
987
- */
988
- this.framesPerSecond = 0;
989
- /**
990
- * @generated from field: uint64 qp_sum = 11;
991
- */
992
- this.qpSum = protoInt64.zero;
993
- /**
994
- * @generated from field: double total_decode_time = 12;
995
- */
996
- this.totalDecodeTime = 0;
997
- /**
998
- * @generated from field: double total_inter_frame_delay = 13;
999
- */
1000
- this.totalInterFrameDelay = 0;
1001
- /**
1002
- * @generated from field: double total_squared_inter_frame_delay = 14;
1003
- */
1004
- this.totalSquaredInterFrameDelay = 0;
1005
- /**
1006
- * @generated from field: uint32 pause_count = 15;
1007
- */
1008
- this.pauseCount = 0;
1009
- /**
1010
- * @generated from field: double total_pause_duration = 16;
1011
- */
1012
- this.totalPauseDuration = 0;
1013
- /**
1014
- * @generated from field: uint32 freeze_count = 17;
1015
- */
1016
- this.freezeCount = 0;
1017
- /**
1018
- * @generated from field: double total_freeze_duration = 18;
1019
- */
1020
- this.totalFreezeDuration = 0;
1021
- /**
1022
- * @generated from field: double last_packet_received_timestamp = 19;
1023
- */
1024
- this.lastPacketReceivedTimestamp = 0;
1025
- /**
1026
- * @generated from field: uint64 header_bytes_received = 20;
1027
- */
1028
- this.headerBytesReceived = protoInt64.zero;
1029
- /**
1030
- * @generated from field: uint64 packets_discarded = 21;
1031
- */
1032
- this.packetsDiscarded = protoInt64.zero;
1033
- /**
1034
- * @generated from field: uint64 fec_bytes_received = 22;
1035
- */
1036
- this.fecBytesReceived = protoInt64.zero;
1037
- /**
1038
- * @generated from field: uint64 fec_packets_received = 23;
1039
- */
1040
- this.fecPacketsReceived = protoInt64.zero;
1041
- /**
1042
- * @generated from field: uint64 fec_packets_discarded = 24;
1043
- */
1044
- this.fecPacketsDiscarded = protoInt64.zero;
1045
- /**
1046
- * @generated from field: uint64 bytes_received = 25;
1047
- */
1048
- this.bytesReceived = protoInt64.zero;
1049
- /**
1050
- * @generated from field: uint32 nack_count = 26;
1051
- */
1052
- this.nackCount = 0;
1053
- /**
1054
- * @generated from field: uint32 fir_count = 27;
1055
- */
1056
- this.firCount = 0;
1057
- /**
1058
- * @generated from field: uint32 pli_count = 28;
1059
- */
1060
- this.pliCount = 0;
1061
- /**
1062
- * @generated from field: double total_processing_delay = 29;
1063
- */
1064
- this.totalProcessingDelay = 0;
1065
- /**
1066
- * @generated from field: double estimated_playout_timestamp = 30;
1067
- */
1068
- this.estimatedPlayoutTimestamp = 0;
1069
- /**
1070
- * @generated from field: double jitter_buffer_delay = 31;
1071
- */
1072
- this.jitterBufferDelay = 0;
1073
- /**
1074
- * @generated from field: double jitter_buffer_target_delay = 32;
1075
- */
1076
- this.jitterBufferTargetDelay = 0;
1077
- /**
1078
- * @generated from field: uint64 jitter_buffer_emitted_count = 33;
1079
- */
1080
- this.jitterBufferEmittedCount = protoInt64.zero;
1081
- /**
1082
- * @generated from field: double jitter_buffer_minimum_delay = 34;
1083
- */
1084
- this.jitterBufferMinimumDelay = 0;
1085
- /**
1086
- * @generated from field: uint64 total_samples_received = 35;
1087
- */
1088
- this.totalSamplesReceived = protoInt64.zero;
1089
- /**
1090
- * @generated from field: uint64 concealed_samples = 36;
1091
- */
1092
- this.concealedSamples = protoInt64.zero;
1093
- /**
1094
- * @generated from field: uint64 silent_concealed_samples = 37;
1095
- */
1096
- this.silentConcealedSamples = protoInt64.zero;
1097
- /**
1098
- * @generated from field: uint64 concealment_events = 38;
1099
- */
1100
- this.concealmentEvents = protoInt64.zero;
1101
- /**
1102
- * @generated from field: uint64 inserted_samples_for_deceleration = 39;
1103
- */
1104
- this.insertedSamplesForDeceleration = protoInt64.zero;
1105
- /**
1106
- * @generated from field: uint64 removed_samples_for_acceleration = 40;
1107
- */
1108
- this.removedSamplesForAcceleration = protoInt64.zero;
1109
- /**
1110
- * @generated from field: double audio_level = 41;
1111
- */
1112
- this.audioLevel = 0;
1113
- /**
1114
- * @generated from field: double total_audio_energy = 42;
1115
- */
1116
- this.totalAudioEnergy = 0;
1117
- /**
1118
- * @generated from field: double total_samples_duration = 43;
1119
- */
1120
- this.totalSamplesDuration = 0;
1121
- /**
1122
- * @generated from field: uint64 frames_received = 44;
1123
- */
1124
- this.framesReceived = protoInt64.zero;
1125
- /**
1126
- * @generated from field: string decoder_implementation = 45;
1127
- */
1128
- this.decoderImplementation = "";
1129
- /**
1130
- * @generated from field: string playout_id = 46;
1131
- */
1132
- this.playoutId = "";
1133
- /**
1134
- * @generated from field: bool power_efficient_decoder = 47;
1135
- */
1136
- this.powerEfficientDecoder = false;
1137
- /**
1138
- * @generated from field: uint64 frames_assembled_from_multiple_packets = 48;
1139
- */
1140
- this.framesAssembledFromMultiplePackets = protoInt64.zero;
1141
- /**
1142
- * @generated from field: double total_assembly_time = 49;
1143
- */
1144
- this.totalAssemblyTime = 0;
1145
- /**
1146
- * @generated from field: uint64 retransmitted_packets_received = 50;
1147
- */
1148
- this.retransmittedPacketsReceived = protoInt64.zero;
1149
- /**
1150
- * @generated from field: uint64 retransmitted_bytes_received = 51;
1151
- */
1152
- this.retransmittedBytesReceived = protoInt64.zero;
1153
- /**
1154
- * @generated from field: uint32 rtx_ssrc = 52;
1155
- */
1156
- this.rtxSsrc = 0;
1157
- /**
1158
- * @generated from field: uint32 fec_ssrc = 53;
1159
- */
1160
- this.fecSsrc = 0;
1161
- proto3.util.initPartial(data, this);
1162
- }
1163
- static fromBinary(bytes, options) {
1164
- return new InboundRtpStreamStats().fromBinary(bytes, options);
1165
- }
1166
- static fromJson(jsonValue, options) {
1167
- return new InboundRtpStreamStats().fromJson(jsonValue, options);
1168
- }
1169
- static fromJsonString(jsonString, options) {
1170
- return new InboundRtpStreamStats().fromJsonString(jsonString, options);
1171
- }
1172
- static equals(a, b) {
1173
- return proto3.util.equals(InboundRtpStreamStats, a, b);
1174
- }
1175
- }
1176
- InboundRtpStreamStats.runtime = proto3;
1177
- InboundRtpStreamStats.typeName = "livekit.proto.InboundRtpStreamStats";
1178
- InboundRtpStreamStats.fields = proto3.util.newFieldList(() => [
1179
- { no: 1, name: "track_identifier", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1180
- { no: 2, name: "mid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1181
- { no: 3, name: "remote_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1182
- { no: 4, name: "frames_decoded", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1183
- { no: 5, name: "key_frames_decoded", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1184
- { no: 6, name: "frames_rendered", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1185
- { no: 7, name: "frames_dropped", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1186
- { no: 8, name: "frame_width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1187
- { no: 9, name: "frame_height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1188
- { no: 10, name: "frames_per_second", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1189
- { no: 11, name: "qp_sum", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1190
- { no: 12, name: "total_decode_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1191
- { no: 13, name: "total_inter_frame_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1192
- { no: 14, name: "total_squared_inter_frame_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1193
- { no: 15, name: "pause_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1194
- { no: 16, name: "total_pause_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1195
- { no: 17, name: "freeze_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1196
- { no: 18, name: "total_freeze_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1197
- { no: 19, name: "last_packet_received_timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1198
- { no: 20, name: "header_bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1199
- { no: 21, name: "packets_discarded", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1200
- { no: 22, name: "fec_bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1201
- { no: 23, name: "fec_packets_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1202
- { no: 24, name: "fec_packets_discarded", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1203
- { no: 25, name: "bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1204
- { no: 26, name: "nack_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1205
- { no: 27, name: "fir_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1206
- { no: 28, name: "pli_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1207
- { no: 29, name: "total_processing_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1208
- { no: 30, name: "estimated_playout_timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1209
- { no: 31, name: "jitter_buffer_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1210
- { no: 32, name: "jitter_buffer_target_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1211
- { no: 33, name: "jitter_buffer_emitted_count", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1212
- { no: 34, name: "jitter_buffer_minimum_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1213
- { no: 35, name: "total_samples_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1214
- { no: 36, name: "concealed_samples", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1215
- { no: 37, name: "silent_concealed_samples", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1216
- { no: 38, name: "concealment_events", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1217
- { no: 39, name: "inserted_samples_for_deceleration", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1218
- { no: 40, name: "removed_samples_for_acceleration", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1219
- { no: 41, name: "audio_level", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1220
- { no: 42, name: "total_audio_energy", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1221
- { no: 43, name: "total_samples_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1222
- { no: 44, name: "frames_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1223
- { no: 45, name: "decoder_implementation", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1224
- { no: 46, name: "playout_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1225
- { no: 47, name: "power_efficient_decoder", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1226
- { no: 48, name: "frames_assembled_from_multiple_packets", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1227
- { no: 49, name: "total_assembly_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1228
- { no: 50, name: "retransmitted_packets_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1229
- { no: 51, name: "retransmitted_bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1230
- { no: 52, name: "rtx_ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1231
- { no: 53, name: "fec_ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1232
- ]);
1233
- /**
1234
- * @generated from message livekit.proto.SentRtpStreamStats
1235
- */
1236
- export class SentRtpStreamStats extends Message {
1237
- constructor(data) {
1238
- super();
1239
- /**
1240
- * @generated from field: uint64 packets_sent = 1;
1241
- */
1242
- this.packetsSent = protoInt64.zero;
1243
- /**
1244
- * @generated from field: uint64 bytes_sent = 2;
1245
- */
1246
- this.bytesSent = protoInt64.zero;
1247
- proto3.util.initPartial(data, this);
1248
- }
1249
- static fromBinary(bytes, options) {
1250
- return new SentRtpStreamStats().fromBinary(bytes, options);
1251
- }
1252
- static fromJson(jsonValue, options) {
1253
- return new SentRtpStreamStats().fromJson(jsonValue, options);
1254
- }
1255
- static fromJsonString(jsonString, options) {
1256
- return new SentRtpStreamStats().fromJsonString(jsonString, options);
1257
- }
1258
- static equals(a, b) {
1259
- return proto3.util.equals(SentRtpStreamStats, a, b);
1260
- }
1261
- }
1262
- SentRtpStreamStats.runtime = proto3;
1263
- SentRtpStreamStats.typeName = "livekit.proto.SentRtpStreamStats";
1264
- SentRtpStreamStats.fields = proto3.util.newFieldList(() => [
1265
- { no: 1, name: "packets_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1266
- { no: 2, name: "bytes_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1267
- ]);
1268
- /**
1269
- * @generated from message livekit.proto.OutboundRtpStreamStats
1270
- */
1271
- export class OutboundRtpStreamStats extends Message {
1272
- constructor(data) {
1273
- super();
1274
- /**
1275
- * @generated from field: string mid = 1;
1276
- */
1277
- this.mid = "";
1278
- /**
1279
- * @generated from field: string media_source_id = 2;
1280
- */
1281
- this.mediaSourceId = "";
1282
- /**
1283
- * @generated from field: string remote_id = 3;
1284
- */
1285
- this.remoteId = "";
1286
- /**
1287
- * @generated from field: string rid = 4;
1288
- */
1289
- this.rid = "";
1290
- /**
1291
- * @generated from field: uint64 header_bytes_sent = 5;
1292
- */
1293
- this.headerBytesSent = protoInt64.zero;
1294
- /**
1295
- * @generated from field: uint64 retransmitted_packets_sent = 6;
1296
- */
1297
- this.retransmittedPacketsSent = protoInt64.zero;
1298
- /**
1299
- * @generated from field: uint64 retransmitted_bytes_sent = 7;
1300
- */
1301
- this.retransmittedBytesSent = protoInt64.zero;
1302
- /**
1303
- * @generated from field: uint32 rtx_ssrc = 8;
1304
- */
1305
- this.rtxSsrc = 0;
1306
- /**
1307
- * @generated from field: double target_bitrate = 9;
1308
- */
1309
- this.targetBitrate = 0;
1310
- /**
1311
- * @generated from field: uint64 total_encoded_bytes_target = 10;
1312
- */
1313
- this.totalEncodedBytesTarget = protoInt64.zero;
1314
- /**
1315
- * @generated from field: uint32 frame_width = 11;
1316
- */
1317
- this.frameWidth = 0;
1318
- /**
1319
- * @generated from field: uint32 frame_height = 12;
1320
- */
1321
- this.frameHeight = 0;
1322
- /**
1323
- * @generated from field: double frames_per_second = 13;
1324
- */
1325
- this.framesPerSecond = 0;
1326
- /**
1327
- * @generated from field: uint32 frames_sent = 14;
1328
- */
1329
- this.framesSent = 0;
1330
- /**
1331
- * @generated from field: uint32 huge_frames_sent = 15;
1332
- */
1333
- this.hugeFramesSent = 0;
1334
- /**
1335
- * @generated from field: uint32 frames_encoded = 16;
1336
- */
1337
- this.framesEncoded = 0;
1338
- /**
1339
- * @generated from field: uint32 key_frames_encoded = 17;
1340
- */
1341
- this.keyFramesEncoded = 0;
1342
- /**
1343
- * @generated from field: uint64 qp_sum = 18;
1344
- */
1345
- this.qpSum = protoInt64.zero;
1346
- /**
1347
- * @generated from field: double total_encode_time = 19;
1348
- */
1349
- this.totalEncodeTime = 0;
1350
- /**
1351
- * @generated from field: double total_packet_send_delay = 20;
1352
- */
1353
- this.totalPacketSendDelay = 0;
1354
- /**
1355
- * @generated from field: livekit.proto.QualityLimitationReason quality_limitation_reason = 21;
1356
- */
1357
- this.qualityLimitationReason = QualityLimitationReason.LIMITATION_NONE;
1358
- /**
1359
- * @generated from field: map<string, double> quality_limitation_durations = 22;
1360
- */
1361
- this.qualityLimitationDurations = {};
1362
- /**
1363
- * @generated from field: uint32 quality_limitation_resolution_changes = 23;
1364
- */
1365
- this.qualityLimitationResolutionChanges = 0;
1366
- /**
1367
- * @generated from field: uint32 nack_count = 24;
1368
- */
1369
- this.nackCount = 0;
1370
- /**
1371
- * @generated from field: uint32 fir_count = 25;
1372
- */
1373
- this.firCount = 0;
1374
- /**
1375
- * @generated from field: uint32 pli_count = 26;
1376
- */
1377
- this.pliCount = 0;
1378
- /**
1379
- * @generated from field: string encoder_implementation = 27;
1380
- */
1381
- this.encoderImplementation = "";
1382
- /**
1383
- * @generated from field: bool power_efficient_encoder = 28;
1384
- */
1385
- this.powerEfficientEncoder = false;
1386
- /**
1387
- * @generated from field: bool active = 29;
1388
- */
1389
- this.active = false;
1390
- /**
1391
- * @generated from field: string scalibility_mode = 30;
1392
- */
1393
- this.scalibilityMode = "";
1394
- proto3.util.initPartial(data, this);
1395
- }
1396
- static fromBinary(bytes, options) {
1397
- return new OutboundRtpStreamStats().fromBinary(bytes, options);
1398
- }
1399
- static fromJson(jsonValue, options) {
1400
- return new OutboundRtpStreamStats().fromJson(jsonValue, options);
1401
- }
1402
- static fromJsonString(jsonString, options) {
1403
- return new OutboundRtpStreamStats().fromJsonString(jsonString, options);
1404
- }
1405
- static equals(a, b) {
1406
- return proto3.util.equals(OutboundRtpStreamStats, a, b);
1407
- }
1408
- }
1409
- OutboundRtpStreamStats.runtime = proto3;
1410
- OutboundRtpStreamStats.typeName = "livekit.proto.OutboundRtpStreamStats";
1411
- OutboundRtpStreamStats.fields = proto3.util.newFieldList(() => [
1412
- { no: 1, name: "mid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1413
- { no: 2, name: "media_source_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1414
- { no: 3, name: "remote_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1415
- { no: 4, name: "rid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1416
- { no: 5, name: "header_bytes_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1417
- { no: 6, name: "retransmitted_packets_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1418
- { no: 7, name: "retransmitted_bytes_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1419
- { no: 8, name: "rtx_ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1420
- { no: 9, name: "target_bitrate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1421
- { no: 10, name: "total_encoded_bytes_target", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1422
- { no: 11, name: "frame_width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1423
- { no: 12, name: "frame_height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1424
- { no: 13, name: "frames_per_second", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1425
- { no: 14, name: "frames_sent", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1426
- { no: 15, name: "huge_frames_sent", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1427
- { no: 16, name: "frames_encoded", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1428
- { no: 17, name: "key_frames_encoded", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1429
- { no: 18, name: "qp_sum", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1430
- { no: 19, name: "total_encode_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1431
- { no: 20, name: "total_packet_send_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1432
- { no: 21, name: "quality_limitation_reason", kind: "enum", T: proto3.getEnumType(QualityLimitationReason) },
1433
- { no: 22, name: "quality_limitation_durations", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 1 /* ScalarType.DOUBLE */ } },
1434
- { no: 23, name: "quality_limitation_resolution_changes", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1435
- { no: 24, name: "nack_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1436
- { no: 25, name: "fir_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1437
- { no: 26, name: "pli_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1438
- { no: 27, name: "encoder_implementation", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1439
- { no: 28, name: "power_efficient_encoder", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1440
- { no: 29, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1441
- { no: 30, name: "scalibility_mode", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1442
- ]);
1443
- /**
1444
- * @generated from message livekit.proto.RemoteInboundRtpStreamStats
1445
- */
1446
- export class RemoteInboundRtpStreamStats extends Message {
1447
- constructor(data) {
1448
- super();
1449
- /**
1450
- * @generated from field: string local_id = 1;
1451
- */
1452
- this.localId = "";
1453
- /**
1454
- * @generated from field: double round_trip_time = 2;
1455
- */
1456
- this.roundTripTime = 0;
1457
- /**
1458
- * @generated from field: double total_round_trip_time = 3;
1459
- */
1460
- this.totalRoundTripTime = 0;
1461
- /**
1462
- * @generated from field: double fraction_lost = 4;
1463
- */
1464
- this.fractionLost = 0;
1465
- /**
1466
- * @generated from field: uint64 round_trip_time_measurements = 5;
1467
- */
1468
- this.roundTripTimeMeasurements = protoInt64.zero;
1469
- proto3.util.initPartial(data, this);
1470
- }
1471
- static fromBinary(bytes, options) {
1472
- return new RemoteInboundRtpStreamStats().fromBinary(bytes, options);
1473
- }
1474
- static fromJson(jsonValue, options) {
1475
- return new RemoteInboundRtpStreamStats().fromJson(jsonValue, options);
1476
- }
1477
- static fromJsonString(jsonString, options) {
1478
- return new RemoteInboundRtpStreamStats().fromJsonString(jsonString, options);
1479
- }
1480
- static equals(a, b) {
1481
- return proto3.util.equals(RemoteInboundRtpStreamStats, a, b);
1482
- }
1483
- }
1484
- RemoteInboundRtpStreamStats.runtime = proto3;
1485
- RemoteInboundRtpStreamStats.typeName = "livekit.proto.RemoteInboundRtpStreamStats";
1486
- RemoteInboundRtpStreamStats.fields = proto3.util.newFieldList(() => [
1487
- { no: 1, name: "local_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1488
- { no: 2, name: "round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1489
- { no: 3, name: "total_round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1490
- { no: 4, name: "fraction_lost", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1491
- { no: 5, name: "round_trip_time_measurements", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1492
- ]);
1493
- /**
1494
- * @generated from message livekit.proto.RemoteOutboundRtpStreamStats
1495
- */
1496
- export class RemoteOutboundRtpStreamStats extends Message {
1497
- constructor(data) {
1498
- super();
1499
- /**
1500
- * @generated from field: string local_id = 1;
1501
- */
1502
- this.localId = "";
1503
- /**
1504
- * @generated from field: double remote_timestamp = 2;
1505
- */
1506
- this.remoteTimestamp = 0;
1507
- /**
1508
- * @generated from field: uint64 reports_sent = 3;
1509
- */
1510
- this.reportsSent = protoInt64.zero;
1511
- /**
1512
- * @generated from field: double round_trip_time = 4;
1513
- */
1514
- this.roundTripTime = 0;
1515
- /**
1516
- * @generated from field: double total_round_trip_time = 5;
1517
- */
1518
- this.totalRoundTripTime = 0;
1519
- /**
1520
- * @generated from field: uint64 round_trip_time_measurements = 6;
1521
- */
1522
- this.roundTripTimeMeasurements = protoInt64.zero;
1523
- proto3.util.initPartial(data, this);
1524
- }
1525
- static fromBinary(bytes, options) {
1526
- return new RemoteOutboundRtpStreamStats().fromBinary(bytes, options);
1527
- }
1528
- static fromJson(jsonValue, options) {
1529
- return new RemoteOutboundRtpStreamStats().fromJson(jsonValue, options);
1530
- }
1531
- static fromJsonString(jsonString, options) {
1532
- return new RemoteOutboundRtpStreamStats().fromJsonString(jsonString, options);
1533
- }
1534
- static equals(a, b) {
1535
- return proto3.util.equals(RemoteOutboundRtpStreamStats, a, b);
1536
- }
1537
- }
1538
- RemoteOutboundRtpStreamStats.runtime = proto3;
1539
- RemoteOutboundRtpStreamStats.typeName = "livekit.proto.RemoteOutboundRtpStreamStats";
1540
- RemoteOutboundRtpStreamStats.fields = proto3.util.newFieldList(() => [
1541
- { no: 1, name: "local_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1542
- { no: 2, name: "remote_timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1543
- { no: 3, name: "reports_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1544
- { no: 4, name: "round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1545
- { no: 5, name: "total_round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1546
- { no: 6, name: "round_trip_time_measurements", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1547
- ]);
1548
- /**
1549
- * @generated from message livekit.proto.MediaSourceStats
1550
- */
1551
- export class MediaSourceStats extends Message {
1552
- constructor(data) {
1553
- super();
1554
- /**
1555
- * @generated from field: string track_identifier = 1;
1556
- */
1557
- this.trackIdentifier = "";
1558
- /**
1559
- * @generated from field: string kind = 2;
1560
- */
1561
- this.kind = "";
1562
- proto3.util.initPartial(data, this);
1563
- }
1564
- static fromBinary(bytes, options) {
1565
- return new MediaSourceStats().fromBinary(bytes, options);
1566
- }
1567
- static fromJson(jsonValue, options) {
1568
- return new MediaSourceStats().fromJson(jsonValue, options);
1569
- }
1570
- static fromJsonString(jsonString, options) {
1571
- return new MediaSourceStats().fromJsonString(jsonString, options);
1572
- }
1573
- static equals(a, b) {
1574
- return proto3.util.equals(MediaSourceStats, a, b);
1575
- }
1576
- }
1577
- MediaSourceStats.runtime = proto3;
1578
- MediaSourceStats.typeName = "livekit.proto.MediaSourceStats";
1579
- MediaSourceStats.fields = proto3.util.newFieldList(() => [
1580
- { no: 1, name: "track_identifier", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1581
- { no: 2, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1582
- ]);
1583
- /**
1584
- * @generated from message livekit.proto.AudioSourceStats
1585
- */
1586
- export class AudioSourceStats extends Message {
1587
- constructor(data) {
1588
- super();
1589
- /**
1590
- * @generated from field: double audio_level = 1;
1591
- */
1592
- this.audioLevel = 0;
1593
- /**
1594
- * @generated from field: double total_audio_energy = 2;
1595
- */
1596
- this.totalAudioEnergy = 0;
1597
- /**
1598
- * @generated from field: double total_samples_duration = 3;
1599
- */
1600
- this.totalSamplesDuration = 0;
1601
- /**
1602
- * @generated from field: double echo_return_loss = 4;
1603
- */
1604
- this.echoReturnLoss = 0;
1605
- /**
1606
- * @generated from field: double echo_return_loss_enhancement = 5;
1607
- */
1608
- this.echoReturnLossEnhancement = 0;
1609
- /**
1610
- * @generated from field: double dropped_samples_duration = 6;
1611
- */
1612
- this.droppedSamplesDuration = 0;
1613
- /**
1614
- * @generated from field: uint32 dropped_samples_events = 7;
1615
- */
1616
- this.droppedSamplesEvents = 0;
1617
- /**
1618
- * @generated from field: double total_capture_delay = 8;
1619
- */
1620
- this.totalCaptureDelay = 0;
1621
- /**
1622
- * @generated from field: uint64 total_samples_captured = 9;
1623
- */
1624
- this.totalSamplesCaptured = protoInt64.zero;
1625
- proto3.util.initPartial(data, this);
1626
- }
1627
- static fromBinary(bytes, options) {
1628
- return new AudioSourceStats().fromBinary(bytes, options);
1629
- }
1630
- static fromJson(jsonValue, options) {
1631
- return new AudioSourceStats().fromJson(jsonValue, options);
1632
- }
1633
- static fromJsonString(jsonString, options) {
1634
- return new AudioSourceStats().fromJsonString(jsonString, options);
1635
- }
1636
- static equals(a, b) {
1637
- return proto3.util.equals(AudioSourceStats, a, b);
1638
- }
1639
- }
1640
- AudioSourceStats.runtime = proto3;
1641
- AudioSourceStats.typeName = "livekit.proto.AudioSourceStats";
1642
- AudioSourceStats.fields = proto3.util.newFieldList(() => [
1643
- { no: 1, name: "audio_level", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1644
- { no: 2, name: "total_audio_energy", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1645
- { no: 3, name: "total_samples_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1646
- { no: 4, name: "echo_return_loss", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1647
- { no: 5, name: "echo_return_loss_enhancement", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1648
- { no: 6, name: "dropped_samples_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1649
- { no: 7, name: "dropped_samples_events", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1650
- { no: 8, name: "total_capture_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1651
- { no: 9, name: "total_samples_captured", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1652
- ]);
1653
- /**
1654
- * @generated from message livekit.proto.VideoSourceStats
1655
- */
1656
- export class VideoSourceStats extends Message {
1657
- constructor(data) {
1658
- super();
1659
- /**
1660
- * @generated from field: uint32 width = 1;
1661
- */
1662
- this.width = 0;
1663
- /**
1664
- * @generated from field: uint32 height = 2;
1665
- */
1666
- this.height = 0;
1667
- /**
1668
- * @generated from field: uint32 frames = 3;
1669
- */
1670
- this.frames = 0;
1671
- /**
1672
- * @generated from field: double frames_per_second = 4;
1673
- */
1674
- this.framesPerSecond = 0;
1675
- proto3.util.initPartial(data, this);
1676
- }
1677
- static fromBinary(bytes, options) {
1678
- return new VideoSourceStats().fromBinary(bytes, options);
1679
- }
1680
- static fromJson(jsonValue, options) {
1681
- return new VideoSourceStats().fromJson(jsonValue, options);
1682
- }
1683
- static fromJsonString(jsonString, options) {
1684
- return new VideoSourceStats().fromJsonString(jsonString, options);
1685
- }
1686
- static equals(a, b) {
1687
- return proto3.util.equals(VideoSourceStats, a, b);
1688
- }
1689
- }
1690
- VideoSourceStats.runtime = proto3;
1691
- VideoSourceStats.typeName = "livekit.proto.VideoSourceStats";
1692
- VideoSourceStats.fields = proto3.util.newFieldList(() => [
1693
- { no: 1, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1694
- { no: 2, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1695
- { no: 3, name: "frames", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1696
- { no: 4, name: "frames_per_second", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1697
- ]);
1698
- /**
1699
- * @generated from message livekit.proto.AudioPlayoutStats
1700
- */
1701
- export class AudioPlayoutStats extends Message {
1702
- constructor(data) {
1703
- super();
1704
- /**
1705
- * @generated from field: string kind = 1;
1706
- */
1707
- this.kind = "";
1708
- /**
1709
- * @generated from field: double synthesized_samples_duration = 2;
1710
- */
1711
- this.synthesizedSamplesDuration = 0;
1712
- /**
1713
- * @generated from field: uint32 synthesized_samples_events = 3;
1714
- */
1715
- this.synthesizedSamplesEvents = 0;
1716
- /**
1717
- * @generated from field: double total_samples_duration = 4;
1718
- */
1719
- this.totalSamplesDuration = 0;
1720
- /**
1721
- * @generated from field: double total_playout_delay = 5;
1722
- */
1723
- this.totalPlayoutDelay = 0;
1724
- /**
1725
- * @generated from field: uint64 total_samples_count = 6;
1726
- */
1727
- this.totalSamplesCount = protoInt64.zero;
1728
- proto3.util.initPartial(data, this);
1729
- }
1730
- static fromBinary(bytes, options) {
1731
- return new AudioPlayoutStats().fromBinary(bytes, options);
1732
- }
1733
- static fromJson(jsonValue, options) {
1734
- return new AudioPlayoutStats().fromJson(jsonValue, options);
1735
- }
1736
- static fromJsonString(jsonString, options) {
1737
- return new AudioPlayoutStats().fromJsonString(jsonString, options);
1738
- }
1739
- static equals(a, b) {
1740
- return proto3.util.equals(AudioPlayoutStats, a, b);
1741
- }
1742
- }
1743
- AudioPlayoutStats.runtime = proto3;
1744
- AudioPlayoutStats.typeName = "livekit.proto.AudioPlayoutStats";
1745
- AudioPlayoutStats.fields = proto3.util.newFieldList(() => [
1746
- { no: 1, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1747
- { no: 2, name: "synthesized_samples_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1748
- { no: 3, name: "synthesized_samples_events", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1749
- { no: 4, name: "total_samples_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1750
- { no: 5, name: "total_playout_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1751
- { no: 6, name: "total_samples_count", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1752
- ]);
1753
- /**
1754
- * @generated from message livekit.proto.PeerConnectionStats
1755
- */
1756
- export class PeerConnectionStats extends Message {
1757
- constructor(data) {
1758
- super();
1759
- /**
1760
- * @generated from field: uint32 data_channels_opened = 1;
1761
- */
1762
- this.dataChannelsOpened = 0;
1763
- /**
1764
- * @generated from field: uint32 data_channels_closed = 2;
1765
- */
1766
- this.dataChannelsClosed = 0;
1767
- proto3.util.initPartial(data, this);
1768
- }
1769
- static fromBinary(bytes, options) {
1770
- return new PeerConnectionStats().fromBinary(bytes, options);
1771
- }
1772
- static fromJson(jsonValue, options) {
1773
- return new PeerConnectionStats().fromJson(jsonValue, options);
1774
- }
1775
- static fromJsonString(jsonString, options) {
1776
- return new PeerConnectionStats().fromJsonString(jsonString, options);
1777
- }
1778
- static equals(a, b) {
1779
- return proto3.util.equals(PeerConnectionStats, a, b);
1780
- }
1781
- }
1782
- PeerConnectionStats.runtime = proto3;
1783
- PeerConnectionStats.typeName = "livekit.proto.PeerConnectionStats";
1784
- PeerConnectionStats.fields = proto3.util.newFieldList(() => [
1785
- { no: 1, name: "data_channels_opened", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1786
- { no: 2, name: "data_channels_closed", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1787
- ]);
1788
- /**
1789
- * @generated from message livekit.proto.DataChannelStats
1790
- */
1791
- export class DataChannelStats extends Message {
1792
- constructor(data) {
1793
- super();
1794
- /**
1795
- * @generated from field: string label = 1;
1796
- */
1797
- this.label = "";
1798
- /**
1799
- * @generated from field: string protocol = 2;
1800
- */
1801
- this.protocol = "";
1802
- /**
1803
- * @generated from field: int32 data_channel_identifier = 3;
1804
- */
1805
- this.dataChannelIdentifier = 0;
1806
- /**
1807
- * @generated from field: uint32 messages_sent = 5;
1808
- */
1809
- this.messagesSent = 0;
1810
- /**
1811
- * @generated from field: uint64 bytes_sent = 6;
1812
- */
1813
- this.bytesSent = protoInt64.zero;
1814
- /**
1815
- * @generated from field: uint32 messages_received = 7;
1816
- */
1817
- this.messagesReceived = 0;
1818
- /**
1819
- * @generated from field: uint64 bytes_received = 8;
1820
- */
1821
- this.bytesReceived = protoInt64.zero;
1822
- proto3.util.initPartial(data, this);
1823
- }
1824
- static fromBinary(bytes, options) {
1825
- return new DataChannelStats().fromBinary(bytes, options);
1826
- }
1827
- static fromJson(jsonValue, options) {
1828
- return new DataChannelStats().fromJson(jsonValue, options);
1829
- }
1830
- static fromJsonString(jsonString, options) {
1831
- return new DataChannelStats().fromJsonString(jsonString, options);
1832
- }
1833
- static equals(a, b) {
1834
- return proto3.util.equals(DataChannelStats, a, b);
1835
- }
1836
- }
1837
- DataChannelStats.runtime = proto3;
1838
- DataChannelStats.typeName = "livekit.proto.DataChannelStats";
1839
- DataChannelStats.fields = proto3.util.newFieldList(() => [
1840
- { no: 1, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1841
- { no: 2, name: "protocol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1842
- { no: 3, name: "data_channel_identifier", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1843
- { no: 4, name: "state", kind: "enum", T: proto3.getEnumType(DataChannelState), opt: true },
1844
- { no: 5, name: "messages_sent", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1845
- { no: 6, name: "bytes_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1846
- { no: 7, name: "messages_received", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1847
- { no: 8, name: "bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1848
- ]);
1849
- /**
1850
- * @generated from message livekit.proto.TransportStats
1851
- */
1852
- export class TransportStats extends Message {
1853
- constructor(data) {
1854
- super();
1855
- /**
1856
- * @generated from field: uint64 packets_sent = 1;
1857
- */
1858
- this.packetsSent = protoInt64.zero;
1859
- /**
1860
- * @generated from field: uint64 packets_received = 2;
1861
- */
1862
- this.packetsReceived = protoInt64.zero;
1863
- /**
1864
- * @generated from field: uint64 bytes_sent = 3;
1865
- */
1866
- this.bytesSent = protoInt64.zero;
1867
- /**
1868
- * @generated from field: uint64 bytes_received = 4;
1869
- */
1870
- this.bytesReceived = protoInt64.zero;
1871
- /**
1872
- * @generated from field: livekit.proto.IceRole ice_role = 5;
1873
- */
1874
- this.iceRole = IceRole.ICE_UNKNOWN;
1875
- /**
1876
- * @generated from field: string ice_local_username_fragment = 6;
1877
- */
1878
- this.iceLocalUsernameFragment = "";
1879
- /**
1880
- * @generated from field: string selected_candidate_pair_id = 9;
1881
- */
1882
- this.selectedCandidatePairId = "";
1883
- /**
1884
- * @generated from field: string local_certificate_id = 10;
1885
- */
1886
- this.localCertificateId = "";
1887
- /**
1888
- * @generated from field: string remote_certificate_id = 11;
1889
- */
1890
- this.remoteCertificateId = "";
1891
- /**
1892
- * @generated from field: string tls_version = 12;
1893
- */
1894
- this.tlsVersion = "";
1895
- /**
1896
- * @generated from field: string dtls_cipher = 13;
1897
- */
1898
- this.dtlsCipher = "";
1899
- /**
1900
- * @generated from field: livekit.proto.DtlsRole dtls_role = 14;
1901
- */
1902
- this.dtlsRole = DtlsRole.DTLS_CLIENT;
1903
- /**
1904
- * @generated from field: string srtp_cipher = 15;
1905
- */
1906
- this.srtpCipher = "";
1907
- /**
1908
- * @generated from field: uint32 selected_candidate_pair_changes = 16;
1909
- */
1910
- this.selectedCandidatePairChanges = 0;
1911
- proto3.util.initPartial(data, this);
1912
- }
1913
- static fromBinary(bytes, options) {
1914
- return new TransportStats().fromBinary(bytes, options);
1915
- }
1916
- static fromJson(jsonValue, options) {
1917
- return new TransportStats().fromJson(jsonValue, options);
1918
- }
1919
- static fromJsonString(jsonString, options) {
1920
- return new TransportStats().fromJsonString(jsonString, options);
1921
- }
1922
- static equals(a, b) {
1923
- return proto3.util.equals(TransportStats, a, b);
1924
- }
1925
- }
1926
- TransportStats.runtime = proto3;
1927
- TransportStats.typeName = "livekit.proto.TransportStats";
1928
- TransportStats.fields = proto3.util.newFieldList(() => [
1929
- { no: 1, name: "packets_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1930
- { no: 2, name: "packets_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1931
- { no: 3, name: "bytes_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1932
- { no: 4, name: "bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1933
- { no: 5, name: "ice_role", kind: "enum", T: proto3.getEnumType(IceRole) },
1934
- { no: 6, name: "ice_local_username_fragment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1935
- { no: 7, name: "dtls_state", kind: "enum", T: proto3.getEnumType(DtlsTransportState), opt: true },
1936
- { no: 8, name: "ice_state", kind: "enum", T: proto3.getEnumType(IceTransportState), opt: true },
1937
- { no: 9, name: "selected_candidate_pair_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1938
- { no: 10, name: "local_certificate_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1939
- { no: 11, name: "remote_certificate_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1940
- { no: 12, name: "tls_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1941
- { no: 13, name: "dtls_cipher", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1942
- { no: 14, name: "dtls_role", kind: "enum", T: proto3.getEnumType(DtlsRole) },
1943
- { no: 15, name: "srtp_cipher", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1944
- { no: 16, name: "selected_candidate_pair_changes", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1945
- ]);
1946
- /**
1947
- * @generated from message livekit.proto.CandidatePairStats
1948
- */
1949
- export class CandidatePairStats extends Message {
1950
- constructor(data) {
1951
- super();
1952
- /**
1953
- * @generated from field: string transport_id = 1;
1954
- */
1955
- this.transportId = "";
1956
- /**
1957
- * @generated from field: string local_candidate_id = 2;
1958
- */
1959
- this.localCandidateId = "";
1960
- /**
1961
- * @generated from field: string remote_candidate_id = 3;
1962
- */
1963
- this.remoteCandidateId = "";
1964
- /**
1965
- * @generated from field: bool nominated = 5;
1966
- */
1967
- this.nominated = false;
1968
- /**
1969
- * @generated from field: uint64 packets_sent = 6;
1970
- */
1971
- this.packetsSent = protoInt64.zero;
1972
- /**
1973
- * @generated from field: uint64 packets_received = 7;
1974
- */
1975
- this.packetsReceived = protoInt64.zero;
1976
- /**
1977
- * @generated from field: uint64 bytes_sent = 8;
1978
- */
1979
- this.bytesSent = protoInt64.zero;
1980
- /**
1981
- * @generated from field: uint64 bytes_received = 9;
1982
- */
1983
- this.bytesReceived = protoInt64.zero;
1984
- /**
1985
- * @generated from field: double last_packet_sent_timestamp = 10;
1986
- */
1987
- this.lastPacketSentTimestamp = 0;
1988
- /**
1989
- * @generated from field: double last_packet_received_timestamp = 11;
1990
- */
1991
- this.lastPacketReceivedTimestamp = 0;
1992
- /**
1993
- * @generated from field: double total_round_trip_time = 12;
1994
- */
1995
- this.totalRoundTripTime = 0;
1996
- /**
1997
- * @generated from field: double current_round_trip_time = 13;
1998
- */
1999
- this.currentRoundTripTime = 0;
2000
- /**
2001
- * @generated from field: double available_outgoing_bitrate = 14;
2002
- */
2003
- this.availableOutgoingBitrate = 0;
2004
- /**
2005
- * @generated from field: double available_incoming_bitrate = 15;
2006
- */
2007
- this.availableIncomingBitrate = 0;
2008
- /**
2009
- * @generated from field: uint64 requests_received = 16;
2010
- */
2011
- this.requestsReceived = protoInt64.zero;
2012
- /**
2013
- * @generated from field: uint64 requests_sent = 17;
2014
- */
2015
- this.requestsSent = protoInt64.zero;
2016
- /**
2017
- * @generated from field: uint64 responses_received = 18;
2018
- */
2019
- this.responsesReceived = protoInt64.zero;
2020
- /**
2021
- * @generated from field: uint64 responses_sent = 19;
2022
- */
2023
- this.responsesSent = protoInt64.zero;
2024
- /**
2025
- * @generated from field: uint64 consent_requests_sent = 20;
2026
- */
2027
- this.consentRequestsSent = protoInt64.zero;
2028
- /**
2029
- * @generated from field: uint32 packets_discarded_on_send = 21;
2030
- */
2031
- this.packetsDiscardedOnSend = 0;
2032
- /**
2033
- * @generated from field: uint64 bytes_discarded_on_send = 22;
2034
- */
2035
- this.bytesDiscardedOnSend = protoInt64.zero;
2036
- proto3.util.initPartial(data, this);
2037
- }
2038
- static fromBinary(bytes, options) {
2039
- return new CandidatePairStats().fromBinary(bytes, options);
2040
- }
2041
- static fromJson(jsonValue, options) {
2042
- return new CandidatePairStats().fromJson(jsonValue, options);
2043
- }
2044
- static fromJsonString(jsonString, options) {
2045
- return new CandidatePairStats().fromJsonString(jsonString, options);
2046
- }
2047
- static equals(a, b) {
2048
- return proto3.util.equals(CandidatePairStats, a, b);
2049
- }
2050
- }
2051
- CandidatePairStats.runtime = proto3;
2052
- CandidatePairStats.typeName = "livekit.proto.CandidatePairStats";
2053
- CandidatePairStats.fields = proto3.util.newFieldList(() => [
2054
- { no: 1, name: "transport_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2055
- { no: 2, name: "local_candidate_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2056
- { no: 3, name: "remote_candidate_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2057
- { no: 4, name: "state", kind: "enum", T: proto3.getEnumType(IceCandidatePairState), opt: true },
2058
- { no: 5, name: "nominated", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2059
- { no: 6, name: "packets_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
2060
- { no: 7, name: "packets_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
2061
- { no: 8, name: "bytes_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
2062
- { no: 9, name: "bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
2063
- { no: 10, name: "last_packet_sent_timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2064
- { no: 11, name: "last_packet_received_timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2065
- { no: 12, name: "total_round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2066
- { no: 13, name: "current_round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2067
- { no: 14, name: "available_outgoing_bitrate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2068
- { no: 15, name: "available_incoming_bitrate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2069
- { no: 16, name: "requests_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
2070
- { no: 17, name: "requests_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
2071
- { no: 18, name: "responses_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
2072
- { no: 19, name: "responses_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
2073
- { no: 20, name: "consent_requests_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
2074
- { no: 21, name: "packets_discarded_on_send", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
2075
- { no: 22, name: "bytes_discarded_on_send", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
2076
- ]);
2077
- /**
2078
- * @generated from message livekit.proto.IceCandidateStats
2079
- */
2080
- export class IceCandidateStats extends Message {
2081
- constructor(data) {
2082
- super();
2083
- /**
2084
- * @generated from field: string transport_id = 1;
2085
- */
2086
- this.transportId = "";
2087
- /**
2088
- * @generated from field: string address = 2;
2089
- */
2090
- this.address = "";
2091
- /**
2092
- * @generated from field: int32 port = 3;
2093
- */
2094
- this.port = 0;
2095
- /**
2096
- * @generated from field: string protocol = 4;
2097
- */
2098
- this.protocol = "";
2099
- /**
2100
- * @generated from field: int32 priority = 6;
2101
- */
2102
- this.priority = 0;
2103
- /**
2104
- * @generated from field: string url = 7;
2105
- */
2106
- this.url = "";
2107
- /**
2108
- * @generated from field: string foundation = 9;
2109
- */
2110
- this.foundation = "";
2111
- /**
2112
- * @generated from field: string related_address = 10;
2113
- */
2114
- this.relatedAddress = "";
2115
- /**
2116
- * @generated from field: int32 related_port = 11;
2117
- */
2118
- this.relatedPort = 0;
2119
- /**
2120
- * @generated from field: string username_fragment = 12;
2121
- */
2122
- this.usernameFragment = "";
2123
- proto3.util.initPartial(data, this);
2124
- }
2125
- static fromBinary(bytes, options) {
2126
- return new IceCandidateStats().fromBinary(bytes, options);
2127
- }
2128
- static fromJson(jsonValue, options) {
2129
- return new IceCandidateStats().fromJson(jsonValue, options);
2130
- }
2131
- static fromJsonString(jsonString, options) {
2132
- return new IceCandidateStats().fromJsonString(jsonString, options);
2133
- }
2134
- static equals(a, b) {
2135
- return proto3.util.equals(IceCandidateStats, a, b);
2136
- }
2137
- }
2138
- IceCandidateStats.runtime = proto3;
2139
- IceCandidateStats.typeName = "livekit.proto.IceCandidateStats";
2140
- IceCandidateStats.fields = proto3.util.newFieldList(() => [
2141
- { no: 1, name: "transport_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2142
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2143
- { no: 3, name: "port", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2144
- { no: 4, name: "protocol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2145
- { no: 5, name: "candidate_type", kind: "enum", T: proto3.getEnumType(IceCandidateType), opt: true },
2146
- { no: 6, name: "priority", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2147
- { no: 7, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2148
- { no: 8, name: "relay_protocol", kind: "enum", T: proto3.getEnumType(IceServerTransportProtocol), opt: true },
2149
- { no: 9, name: "foundation", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2150
- { no: 10, name: "related_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2151
- { no: 11, name: "related_port", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2152
- { no: 12, name: "username_fragment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2153
- { no: 13, name: "tcp_type", kind: "enum", T: proto3.getEnumType(IceTcpCandidateType), opt: true },
2154
- ]);
2155
454
  /**
2156
- * @generated from message livekit.proto.CertificateStats
455
+ * Describes the enum livekit.proto.IceTcpCandidateType.
2157
456
  */
2158
- export class CertificateStats extends Message {
2159
- constructor(data) {
2160
- super();
2161
- /**
2162
- * @generated from field: string fingerprint = 1;
2163
- */
2164
- this.fingerprint = "";
2165
- /**
2166
- * @generated from field: string fingerprint_algorithm = 2;
2167
- */
2168
- this.fingerprintAlgorithm = "";
2169
- /**
2170
- * @generated from field: string base64_certificate = 3;
2171
- */
2172
- this.base64Certificate = "";
2173
- /**
2174
- * @generated from field: string issuer_certificate_id = 4;
2175
- */
2176
- this.issuerCertificateId = "";
2177
- proto3.util.initPartial(data, this);
2178
- }
2179
- static fromBinary(bytes, options) {
2180
- return new CertificateStats().fromBinary(bytes, options);
2181
- }
2182
- static fromJson(jsonValue, options) {
2183
- return new CertificateStats().fromJson(jsonValue, options);
2184
- }
2185
- static fromJsonString(jsonString, options) {
2186
- return new CertificateStats().fromJsonString(jsonString, options);
2187
- }
2188
- static equals(a, b) {
2189
- return proto3.util.equals(CertificateStats, a, b);
2190
- }
2191
- }
2192
- CertificateStats.runtime = proto3;
2193
- CertificateStats.typeName = "livekit.proto.CertificateStats";
2194
- CertificateStats.fields = proto3.util.newFieldList(() => [
2195
- { no: 1, name: "fingerprint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2196
- { no: 2, name: "fingerprint_algorithm", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2197
- { no: 3, name: "base64_certificate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2198
- { no: 4, name: "issuer_certificate_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2199
- ]);
457
+ export const IceTcpCandidateTypeSchema = /*@__PURE__*/ enumDesc(file_stats, 9);
2200
458
  //# sourceMappingURL=stats_pb.js.map