@livekit/rtc-node 0.12.2 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/dist/audio_frame.cjs +2 -2
  2. package/dist/audio_frame.cjs.map +1 -1
  3. package/dist/audio_frame.d.cts +2 -3
  4. package/dist/audio_frame.d.ts +2 -3
  5. package/dist/audio_frame.d.ts.map +1 -1
  6. package/dist/audio_frame.js +3 -3
  7. package/dist/audio_frame.js.map +1 -1
  8. package/dist/audio_resampler.cjs +10 -7
  9. package/dist/audio_resampler.cjs.map +1 -1
  10. package/dist/audio_resampler.d.cts +2 -3
  11. package/dist/audio_resampler.d.ts +2 -3
  12. package/dist/audio_resampler.d.ts.map +1 -1
  13. package/dist/audio_resampler.js +13 -10
  14. package/dist/audio_resampler.js.map +1 -1
  15. package/dist/audio_source.cjs +6 -4
  16. package/dist/audio_source.cjs.map +1 -1
  17. package/dist/audio_source.d.cts +3 -3
  18. package/dist/audio_source.d.ts +3 -3
  19. package/dist/audio_source.d.ts.map +1 -1
  20. package/dist/audio_source.js +9 -7
  21. package/dist/audio_source.js.map +1 -1
  22. package/dist/audio_stream.cjs +1 -2
  23. package/dist/audio_stream.cjs.map +1 -1
  24. package/dist/audio_stream.d.cts +2 -3
  25. package/dist/audio_stream.d.ts +2 -3
  26. package/dist/audio_stream.d.ts.map +1 -1
  27. package/dist/audio_stream.js +2 -3
  28. package/dist/audio_stream.js.map +1 -1
  29. package/dist/e2ee.cjs +19 -20
  30. package/dist/e2ee.cjs.map +1 -1
  31. package/dist/e2ee.d.cts +0 -1
  32. package/dist/e2ee.d.ts +0 -1
  33. package/dist/e2ee.d.ts.map +1 -1
  34. package/dist/e2ee.js +29 -30
  35. package/dist/e2ee.js.map +1 -1
  36. package/dist/ffi_client.cjs +6 -5
  37. package/dist/ffi_client.cjs.map +1 -1
  38. package/dist/ffi_client.d.cts +10 -10
  39. package/dist/ffi_client.d.ts +10 -10
  40. package/dist/ffi_client.d.ts.map +1 -1
  41. package/dist/ffi_client.js +6 -10
  42. package/dist/ffi_client.js.map +1 -1
  43. package/dist/index.cjs +16 -49
  44. package/dist/index.cjs.map +1 -1
  45. package/dist/index.d.cts +6 -35
  46. package/dist/index.d.ts +6 -35
  47. package/dist/index.d.ts.map +1 -1
  48. package/dist/index.js +7 -46
  49. package/dist/index.js.map +1 -1
  50. package/dist/napi/native.d.cjs.map +1 -1
  51. package/dist/napi/native.d.ts +5 -5
  52. package/dist/native.d.ts +5 -5
  53. package/dist/participant.cjs +57 -34
  54. package/dist/participant.cjs.map +1 -1
  55. package/dist/participant.d.cts +10 -10
  56. package/dist/participant.d.ts +10 -10
  57. package/dist/participant.d.ts.map +1 -1
  58. package/dist/participant.js +75 -50
  59. package/dist/participant.js.map +1 -1
  60. package/dist/proto/audio_frame_pb.cjs +977 -125
  61. package/dist/proto/audio_frame_pb.cjs.map +1 -1
  62. package/dist/proto/audio_frame_pb.d.cts +502 -417
  63. package/dist/proto/audio_frame_pb.d.ts +502 -417
  64. package/dist/proto/audio_frame_pb.d.ts.map +1 -1
  65. package/dist/proto/audio_frame_pb.js +943 -85
  66. package/dist/proto/audio_frame_pb.js.map +1 -1
  67. package/dist/proto/e2ee_pb.cjs +700 -85
  68. package/dist/proto/e2ee_pb.cjs.map +1 -1
  69. package/dist/proto/e2ee_pb.d.cts +331 -263
  70. package/dist/proto/e2ee_pb.d.ts +331 -263
  71. package/dist/proto/e2ee_pb.d.ts.map +1 -1
  72. package/dist/proto/e2ee_pb.js +675 -57
  73. package/dist/proto/e2ee_pb.js.map +1 -1
  74. package/dist/proto/ffi_pb.cjs +369 -36
  75. package/dist/proto/ffi_pb.cjs.map +1 -1
  76. package/dist/proto/ffi_pb.d.cts +156 -109
  77. package/dist/proto/ffi_pb.d.ts +156 -109
  78. package/dist/proto/ffi_pb.d.ts.map +1 -1
  79. package/dist/proto/ffi_pb.js +364 -29
  80. package/dist/proto/ffi_pb.js.map +1 -1
  81. package/dist/proto/handle_pb.cjs +27 -7
  82. package/dist/proto/handle_pb.cjs.map +1 -1
  83. package/dist/proto/handle_pb.d.cts +13 -15
  84. package/dist/proto/handle_pb.d.ts +13 -15
  85. package/dist/proto/handle_pb.d.ts.map +1 -1
  86. package/dist/proto/handle_pb.js +26 -5
  87. package/dist/proto/handle_pb.js.map +1 -1
  88. package/dist/proto/participant_pb.cjs +112 -15
  89. package/dist/proto/participant_pb.cjs.map +1 -1
  90. package/dist/proto/participant_pb.d.cts +140 -52
  91. package/dist/proto/participant_pb.d.ts +140 -52
  92. package/dist/proto/participant_pb.d.ts.map +1 -1
  93. package/dist/proto/participant_pb.js +109 -11
  94. package/dist/proto/participant_pb.js.map +1 -1
  95. package/dist/proto/room_pb.cjs +2693 -302
  96. package/dist/proto/room_pb.cjs.map +1 -1
  97. package/dist/proto/room_pb.d.cts +1265 -862
  98. package/dist/proto/room_pb.d.ts +1265 -862
  99. package/dist/proto/room_pb.d.ts.map +1 -1
  100. package/dist/proto/room_pb.js +2603 -210
  101. package/dist/proto/room_pb.js.map +1 -1
  102. package/dist/proto/rpc_pb.cjs +302 -37
  103. package/dist/proto/rpc_pb.cjs.map +1 -1
  104. package/dist/proto/rpc_pb.d.cts +138 -108
  105. package/dist/proto/rpc_pb.d.ts +138 -108
  106. package/dist/proto/rpc_pb.d.ts.map +1 -1
  107. package/dist/proto/rpc_pb.js +291 -25
  108. package/dist/proto/rpc_pb.js.map +1 -1
  109. package/dist/proto/stats_pb.cjs +1253 -139
  110. package/dist/proto/stats_pb.cjs.map +1 -1
  111. package/dist/proto/stats_pb.d.cts +803 -692
  112. package/dist/proto/stats_pb.d.ts +803 -692
  113. package/dist/proto/stats_pb.d.ts.map +1 -1
  114. package/dist/proto/stats_pb.js +1216 -93
  115. package/dist/proto/stats_pb.js.map +1 -1
  116. package/dist/proto/track_pb.cjs +462 -64
  117. package/dist/proto/track_pb.cjs.map +1 -1
  118. package/dist/proto/track_pb.d.cts +250 -218
  119. package/dist/proto/track_pb.d.ts +250 -218
  120. package/dist/proto/track_pb.d.ts.map +1 -1
  121. package/dist/proto/track_pb.js +447 -45
  122. package/dist/proto/track_pb.js.map +1 -1
  123. package/dist/proto/track_publication_pb.cjs +130 -0
  124. package/dist/proto/track_publication_pb.cjs.map +1 -0
  125. package/dist/proto/track_publication_pb.d.cts +80 -0
  126. package/dist/proto/track_publication_pb.d.ts +80 -0
  127. package/dist/proto/track_publication_pb.d.ts.map +1 -0
  128. package/dist/proto/track_publication_pb.js +103 -0
  129. package/dist/proto/track_publication_pb.js.map +1 -0
  130. package/dist/proto/video_frame_pb.cjs +648 -88
  131. package/dist/proto/video_frame_pb.cjs.map +1 -1
  132. package/dist/proto/video_frame_pb.d.cts +371 -328
  133. package/dist/proto/video_frame_pb.d.ts +371 -328
  134. package/dist/proto/video_frame_pb.d.ts.map +1 -1
  135. package/dist/proto/video_frame_pb.js +626 -60
  136. package/dist/proto/video_frame_pb.js.map +1 -1
  137. package/dist/room.cjs +93 -125
  138. package/dist/room.cjs.map +1 -1
  139. package/dist/room.d.cts +6 -17
  140. package/dist/room.d.ts +6 -17
  141. package/dist/room.d.ts.map +1 -1
  142. package/dist/room.js +92 -122
  143. package/dist/room.js.map +1 -1
  144. package/dist/rpc.cjs.map +1 -1
  145. package/dist/rpc.d.cts +0 -1
  146. package/dist/rpc.d.ts +0 -1
  147. package/dist/rpc.js.map +1 -1
  148. package/dist/track.cjs +12 -8
  149. package/dist/track.cjs.map +1 -1
  150. package/dist/track.d.cts +8 -9
  151. package/dist/track.d.ts +8 -9
  152. package/dist/track.d.ts.map +1 -1
  153. package/dist/track.js +13 -9
  154. package/dist/track.js.map +1 -1
  155. package/dist/track_publication.cjs +21 -12
  156. package/dist/track_publication.cjs.map +1 -1
  157. package/dist/track_publication.d.cts +12 -13
  158. package/dist/track_publication.d.ts +12 -13
  159. package/dist/track_publication.d.ts.map +1 -1
  160. package/dist/track_publication.js +22 -13
  161. package/dist/track_publication.js.map +1 -1
  162. package/dist/version.cjs +1 -1
  163. package/dist/version.cjs.map +1 -1
  164. package/dist/version.d.cts +1 -1
  165. package/dist/version.d.ts +1 -1
  166. package/dist/version.js +1 -1
  167. package/dist/version.js.map +1 -1
  168. package/dist/video_frame.cjs +26 -45
  169. package/dist/video_frame.cjs.map +1 -1
  170. package/dist/video_frame.d.cts +2 -3
  171. package/dist/video_frame.d.ts +2 -3
  172. package/dist/video_frame.d.ts.map +1 -1
  173. package/dist/video_frame.js +29 -48
  174. package/dist/video_frame.js.map +1 -1
  175. package/dist/video_source.cjs +7 -4
  176. package/dist/video_source.cjs.map +1 -1
  177. package/dist/video_source.d.cts +4 -4
  178. package/dist/video_source.d.ts +4 -4
  179. package/dist/video_source.d.ts.map +1 -1
  180. package/dist/video_source.js +9 -6
  181. package/dist/video_source.js.map +1 -1
  182. package/dist/video_stream.cjs +16 -5
  183. package/dist/video_stream.cjs.map +1 -1
  184. package/dist/video_stream.d.cts +3 -4
  185. package/dist/video_stream.d.ts +3 -4
  186. package/dist/video_stream.d.ts.map +1 -1
  187. package/dist/video_stream.js +17 -6
  188. package/dist/video_stream.js.map +1 -1
  189. package/package.json +9 -9
  190. package/src/audio_frame.ts +10 -10
  191. package/src/audio_resampler.ts +15 -13
  192. package/src/audio_source.ts +11 -8
  193. package/src/audio_stream.ts +3 -4
  194. package/src/e2ee.ts +36 -37
  195. package/src/ffi_client.ts +8 -16
  196. package/src/index.ts +5 -68
  197. package/src/napi/native.d.ts +5 -5
  198. package/src/participant.ts +100 -72
  199. package/src/proto/audio_frame_pb.ts +1220 -496
  200. package/src/proto/e2ee_pb.ts +858 -337
  201. package/src/proto/ffi_pb.ts +442 -135
  202. package/src/proto/handle_pb.ts +33 -19
  203. package/src/proto/participant_pb.ts +225 -60
  204. package/src/proto/room_pb.ts +3149 -1013
  205. package/src/proto/rpc_pb.ts +358 -129
  206. package/src/proto/stats_pb.ts +1891 -877
  207. package/src/proto/track_pb.ts +587 -253
  208. package/src/proto/track_publication_pb.ts +180 -0
  209. package/src/proto/video_frame_pb.ts +861 -394
  210. package/src/room.ts +143 -188
  211. package/src/rpc.ts +1 -1
  212. package/src/track.ts +16 -17
  213. package/src/track_publication.ts +25 -26
  214. package/src/version.ts +1 -1
  215. package/src/video_frame.ts +48 -72
  216. package/src/video_source.ts +11 -8
  217. package/src/video_stream.ts +18 -8
@@ -1,40 +1,4 @@
1
- import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
2
- const file_stats = /* @__PURE__ */ fileDesc("CgtzdGF0cy5wcm90bxINbGl2ZWtpdC5wcm90byLZFwoIUnRjU3RhdHMSLgoFY29kZWMYAyABKAsyHS5saXZla2l0LnByb3RvLlJ0Y1N0YXRzLkNvZGVjSAASOQoLaW5ib3VuZF9ydHAYBCABKAsyIi5saXZla2l0LnByb3RvLlJ0Y1N0YXRzLkluYm91bmRSdHBIABI7CgxvdXRib3VuZF9ydHAYBSABKAsyIy5saXZla2l0LnByb3RvLlJ0Y1N0YXRzLk91dGJvdW5kUnRwSAASRgoScmVtb3RlX2luYm91bmRfcnRwGAYgASgLMigubGl2ZWtpdC5wcm90by5SdGNTdGF0cy5SZW1vdGVJbmJvdW5kUnRwSAASSAoTcmVtb3RlX291dGJvdW5kX3J0cBgHIAEoCzIpLmxpdmVraXQucHJvdG8uUnRjU3RhdHMuUmVtb3RlT3V0Ym91bmRSdHBIABI7CgxtZWRpYV9zb3VyY2UYCCABKAsyIy5saXZla2l0LnByb3RvLlJ0Y1N0YXRzLk1lZGlhU291cmNlSAASPQoNbWVkaWFfcGxheW91dBgJIAEoCzIkLmxpdmVraXQucHJvdG8uUnRjU3RhdHMuTWVkaWFQbGF5b3V0SAASQQoPcGVlcl9jb25uZWN0aW9uGAogASgLMiYubGl2ZWtpdC5wcm90by5SdGNTdGF0cy5QZWVyQ29ubmVjdGlvbkgAEjsKDGRhdGFfY2hhbm5lbBgLIAEoCzIjLmxpdmVraXQucHJvdG8uUnRjU3RhdHMuRGF0YUNoYW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0NMT1NFRBADEhkKFURUTFNfVFJBTlNQT1JUX0ZBSUxFRBAEKtQBChFJY2VUcmFuc3BvcnRTdGF0ZRIVChFJQ0VfVFJBTlNQT1JUX05FVxAAEhoKFklDRV9UUkFOU1BPUlRfQ0hFQ0tJTkcQARIbChdJQ0VfVFJBTlNQT1JUX0NPTk5FQ1RFRBACEhsKF0lDRV9UUkFOU1BPUlRfQ09NUExFVEVEEAMSHgoaSUNFX1RSQU5TUE9SVF9ESVNDT05ORUNURUQQBBIYChRJQ0VfVFJBTlNQT1JUX0ZBSUxFRBAFEhgKFElDRV9UUkFOU1BPUlRfQ0xPU0VEEAYqPgoIRHRsc1JvbGUSDwoLRFRMU19DTElFTlQQABIPCgtEVExTX1NFUlZFUhABEhAKDERUTFNfVU5LTk9XThACKnUKFUljZUNhbmRpZGF0ZVBhaXJTdGF0ZRIPCgtQQUlSX0ZST1pFThAAEhAKDFBBSVJfV0FJVElORxABEhQKEFBBSVJfSU5fUFJPR1JFU1MQAhIPCgtQQUlSX0ZBSUxFRBADEhIKDlBBSVJfU1VDQ0VFREVEEAQqPQoQSWNlQ2FuZGlkYXRlVHlwZRIICgRIT1NUEAASCQoFU1JGTFgQARIJCgVQUkZMWBACEgkKBVJFTEFZEAMqVQoaSWNlU2VydmVyVHJhbnNwb3J0UHJvdG9jb2wSEQoNVFJBTlNQT1JUX1VEUBAAEhEKDVRSQU5TUE9SVF9UQ1AQARIRCg1UUkFOU1BPUlRfVExTEAIqVAoTSWNlVGNwQ2FuZGlkYXRlVHlwZRIUChBDQU5ESURBVEVfQUNUSVZFEAASFQoRQ0FORElEQVRFX1BBU1NJVkUQARIQCgxDQU5ESURBVEVfU08QAkIQqgINTGl2ZUtpdC5Qcm90bw");
3
- const RtcStatsSchema = /* @__PURE__ */ messageDesc(file_stats, 0);
4
- const RtcStats_CodecSchema = /* @__PURE__ */ messageDesc(file_stats, 0, 0);
5
- const RtcStats_InboundRtpSchema = /* @__PURE__ */ messageDesc(file_stats, 0, 1);
6
- const RtcStats_OutboundRtpSchema = /* @__PURE__ */ messageDesc(file_stats, 0, 2);
7
- const RtcStats_RemoteInboundRtpSchema = /* @__PURE__ */ messageDesc(file_stats, 0, 3);
8
- const RtcStats_RemoteOutboundRtpSchema = /* @__PURE__ */ messageDesc(file_stats, 0, 4);
9
- const RtcStats_MediaSourceSchema = /* @__PURE__ */ messageDesc(file_stats, 0, 5);
10
- const RtcStats_MediaPlayoutSchema = /* @__PURE__ */ messageDesc(file_stats, 0, 6);
11
- const RtcStats_PeerConnectionSchema = /* @__PURE__ */ messageDesc(file_stats, 0, 7);
12
- const RtcStats_DataChannelSchema = /* @__PURE__ */ messageDesc(file_stats, 0, 8);
13
- const RtcStats_TransportSchema = /* @__PURE__ */ messageDesc(file_stats, 0, 9);
14
- const RtcStats_CandidatePairSchema = /* @__PURE__ */ messageDesc(file_stats, 0, 10);
15
- const RtcStats_LocalCandidateSchema = /* @__PURE__ */ messageDesc(file_stats, 0, 11);
16
- const RtcStats_RemoteCandidateSchema = /* @__PURE__ */ messageDesc(file_stats, 0, 12);
17
- const RtcStats_CertificateSchema = /* @__PURE__ */ messageDesc(file_stats, 0, 13);
18
- const RtcStats_TrackSchema = /* @__PURE__ */ messageDesc(file_stats, 0, 14);
19
- const RtcStatsDataSchema = /* @__PURE__ */ messageDesc(file_stats, 1);
20
- const CodecStatsSchema = /* @__PURE__ */ messageDesc(file_stats, 2);
21
- const RtpStreamStatsSchema = /* @__PURE__ */ messageDesc(file_stats, 3);
22
- const ReceivedRtpStreamStatsSchema = /* @__PURE__ */ messageDesc(file_stats, 4);
23
- const InboundRtpStreamStatsSchema = /* @__PURE__ */ messageDesc(file_stats, 5);
24
- const SentRtpStreamStatsSchema = /* @__PURE__ */ messageDesc(file_stats, 6);
25
- const OutboundRtpStreamStatsSchema = /* @__PURE__ */ messageDesc(file_stats, 7);
26
- const RemoteInboundRtpStreamStatsSchema = /* @__PURE__ */ messageDesc(file_stats, 8);
27
- const RemoteOutboundRtpStreamStatsSchema = /* @__PURE__ */ messageDesc(file_stats, 9);
28
- const MediaSourceStatsSchema = /* @__PURE__ */ messageDesc(file_stats, 10);
29
- const AudioSourceStatsSchema = /* @__PURE__ */ messageDesc(file_stats, 11);
30
- const VideoSourceStatsSchema = /* @__PURE__ */ messageDesc(file_stats, 12);
31
- const AudioPlayoutStatsSchema = /* @__PURE__ */ messageDesc(file_stats, 13);
32
- const PeerConnectionStatsSchema = /* @__PURE__ */ messageDesc(file_stats, 14);
33
- const DataChannelStatsSchema = /* @__PURE__ */ messageDesc(file_stats, 15);
34
- const TransportStatsSchema = /* @__PURE__ */ messageDesc(file_stats, 16);
35
- const CandidatePairStatsSchema = /* @__PURE__ */ messageDesc(file_stats, 17);
36
- const IceCandidateStatsSchema = /* @__PURE__ */ messageDesc(file_stats, 18);
37
- const CertificateStatsSchema = /* @__PURE__ */ messageDesc(file_stats, 19);
1
+ import { Message, proto2 } from "@bufbuild/protobuf";
38
2
  var DataChannelState = /* @__PURE__ */ ((DataChannelState2) => {
39
3
  DataChannelState2[DataChannelState2["DC_CONNECTING"] = 0] = "DC_CONNECTING";
40
4
  DataChannelState2[DataChannelState2["DC_OPEN"] = 1] = "DC_OPEN";
@@ -42,7 +6,12 @@ var DataChannelState = /* @__PURE__ */ ((DataChannelState2) => {
42
6
  DataChannelState2[DataChannelState2["DC_CLOSED"] = 3] = "DC_CLOSED";
43
7
  return DataChannelState2;
44
8
  })(DataChannelState || {});
45
- const DataChannelStateSchema = /* @__PURE__ */ enumDesc(file_stats, 0);
9
+ proto2.util.setEnumType(DataChannelState, "livekit.proto.DataChannelState", [
10
+ { no: 0, name: "DC_CONNECTING" },
11
+ { no: 1, name: "DC_OPEN" },
12
+ { no: 2, name: "DC_CLOSING" },
13
+ { no: 3, name: "DC_CLOSED" }
14
+ ]);
46
15
  var QualityLimitationReason = /* @__PURE__ */ ((QualityLimitationReason2) => {
47
16
  QualityLimitationReason2[QualityLimitationReason2["LIMITATION_NONE"] = 0] = "LIMITATION_NONE";
48
17
  QualityLimitationReason2[QualityLimitationReason2["LIMITATION_CPU"] = 1] = "LIMITATION_CPU";
@@ -50,14 +19,23 @@ var QualityLimitationReason = /* @__PURE__ */ ((QualityLimitationReason2) => {
50
19
  QualityLimitationReason2[QualityLimitationReason2["LIMITATION_OTHER"] = 3] = "LIMITATION_OTHER";
51
20
  return QualityLimitationReason2;
52
21
  })(QualityLimitationReason || {});
53
- const QualityLimitationReasonSchema = /* @__PURE__ */ enumDesc(file_stats, 1);
22
+ proto2.util.setEnumType(QualityLimitationReason, "livekit.proto.QualityLimitationReason", [
23
+ { no: 0, name: "LIMITATION_NONE" },
24
+ { no: 1, name: "LIMITATION_CPU" },
25
+ { no: 2, name: "LIMITATION_BANDWIDTH" },
26
+ { no: 3, name: "LIMITATION_OTHER" }
27
+ ]);
54
28
  var IceRole = /* @__PURE__ */ ((IceRole2) => {
55
29
  IceRole2[IceRole2["ICE_UNKNOWN"] = 0] = "ICE_UNKNOWN";
56
30
  IceRole2[IceRole2["ICE_CONTROLLING"] = 1] = "ICE_CONTROLLING";
57
31
  IceRole2[IceRole2["ICE_CONTROLLED"] = 2] = "ICE_CONTROLLED";
58
32
  return IceRole2;
59
33
  })(IceRole || {});
60
- const IceRoleSchema = /* @__PURE__ */ enumDesc(file_stats, 2);
34
+ proto2.util.setEnumType(IceRole, "livekit.proto.IceRole", [
35
+ { no: 0, name: "ICE_UNKNOWN" },
36
+ { no: 1, name: "ICE_CONTROLLING" },
37
+ { no: 2, name: "ICE_CONTROLLED" }
38
+ ]);
61
39
  var DtlsTransportState = /* @__PURE__ */ ((DtlsTransportState2) => {
62
40
  DtlsTransportState2[DtlsTransportState2["DTLS_TRANSPORT_NEW"] = 0] = "DTLS_TRANSPORT_NEW";
63
41
  DtlsTransportState2[DtlsTransportState2["DTLS_TRANSPORT_CONNECTING"] = 1] = "DTLS_TRANSPORT_CONNECTING";
@@ -66,7 +44,13 @@ var DtlsTransportState = /* @__PURE__ */ ((DtlsTransportState2) => {
66
44
  DtlsTransportState2[DtlsTransportState2["DTLS_TRANSPORT_FAILED"] = 4] = "DTLS_TRANSPORT_FAILED";
67
45
  return DtlsTransportState2;
68
46
  })(DtlsTransportState || {});
69
- const DtlsTransportStateSchema = /* @__PURE__ */ enumDesc(file_stats, 3);
47
+ proto2.util.setEnumType(DtlsTransportState, "livekit.proto.DtlsTransportState", [
48
+ { no: 0, name: "DTLS_TRANSPORT_NEW" },
49
+ { no: 1, name: "DTLS_TRANSPORT_CONNECTING" },
50
+ { no: 2, name: "DTLS_TRANSPORT_CONNECTED" },
51
+ { no: 3, name: "DTLS_TRANSPORT_CLOSED" },
52
+ { no: 4, name: "DTLS_TRANSPORT_FAILED" }
53
+ ]);
70
54
  var IceTransportState = /* @__PURE__ */ ((IceTransportState2) => {
71
55
  IceTransportState2[IceTransportState2["ICE_TRANSPORT_NEW"] = 0] = "ICE_TRANSPORT_NEW";
72
56
  IceTransportState2[IceTransportState2["ICE_TRANSPORT_CHECKING"] = 1] = "ICE_TRANSPORT_CHECKING";
@@ -77,14 +61,26 @@ var IceTransportState = /* @__PURE__ */ ((IceTransportState2) => {
77
61
  IceTransportState2[IceTransportState2["ICE_TRANSPORT_CLOSED"] = 6] = "ICE_TRANSPORT_CLOSED";
78
62
  return IceTransportState2;
79
63
  })(IceTransportState || {});
80
- const IceTransportStateSchema = /* @__PURE__ */ enumDesc(file_stats, 4);
64
+ proto2.util.setEnumType(IceTransportState, "livekit.proto.IceTransportState", [
65
+ { no: 0, name: "ICE_TRANSPORT_NEW" },
66
+ { no: 1, name: "ICE_TRANSPORT_CHECKING" },
67
+ { no: 2, name: "ICE_TRANSPORT_CONNECTED" },
68
+ { no: 3, name: "ICE_TRANSPORT_COMPLETED" },
69
+ { no: 4, name: "ICE_TRANSPORT_DISCONNECTED" },
70
+ { no: 5, name: "ICE_TRANSPORT_FAILED" },
71
+ { no: 6, name: "ICE_TRANSPORT_CLOSED" }
72
+ ]);
81
73
  var DtlsRole = /* @__PURE__ */ ((DtlsRole2) => {
82
74
  DtlsRole2[DtlsRole2["DTLS_CLIENT"] = 0] = "DTLS_CLIENT";
83
75
  DtlsRole2[DtlsRole2["DTLS_SERVER"] = 1] = "DTLS_SERVER";
84
76
  DtlsRole2[DtlsRole2["DTLS_UNKNOWN"] = 2] = "DTLS_UNKNOWN";
85
77
  return DtlsRole2;
86
78
  })(DtlsRole || {});
87
- const DtlsRoleSchema = /* @__PURE__ */ enumDesc(file_stats, 5);
79
+ proto2.util.setEnumType(DtlsRole, "livekit.proto.DtlsRole", [
80
+ { no: 0, name: "DTLS_CLIENT" },
81
+ { no: 1, name: "DTLS_SERVER" },
82
+ { no: 2, name: "DTLS_UNKNOWN" }
83
+ ]);
88
84
  var IceCandidatePairState = /* @__PURE__ */ ((IceCandidatePairState2) => {
89
85
  IceCandidatePairState2[IceCandidatePairState2["PAIR_FROZEN"] = 0] = "PAIR_FROZEN";
90
86
  IceCandidatePairState2[IceCandidatePairState2["PAIR_WAITING"] = 1] = "PAIR_WAITING";
@@ -93,7 +89,13 @@ var IceCandidatePairState = /* @__PURE__ */ ((IceCandidatePairState2) => {
93
89
  IceCandidatePairState2[IceCandidatePairState2["PAIR_SUCCEEDED"] = 4] = "PAIR_SUCCEEDED";
94
90
  return IceCandidatePairState2;
95
91
  })(IceCandidatePairState || {});
96
- const IceCandidatePairStateSchema = /* @__PURE__ */ enumDesc(file_stats, 6);
92
+ proto2.util.setEnumType(IceCandidatePairState, "livekit.proto.IceCandidatePairState", [
93
+ { no: 0, name: "PAIR_FROZEN" },
94
+ { no: 1, name: "PAIR_WAITING" },
95
+ { no: 2, name: "PAIR_IN_PROGRESS" },
96
+ { no: 3, name: "PAIR_FAILED" },
97
+ { no: 4, name: "PAIR_SUCCEEDED" }
98
+ ]);
97
99
  var IceCandidateType = /* @__PURE__ */ ((IceCandidateType2) => {
98
100
  IceCandidateType2[IceCandidateType2["HOST"] = 0] = "HOST";
99
101
  IceCandidateType2[IceCandidateType2["SRFLX"] = 1] = "SRFLX";
@@ -101,77 +103,1198 @@ var IceCandidateType = /* @__PURE__ */ ((IceCandidateType2) => {
101
103
  IceCandidateType2[IceCandidateType2["RELAY"] = 3] = "RELAY";
102
104
  return IceCandidateType2;
103
105
  })(IceCandidateType || {});
104
- const IceCandidateTypeSchema = /* @__PURE__ */ enumDesc(file_stats, 7);
106
+ proto2.util.setEnumType(IceCandidateType, "livekit.proto.IceCandidateType", [
107
+ { no: 0, name: "HOST" },
108
+ { no: 1, name: "SRFLX" },
109
+ { no: 2, name: "PRFLX" },
110
+ { no: 3, name: "RELAY" }
111
+ ]);
105
112
  var IceServerTransportProtocol = /* @__PURE__ */ ((IceServerTransportProtocol2) => {
106
113
  IceServerTransportProtocol2[IceServerTransportProtocol2["TRANSPORT_UDP"] = 0] = "TRANSPORT_UDP";
107
114
  IceServerTransportProtocol2[IceServerTransportProtocol2["TRANSPORT_TCP"] = 1] = "TRANSPORT_TCP";
108
115
  IceServerTransportProtocol2[IceServerTransportProtocol2["TRANSPORT_TLS"] = 2] = "TRANSPORT_TLS";
109
116
  return IceServerTransportProtocol2;
110
117
  })(IceServerTransportProtocol || {});
111
- const IceServerTransportProtocolSchema = /* @__PURE__ */ enumDesc(file_stats, 8);
118
+ proto2.util.setEnumType(IceServerTransportProtocol, "livekit.proto.IceServerTransportProtocol", [
119
+ { no: 0, name: "TRANSPORT_UDP" },
120
+ { no: 1, name: "TRANSPORT_TCP" },
121
+ { no: 2, name: "TRANSPORT_TLS" }
122
+ ]);
112
123
  var IceTcpCandidateType = /* @__PURE__ */ ((IceTcpCandidateType2) => {
113
124
  IceTcpCandidateType2[IceTcpCandidateType2["CANDIDATE_ACTIVE"] = 0] = "CANDIDATE_ACTIVE";
114
125
  IceTcpCandidateType2[IceTcpCandidateType2["CANDIDATE_PASSIVE"] = 1] = "CANDIDATE_PASSIVE";
115
126
  IceTcpCandidateType2[IceTcpCandidateType2["CANDIDATE_SO"] = 2] = "CANDIDATE_SO";
116
127
  return IceTcpCandidateType2;
117
128
  })(IceTcpCandidateType || {});
118
- const IceTcpCandidateTypeSchema = /* @__PURE__ */ enumDesc(file_stats, 9);
129
+ proto2.util.setEnumType(IceTcpCandidateType, "livekit.proto.IceTcpCandidateType", [
130
+ { no: 0, name: "CANDIDATE_ACTIVE" },
131
+ { no: 1, name: "CANDIDATE_PASSIVE" },
132
+ { no: 2, name: "CANDIDATE_SO" }
133
+ ]);
134
+ const _RtcStats = class _RtcStats extends Message {
135
+ constructor(data) {
136
+ super();
137
+ /**
138
+ * @generated from oneof livekit.proto.RtcStats.stats
139
+ */
140
+ this.stats = { case: void 0 };
141
+ proto2.util.initPartial(data, this);
142
+ }
143
+ static fromBinary(bytes, options) {
144
+ return new _RtcStats().fromBinary(bytes, options);
145
+ }
146
+ static fromJson(jsonValue, options) {
147
+ return new _RtcStats().fromJson(jsonValue, options);
148
+ }
149
+ static fromJsonString(jsonString, options) {
150
+ return new _RtcStats().fromJsonString(jsonString, options);
151
+ }
152
+ static equals(a, b) {
153
+ return proto2.util.equals(_RtcStats, a, b);
154
+ }
155
+ };
156
+ _RtcStats.runtime = proto2;
157
+ _RtcStats.typeName = "livekit.proto.RtcStats";
158
+ _RtcStats.fields = proto2.util.newFieldList(() => [
159
+ { no: 3, name: "codec", kind: "message", T: RtcStats_Codec, oneof: "stats" },
160
+ { no: 4, name: "inbound_rtp", kind: "message", T: RtcStats_InboundRtp, oneof: "stats" },
161
+ { no: 5, name: "outbound_rtp", kind: "message", T: RtcStats_OutboundRtp, oneof: "stats" },
162
+ { no: 6, name: "remote_inbound_rtp", kind: "message", T: RtcStats_RemoteInboundRtp, oneof: "stats" },
163
+ { no: 7, name: "remote_outbound_rtp", kind: "message", T: RtcStats_RemoteOutboundRtp, oneof: "stats" },
164
+ { no: 8, name: "media_source", kind: "message", T: RtcStats_MediaSource, oneof: "stats" },
165
+ { no: 9, name: "media_playout", kind: "message", T: RtcStats_MediaPlayout, oneof: "stats" },
166
+ { no: 10, name: "peer_connection", kind: "message", T: RtcStats_PeerConnection, oneof: "stats" },
167
+ { no: 11, name: "data_channel", kind: "message", T: RtcStats_DataChannel, oneof: "stats" },
168
+ { no: 12, name: "transport", kind: "message", T: RtcStats_Transport, oneof: "stats" },
169
+ { no: 13, name: "candidate_pair", kind: "message", T: RtcStats_CandidatePair, oneof: "stats" },
170
+ { no: 14, name: "local_candidate", kind: "message", T: RtcStats_LocalCandidate, oneof: "stats" },
171
+ { no: 15, name: "remote_candidate", kind: "message", T: RtcStats_RemoteCandidate, oneof: "stats" },
172
+ { no: 16, name: "certificate", kind: "message", T: RtcStats_Certificate, oneof: "stats" },
173
+ { no: 17, name: "stream", kind: "message", T: RtcStats_Stream, oneof: "stats" },
174
+ { no: 18, name: "track", kind: "message", T: RtcStats_Track, oneof: "stats" }
175
+ ]);
176
+ let RtcStats = _RtcStats;
177
+ const _RtcStats_Codec = class _RtcStats_Codec extends Message {
178
+ constructor(data) {
179
+ super();
180
+ proto2.util.initPartial(data, this);
181
+ }
182
+ static fromBinary(bytes, options) {
183
+ return new _RtcStats_Codec().fromBinary(bytes, options);
184
+ }
185
+ static fromJson(jsonValue, options) {
186
+ return new _RtcStats_Codec().fromJson(jsonValue, options);
187
+ }
188
+ static fromJsonString(jsonString, options) {
189
+ return new _RtcStats_Codec().fromJsonString(jsonString, options);
190
+ }
191
+ static equals(a, b) {
192
+ return proto2.util.equals(_RtcStats_Codec, a, b);
193
+ }
194
+ };
195
+ _RtcStats_Codec.runtime = proto2;
196
+ _RtcStats_Codec.typeName = "livekit.proto.RtcStats.Codec";
197
+ _RtcStats_Codec.fields = proto2.util.newFieldList(() => [
198
+ { no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
199
+ { no: 2, name: "codec", kind: "message", T: CodecStats, req: true }
200
+ ]);
201
+ let RtcStats_Codec = _RtcStats_Codec;
202
+ const _RtcStats_InboundRtp = class _RtcStats_InboundRtp extends Message {
203
+ constructor(data) {
204
+ super();
205
+ proto2.util.initPartial(data, this);
206
+ }
207
+ static fromBinary(bytes, options) {
208
+ return new _RtcStats_InboundRtp().fromBinary(bytes, options);
209
+ }
210
+ static fromJson(jsonValue, options) {
211
+ return new _RtcStats_InboundRtp().fromJson(jsonValue, options);
212
+ }
213
+ static fromJsonString(jsonString, options) {
214
+ return new _RtcStats_InboundRtp().fromJsonString(jsonString, options);
215
+ }
216
+ static equals(a, b) {
217
+ return proto2.util.equals(_RtcStats_InboundRtp, a, b);
218
+ }
219
+ };
220
+ _RtcStats_InboundRtp.runtime = proto2;
221
+ _RtcStats_InboundRtp.typeName = "livekit.proto.RtcStats.InboundRtp";
222
+ _RtcStats_InboundRtp.fields = proto2.util.newFieldList(() => [
223
+ { no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
224
+ { no: 2, name: "stream", kind: "message", T: RtpStreamStats, req: true },
225
+ { no: 3, name: "received", kind: "message", T: ReceivedRtpStreamStats, req: true },
226
+ { no: 4, name: "inbound", kind: "message", T: InboundRtpStreamStats, req: true }
227
+ ]);
228
+ let RtcStats_InboundRtp = _RtcStats_InboundRtp;
229
+ const _RtcStats_OutboundRtp = class _RtcStats_OutboundRtp extends Message {
230
+ constructor(data) {
231
+ super();
232
+ proto2.util.initPartial(data, this);
233
+ }
234
+ static fromBinary(bytes, options) {
235
+ return new _RtcStats_OutboundRtp().fromBinary(bytes, options);
236
+ }
237
+ static fromJson(jsonValue, options) {
238
+ return new _RtcStats_OutboundRtp().fromJson(jsonValue, options);
239
+ }
240
+ static fromJsonString(jsonString, options) {
241
+ return new _RtcStats_OutboundRtp().fromJsonString(jsonString, options);
242
+ }
243
+ static equals(a, b) {
244
+ return proto2.util.equals(_RtcStats_OutboundRtp, a, b);
245
+ }
246
+ };
247
+ _RtcStats_OutboundRtp.runtime = proto2;
248
+ _RtcStats_OutboundRtp.typeName = "livekit.proto.RtcStats.OutboundRtp";
249
+ _RtcStats_OutboundRtp.fields = proto2.util.newFieldList(() => [
250
+ { no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
251
+ { no: 2, name: "stream", kind: "message", T: RtpStreamStats, req: true },
252
+ { no: 3, name: "sent", kind: "message", T: SentRtpStreamStats, req: true },
253
+ { no: 4, name: "outbound", kind: "message", T: OutboundRtpStreamStats, req: true }
254
+ ]);
255
+ let RtcStats_OutboundRtp = _RtcStats_OutboundRtp;
256
+ const _RtcStats_RemoteInboundRtp = class _RtcStats_RemoteInboundRtp extends Message {
257
+ constructor(data) {
258
+ super();
259
+ proto2.util.initPartial(data, this);
260
+ }
261
+ static fromBinary(bytes, options) {
262
+ return new _RtcStats_RemoteInboundRtp().fromBinary(bytes, options);
263
+ }
264
+ static fromJson(jsonValue, options) {
265
+ return new _RtcStats_RemoteInboundRtp().fromJson(jsonValue, options);
266
+ }
267
+ static fromJsonString(jsonString, options) {
268
+ return new _RtcStats_RemoteInboundRtp().fromJsonString(jsonString, options);
269
+ }
270
+ static equals(a, b) {
271
+ return proto2.util.equals(_RtcStats_RemoteInboundRtp, a, b);
272
+ }
273
+ };
274
+ _RtcStats_RemoteInboundRtp.runtime = proto2;
275
+ _RtcStats_RemoteInboundRtp.typeName = "livekit.proto.RtcStats.RemoteInboundRtp";
276
+ _RtcStats_RemoteInboundRtp.fields = proto2.util.newFieldList(() => [
277
+ { no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
278
+ { no: 2, name: "stream", kind: "message", T: RtpStreamStats, req: true },
279
+ { no: 3, name: "received", kind: "message", T: ReceivedRtpStreamStats, req: true },
280
+ { no: 4, name: "remote_inbound", kind: "message", T: RemoteInboundRtpStreamStats, req: true }
281
+ ]);
282
+ let RtcStats_RemoteInboundRtp = _RtcStats_RemoteInboundRtp;
283
+ const _RtcStats_RemoteOutboundRtp = class _RtcStats_RemoteOutboundRtp extends Message {
284
+ constructor(data) {
285
+ super();
286
+ proto2.util.initPartial(data, this);
287
+ }
288
+ static fromBinary(bytes, options) {
289
+ return new _RtcStats_RemoteOutboundRtp().fromBinary(bytes, options);
290
+ }
291
+ static fromJson(jsonValue, options) {
292
+ return new _RtcStats_RemoteOutboundRtp().fromJson(jsonValue, options);
293
+ }
294
+ static fromJsonString(jsonString, options) {
295
+ return new _RtcStats_RemoteOutboundRtp().fromJsonString(jsonString, options);
296
+ }
297
+ static equals(a, b) {
298
+ return proto2.util.equals(_RtcStats_RemoteOutboundRtp, a, b);
299
+ }
300
+ };
301
+ _RtcStats_RemoteOutboundRtp.runtime = proto2;
302
+ _RtcStats_RemoteOutboundRtp.typeName = "livekit.proto.RtcStats.RemoteOutboundRtp";
303
+ _RtcStats_RemoteOutboundRtp.fields = proto2.util.newFieldList(() => [
304
+ { no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
305
+ { no: 2, name: "stream", kind: "message", T: RtpStreamStats, req: true },
306
+ { no: 3, name: "sent", kind: "message", T: SentRtpStreamStats, req: true },
307
+ { no: 4, name: "remote_outbound", kind: "message", T: RemoteOutboundRtpStreamStats, req: true }
308
+ ]);
309
+ let RtcStats_RemoteOutboundRtp = _RtcStats_RemoteOutboundRtp;
310
+ const _RtcStats_MediaSource = class _RtcStats_MediaSource extends Message {
311
+ constructor(data) {
312
+ super();
313
+ proto2.util.initPartial(data, this);
314
+ }
315
+ static fromBinary(bytes, options) {
316
+ return new _RtcStats_MediaSource().fromBinary(bytes, options);
317
+ }
318
+ static fromJson(jsonValue, options) {
319
+ return new _RtcStats_MediaSource().fromJson(jsonValue, options);
320
+ }
321
+ static fromJsonString(jsonString, options) {
322
+ return new _RtcStats_MediaSource().fromJsonString(jsonString, options);
323
+ }
324
+ static equals(a, b) {
325
+ return proto2.util.equals(_RtcStats_MediaSource, a, b);
326
+ }
327
+ };
328
+ _RtcStats_MediaSource.runtime = proto2;
329
+ _RtcStats_MediaSource.typeName = "livekit.proto.RtcStats.MediaSource";
330
+ _RtcStats_MediaSource.fields = proto2.util.newFieldList(() => [
331
+ { no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
332
+ { no: 2, name: "source", kind: "message", T: MediaSourceStats, req: true },
333
+ { no: 3, name: "audio", kind: "message", T: AudioSourceStats, req: true },
334
+ { no: 4, name: "video", kind: "message", T: VideoSourceStats, req: true }
335
+ ]);
336
+ let RtcStats_MediaSource = _RtcStats_MediaSource;
337
+ const _RtcStats_MediaPlayout = class _RtcStats_MediaPlayout extends Message {
338
+ constructor(data) {
339
+ super();
340
+ proto2.util.initPartial(data, this);
341
+ }
342
+ static fromBinary(bytes, options) {
343
+ return new _RtcStats_MediaPlayout().fromBinary(bytes, options);
344
+ }
345
+ static fromJson(jsonValue, options) {
346
+ return new _RtcStats_MediaPlayout().fromJson(jsonValue, options);
347
+ }
348
+ static fromJsonString(jsonString, options) {
349
+ return new _RtcStats_MediaPlayout().fromJsonString(jsonString, options);
350
+ }
351
+ static equals(a, b) {
352
+ return proto2.util.equals(_RtcStats_MediaPlayout, a, b);
353
+ }
354
+ };
355
+ _RtcStats_MediaPlayout.runtime = proto2;
356
+ _RtcStats_MediaPlayout.typeName = "livekit.proto.RtcStats.MediaPlayout";
357
+ _RtcStats_MediaPlayout.fields = proto2.util.newFieldList(() => [
358
+ { no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
359
+ { no: 2, name: "audio_playout", kind: "message", T: AudioPlayoutStats, req: true }
360
+ ]);
361
+ let RtcStats_MediaPlayout = _RtcStats_MediaPlayout;
362
+ const _RtcStats_PeerConnection = class _RtcStats_PeerConnection extends Message {
363
+ constructor(data) {
364
+ super();
365
+ proto2.util.initPartial(data, this);
366
+ }
367
+ static fromBinary(bytes, options) {
368
+ return new _RtcStats_PeerConnection().fromBinary(bytes, options);
369
+ }
370
+ static fromJson(jsonValue, options) {
371
+ return new _RtcStats_PeerConnection().fromJson(jsonValue, options);
372
+ }
373
+ static fromJsonString(jsonString, options) {
374
+ return new _RtcStats_PeerConnection().fromJsonString(jsonString, options);
375
+ }
376
+ static equals(a, b) {
377
+ return proto2.util.equals(_RtcStats_PeerConnection, a, b);
378
+ }
379
+ };
380
+ _RtcStats_PeerConnection.runtime = proto2;
381
+ _RtcStats_PeerConnection.typeName = "livekit.proto.RtcStats.PeerConnection";
382
+ _RtcStats_PeerConnection.fields = proto2.util.newFieldList(() => [
383
+ { no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
384
+ { no: 2, name: "pc", kind: "message", T: PeerConnectionStats, req: true }
385
+ ]);
386
+ let RtcStats_PeerConnection = _RtcStats_PeerConnection;
387
+ const _RtcStats_DataChannel = class _RtcStats_DataChannel extends Message {
388
+ constructor(data) {
389
+ super();
390
+ proto2.util.initPartial(data, this);
391
+ }
392
+ static fromBinary(bytes, options) {
393
+ return new _RtcStats_DataChannel().fromBinary(bytes, options);
394
+ }
395
+ static fromJson(jsonValue, options) {
396
+ return new _RtcStats_DataChannel().fromJson(jsonValue, options);
397
+ }
398
+ static fromJsonString(jsonString, options) {
399
+ return new _RtcStats_DataChannel().fromJsonString(jsonString, options);
400
+ }
401
+ static equals(a, b) {
402
+ return proto2.util.equals(_RtcStats_DataChannel, a, b);
403
+ }
404
+ };
405
+ _RtcStats_DataChannel.runtime = proto2;
406
+ _RtcStats_DataChannel.typeName = "livekit.proto.RtcStats.DataChannel";
407
+ _RtcStats_DataChannel.fields = proto2.util.newFieldList(() => [
408
+ { no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
409
+ { no: 2, name: "dc", kind: "message", T: DataChannelStats, req: true }
410
+ ]);
411
+ let RtcStats_DataChannel = _RtcStats_DataChannel;
412
+ const _RtcStats_Transport = class _RtcStats_Transport extends Message {
413
+ constructor(data) {
414
+ super();
415
+ proto2.util.initPartial(data, this);
416
+ }
417
+ static fromBinary(bytes, options) {
418
+ return new _RtcStats_Transport().fromBinary(bytes, options);
419
+ }
420
+ static fromJson(jsonValue, options) {
421
+ return new _RtcStats_Transport().fromJson(jsonValue, options);
422
+ }
423
+ static fromJsonString(jsonString, options) {
424
+ return new _RtcStats_Transport().fromJsonString(jsonString, options);
425
+ }
426
+ static equals(a, b) {
427
+ return proto2.util.equals(_RtcStats_Transport, a, b);
428
+ }
429
+ };
430
+ _RtcStats_Transport.runtime = proto2;
431
+ _RtcStats_Transport.typeName = "livekit.proto.RtcStats.Transport";
432
+ _RtcStats_Transport.fields = proto2.util.newFieldList(() => [
433
+ { no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
434
+ { no: 2, name: "transport", kind: "message", T: TransportStats, req: true }
435
+ ]);
436
+ let RtcStats_Transport = _RtcStats_Transport;
437
+ const _RtcStats_CandidatePair = class _RtcStats_CandidatePair extends Message {
438
+ constructor(data) {
439
+ super();
440
+ proto2.util.initPartial(data, this);
441
+ }
442
+ static fromBinary(bytes, options) {
443
+ return new _RtcStats_CandidatePair().fromBinary(bytes, options);
444
+ }
445
+ static fromJson(jsonValue, options) {
446
+ return new _RtcStats_CandidatePair().fromJson(jsonValue, options);
447
+ }
448
+ static fromJsonString(jsonString, options) {
449
+ return new _RtcStats_CandidatePair().fromJsonString(jsonString, options);
450
+ }
451
+ static equals(a, b) {
452
+ return proto2.util.equals(_RtcStats_CandidatePair, a, b);
453
+ }
454
+ };
455
+ _RtcStats_CandidatePair.runtime = proto2;
456
+ _RtcStats_CandidatePair.typeName = "livekit.proto.RtcStats.CandidatePair";
457
+ _RtcStats_CandidatePair.fields = proto2.util.newFieldList(() => [
458
+ { no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
459
+ { no: 2, name: "candidate_pair", kind: "message", T: CandidatePairStats, req: true }
460
+ ]);
461
+ let RtcStats_CandidatePair = _RtcStats_CandidatePair;
462
+ const _RtcStats_LocalCandidate = class _RtcStats_LocalCandidate extends Message {
463
+ constructor(data) {
464
+ super();
465
+ proto2.util.initPartial(data, this);
466
+ }
467
+ static fromBinary(bytes, options) {
468
+ return new _RtcStats_LocalCandidate().fromBinary(bytes, options);
469
+ }
470
+ static fromJson(jsonValue, options) {
471
+ return new _RtcStats_LocalCandidate().fromJson(jsonValue, options);
472
+ }
473
+ static fromJsonString(jsonString, options) {
474
+ return new _RtcStats_LocalCandidate().fromJsonString(jsonString, options);
475
+ }
476
+ static equals(a, b) {
477
+ return proto2.util.equals(_RtcStats_LocalCandidate, a, b);
478
+ }
479
+ };
480
+ _RtcStats_LocalCandidate.runtime = proto2;
481
+ _RtcStats_LocalCandidate.typeName = "livekit.proto.RtcStats.LocalCandidate";
482
+ _RtcStats_LocalCandidate.fields = proto2.util.newFieldList(() => [
483
+ { no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
484
+ { no: 2, name: "candidate", kind: "message", T: IceCandidateStats, req: true }
485
+ ]);
486
+ let RtcStats_LocalCandidate = _RtcStats_LocalCandidate;
487
+ const _RtcStats_RemoteCandidate = class _RtcStats_RemoteCandidate extends Message {
488
+ constructor(data) {
489
+ super();
490
+ proto2.util.initPartial(data, this);
491
+ }
492
+ static fromBinary(bytes, options) {
493
+ return new _RtcStats_RemoteCandidate().fromBinary(bytes, options);
494
+ }
495
+ static fromJson(jsonValue, options) {
496
+ return new _RtcStats_RemoteCandidate().fromJson(jsonValue, options);
497
+ }
498
+ static fromJsonString(jsonString, options) {
499
+ return new _RtcStats_RemoteCandidate().fromJsonString(jsonString, options);
500
+ }
501
+ static equals(a, b) {
502
+ return proto2.util.equals(_RtcStats_RemoteCandidate, a, b);
503
+ }
504
+ };
505
+ _RtcStats_RemoteCandidate.runtime = proto2;
506
+ _RtcStats_RemoteCandidate.typeName = "livekit.proto.RtcStats.RemoteCandidate";
507
+ _RtcStats_RemoteCandidate.fields = proto2.util.newFieldList(() => [
508
+ { no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
509
+ { no: 2, name: "candidate", kind: "message", T: IceCandidateStats, req: true }
510
+ ]);
511
+ let RtcStats_RemoteCandidate = _RtcStats_RemoteCandidate;
512
+ const _RtcStats_Certificate = class _RtcStats_Certificate extends Message {
513
+ constructor(data) {
514
+ super();
515
+ proto2.util.initPartial(data, this);
516
+ }
517
+ static fromBinary(bytes, options) {
518
+ return new _RtcStats_Certificate().fromBinary(bytes, options);
519
+ }
520
+ static fromJson(jsonValue, options) {
521
+ return new _RtcStats_Certificate().fromJson(jsonValue, options);
522
+ }
523
+ static fromJsonString(jsonString, options) {
524
+ return new _RtcStats_Certificate().fromJsonString(jsonString, options);
525
+ }
526
+ static equals(a, b) {
527
+ return proto2.util.equals(_RtcStats_Certificate, a, b);
528
+ }
529
+ };
530
+ _RtcStats_Certificate.runtime = proto2;
531
+ _RtcStats_Certificate.typeName = "livekit.proto.RtcStats.Certificate";
532
+ _RtcStats_Certificate.fields = proto2.util.newFieldList(() => [
533
+ { no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
534
+ { no: 2, name: "certificate", kind: "message", T: CertificateStats, req: true }
535
+ ]);
536
+ let RtcStats_Certificate = _RtcStats_Certificate;
537
+ const _RtcStats_Stream = class _RtcStats_Stream extends Message {
538
+ constructor(data) {
539
+ super();
540
+ proto2.util.initPartial(data, this);
541
+ }
542
+ static fromBinary(bytes, options) {
543
+ return new _RtcStats_Stream().fromBinary(bytes, options);
544
+ }
545
+ static fromJson(jsonValue, options) {
546
+ return new _RtcStats_Stream().fromJson(jsonValue, options);
547
+ }
548
+ static fromJsonString(jsonString, options) {
549
+ return new _RtcStats_Stream().fromJsonString(jsonString, options);
550
+ }
551
+ static equals(a, b) {
552
+ return proto2.util.equals(_RtcStats_Stream, a, b);
553
+ }
554
+ };
555
+ _RtcStats_Stream.runtime = proto2;
556
+ _RtcStats_Stream.typeName = "livekit.proto.RtcStats.Stream";
557
+ _RtcStats_Stream.fields = proto2.util.newFieldList(() => [
558
+ { no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
559
+ { no: 2, name: "stream", kind: "message", T: StreamStats, req: true }
560
+ ]);
561
+ let RtcStats_Stream = _RtcStats_Stream;
562
+ const _RtcStats_Track = class _RtcStats_Track extends Message {
563
+ constructor(data) {
564
+ super();
565
+ proto2.util.initPartial(data, this);
566
+ }
567
+ static fromBinary(bytes, options) {
568
+ return new _RtcStats_Track().fromBinary(bytes, options);
569
+ }
570
+ static fromJson(jsonValue, options) {
571
+ return new _RtcStats_Track().fromJson(jsonValue, options);
572
+ }
573
+ static fromJsonString(jsonString, options) {
574
+ return new _RtcStats_Track().fromJsonString(jsonString, options);
575
+ }
576
+ static equals(a, b) {
577
+ return proto2.util.equals(_RtcStats_Track, a, b);
578
+ }
579
+ };
580
+ _RtcStats_Track.runtime = proto2;
581
+ _RtcStats_Track.typeName = "livekit.proto.RtcStats.Track";
582
+ _RtcStats_Track.fields = proto2.util.newFieldList(() => []);
583
+ let RtcStats_Track = _RtcStats_Track;
584
+ const _RtcStatsData = class _RtcStatsData extends Message {
585
+ constructor(data) {
586
+ super();
587
+ proto2.util.initPartial(data, this);
588
+ }
589
+ static fromBinary(bytes, options) {
590
+ return new _RtcStatsData().fromBinary(bytes, options);
591
+ }
592
+ static fromJson(jsonValue, options) {
593
+ return new _RtcStatsData().fromJson(jsonValue, options);
594
+ }
595
+ static fromJsonString(jsonString, options) {
596
+ return new _RtcStatsData().fromJsonString(jsonString, options);
597
+ }
598
+ static equals(a, b) {
599
+ return proto2.util.equals(_RtcStatsData, a, b);
600
+ }
601
+ };
602
+ _RtcStatsData.runtime = proto2;
603
+ _RtcStatsData.typeName = "livekit.proto.RtcStatsData";
604
+ _RtcStatsData.fields = proto2.util.newFieldList(() => [
605
+ { no: 1, name: "id", kind: "scalar", T: 9, req: true },
606
+ { no: 2, name: "timestamp", kind: "scalar", T: 3, req: true }
607
+ ]);
608
+ let RtcStatsData = _RtcStatsData;
609
+ const _CodecStats = class _CodecStats extends Message {
610
+ constructor(data) {
611
+ super();
612
+ proto2.util.initPartial(data, this);
613
+ }
614
+ static fromBinary(bytes, options) {
615
+ return new _CodecStats().fromBinary(bytes, options);
616
+ }
617
+ static fromJson(jsonValue, options) {
618
+ return new _CodecStats().fromJson(jsonValue, options);
619
+ }
620
+ static fromJsonString(jsonString, options) {
621
+ return new _CodecStats().fromJsonString(jsonString, options);
622
+ }
623
+ static equals(a, b) {
624
+ return proto2.util.equals(_CodecStats, a, b);
625
+ }
626
+ };
627
+ _CodecStats.runtime = proto2;
628
+ _CodecStats.typeName = "livekit.proto.CodecStats";
629
+ _CodecStats.fields = proto2.util.newFieldList(() => [
630
+ { no: 1, name: "payload_type", kind: "scalar", T: 13, req: true },
631
+ { no: 2, name: "transport_id", kind: "scalar", T: 9, req: true },
632
+ { no: 3, name: "mime_type", kind: "scalar", T: 9, req: true },
633
+ { no: 4, name: "clock_rate", kind: "scalar", T: 13, req: true },
634
+ { no: 5, name: "channels", kind: "scalar", T: 13, req: true },
635
+ { no: 6, name: "sdp_fmtp_line", kind: "scalar", T: 9, req: true }
636
+ ]);
637
+ let CodecStats = _CodecStats;
638
+ const _RtpStreamStats = class _RtpStreamStats extends Message {
639
+ constructor(data) {
640
+ super();
641
+ proto2.util.initPartial(data, this);
642
+ }
643
+ static fromBinary(bytes, options) {
644
+ return new _RtpStreamStats().fromBinary(bytes, options);
645
+ }
646
+ static fromJson(jsonValue, options) {
647
+ return new _RtpStreamStats().fromJson(jsonValue, options);
648
+ }
649
+ static fromJsonString(jsonString, options) {
650
+ return new _RtpStreamStats().fromJsonString(jsonString, options);
651
+ }
652
+ static equals(a, b) {
653
+ return proto2.util.equals(_RtpStreamStats, a, b);
654
+ }
655
+ };
656
+ _RtpStreamStats.runtime = proto2;
657
+ _RtpStreamStats.typeName = "livekit.proto.RtpStreamStats";
658
+ _RtpStreamStats.fields = proto2.util.newFieldList(() => [
659
+ { no: 1, name: "ssrc", kind: "scalar", T: 13, req: true },
660
+ { no: 2, name: "kind", kind: "scalar", T: 9, req: true },
661
+ { no: 3, name: "transport_id", kind: "scalar", T: 9, req: true },
662
+ { no: 4, name: "codec_id", kind: "scalar", T: 9, req: true }
663
+ ]);
664
+ let RtpStreamStats = _RtpStreamStats;
665
+ const _ReceivedRtpStreamStats = class _ReceivedRtpStreamStats extends Message {
666
+ constructor(data) {
667
+ super();
668
+ proto2.util.initPartial(data, this);
669
+ }
670
+ static fromBinary(bytes, options) {
671
+ return new _ReceivedRtpStreamStats().fromBinary(bytes, options);
672
+ }
673
+ static fromJson(jsonValue, options) {
674
+ return new _ReceivedRtpStreamStats().fromJson(jsonValue, options);
675
+ }
676
+ static fromJsonString(jsonString, options) {
677
+ return new _ReceivedRtpStreamStats().fromJsonString(jsonString, options);
678
+ }
679
+ static equals(a, b) {
680
+ return proto2.util.equals(_ReceivedRtpStreamStats, a, b);
681
+ }
682
+ };
683
+ _ReceivedRtpStreamStats.runtime = proto2;
684
+ _ReceivedRtpStreamStats.typeName = "livekit.proto.ReceivedRtpStreamStats";
685
+ _ReceivedRtpStreamStats.fields = proto2.util.newFieldList(() => [
686
+ { no: 1, name: "packets_received", kind: "scalar", T: 4, req: true },
687
+ { no: 2, name: "packets_lost", kind: "scalar", T: 3, req: true },
688
+ { no: 3, name: "jitter", kind: "scalar", T: 1, req: true }
689
+ ]);
690
+ let ReceivedRtpStreamStats = _ReceivedRtpStreamStats;
691
+ const _InboundRtpStreamStats = class _InboundRtpStreamStats extends Message {
692
+ constructor(data) {
693
+ super();
694
+ proto2.util.initPartial(data, this);
695
+ }
696
+ static fromBinary(bytes, options) {
697
+ return new _InboundRtpStreamStats().fromBinary(bytes, options);
698
+ }
699
+ static fromJson(jsonValue, options) {
700
+ return new _InboundRtpStreamStats().fromJson(jsonValue, options);
701
+ }
702
+ static fromJsonString(jsonString, options) {
703
+ return new _InboundRtpStreamStats().fromJsonString(jsonString, options);
704
+ }
705
+ static equals(a, b) {
706
+ return proto2.util.equals(_InboundRtpStreamStats, a, b);
707
+ }
708
+ };
709
+ _InboundRtpStreamStats.runtime = proto2;
710
+ _InboundRtpStreamStats.typeName = "livekit.proto.InboundRtpStreamStats";
711
+ _InboundRtpStreamStats.fields = proto2.util.newFieldList(() => [
712
+ { no: 1, name: "track_identifier", kind: "scalar", T: 9, req: true },
713
+ { no: 2, name: "mid", kind: "scalar", T: 9, req: true },
714
+ { no: 3, name: "remote_id", kind: "scalar", T: 9, req: true },
715
+ { no: 4, name: "frames_decoded", kind: "scalar", T: 13, req: true },
716
+ { no: 5, name: "key_frames_decoded", kind: "scalar", T: 13, req: true },
717
+ { no: 6, name: "frames_rendered", kind: "scalar", T: 13, req: true },
718
+ { no: 7, name: "frames_dropped", kind: "scalar", T: 13, req: true },
719
+ { no: 8, name: "frame_width", kind: "scalar", T: 13, req: true },
720
+ { no: 9, name: "frame_height", kind: "scalar", T: 13, req: true },
721
+ { no: 10, name: "frames_per_second", kind: "scalar", T: 1, req: true },
722
+ { no: 11, name: "qp_sum", kind: "scalar", T: 4, req: true },
723
+ { no: 12, name: "total_decode_time", kind: "scalar", T: 1, req: true },
724
+ { no: 13, name: "total_inter_frame_delay", kind: "scalar", T: 1, req: true },
725
+ { no: 14, name: "total_squared_inter_frame_delay", kind: "scalar", T: 1, req: true },
726
+ { no: 15, name: "pause_count", kind: "scalar", T: 13, req: true },
727
+ { no: 16, name: "total_pause_duration", kind: "scalar", T: 1, req: true },
728
+ { no: 17, name: "freeze_count", kind: "scalar", T: 13, req: true },
729
+ { no: 18, name: "total_freeze_duration", kind: "scalar", T: 1, req: true },
730
+ { no: 19, name: "last_packet_received_timestamp", kind: "scalar", T: 1, req: true },
731
+ { no: 20, name: "header_bytes_received", kind: "scalar", T: 4, req: true },
732
+ { no: 21, name: "packets_discarded", kind: "scalar", T: 4, req: true },
733
+ { no: 22, name: "fec_bytes_received", kind: "scalar", T: 4, req: true },
734
+ { no: 23, name: "fec_packets_received", kind: "scalar", T: 4, req: true },
735
+ { no: 24, name: "fec_packets_discarded", kind: "scalar", T: 4, req: true },
736
+ { no: 25, name: "bytes_received", kind: "scalar", T: 4, req: true },
737
+ { no: 26, name: "nack_count", kind: "scalar", T: 13, req: true },
738
+ { no: 27, name: "fir_count", kind: "scalar", T: 13, req: true },
739
+ { no: 28, name: "pli_count", kind: "scalar", T: 13, req: true },
740
+ { no: 29, name: "total_processing_delay", kind: "scalar", T: 1, req: true },
741
+ { no: 30, name: "estimated_playout_timestamp", kind: "scalar", T: 1, req: true },
742
+ { no: 31, name: "jitter_buffer_delay", kind: "scalar", T: 1, req: true },
743
+ { no: 32, name: "jitter_buffer_target_delay", kind: "scalar", T: 1, req: true },
744
+ { no: 33, name: "jitter_buffer_emitted_count", kind: "scalar", T: 4, req: true },
745
+ { no: 34, name: "jitter_buffer_minimum_delay", kind: "scalar", T: 1, req: true },
746
+ { no: 35, name: "total_samples_received", kind: "scalar", T: 4, req: true },
747
+ { no: 36, name: "concealed_samples", kind: "scalar", T: 4, req: true },
748
+ { no: 37, name: "silent_concealed_samples", kind: "scalar", T: 4, req: true },
749
+ { no: 38, name: "concealment_events", kind: "scalar", T: 4, req: true },
750
+ { no: 39, name: "inserted_samples_for_deceleration", kind: "scalar", T: 4, req: true },
751
+ { no: 40, name: "removed_samples_for_acceleration", kind: "scalar", T: 4, req: true },
752
+ { no: 41, name: "audio_level", kind: "scalar", T: 1, req: true },
753
+ { no: 42, name: "total_audio_energy", kind: "scalar", T: 1, req: true },
754
+ { no: 43, name: "total_samples_duration", kind: "scalar", T: 1, req: true },
755
+ { no: 44, name: "frames_received", kind: "scalar", T: 4, req: true },
756
+ { no: 45, name: "decoder_implementation", kind: "scalar", T: 9, req: true },
757
+ { no: 46, name: "playout_id", kind: "scalar", T: 9, req: true },
758
+ { no: 47, name: "power_efficient_decoder", kind: "scalar", T: 8, req: true },
759
+ { no: 48, name: "frames_assembled_from_multiple_packets", kind: "scalar", T: 4, req: true },
760
+ { no: 49, name: "total_assembly_time", kind: "scalar", T: 1, req: true },
761
+ { no: 50, name: "retransmitted_packets_received", kind: "scalar", T: 4, req: true },
762
+ { no: 51, name: "retransmitted_bytes_received", kind: "scalar", T: 4, req: true },
763
+ { no: 52, name: "rtx_ssrc", kind: "scalar", T: 13, req: true },
764
+ { no: 53, name: "fec_ssrc", kind: "scalar", T: 13, req: true }
765
+ ]);
766
+ let InboundRtpStreamStats = _InboundRtpStreamStats;
767
+ const _SentRtpStreamStats = class _SentRtpStreamStats extends Message {
768
+ constructor(data) {
769
+ super();
770
+ proto2.util.initPartial(data, this);
771
+ }
772
+ static fromBinary(bytes, options) {
773
+ return new _SentRtpStreamStats().fromBinary(bytes, options);
774
+ }
775
+ static fromJson(jsonValue, options) {
776
+ return new _SentRtpStreamStats().fromJson(jsonValue, options);
777
+ }
778
+ static fromJsonString(jsonString, options) {
779
+ return new _SentRtpStreamStats().fromJsonString(jsonString, options);
780
+ }
781
+ static equals(a, b) {
782
+ return proto2.util.equals(_SentRtpStreamStats, a, b);
783
+ }
784
+ };
785
+ _SentRtpStreamStats.runtime = proto2;
786
+ _SentRtpStreamStats.typeName = "livekit.proto.SentRtpStreamStats";
787
+ _SentRtpStreamStats.fields = proto2.util.newFieldList(() => [
788
+ { no: 1, name: "packets_sent", kind: "scalar", T: 4, req: true },
789
+ { no: 2, name: "bytes_sent", kind: "scalar", T: 4, req: true }
790
+ ]);
791
+ let SentRtpStreamStats = _SentRtpStreamStats;
792
+ const _OutboundRtpStreamStats = class _OutboundRtpStreamStats extends Message {
793
+ constructor(data) {
794
+ super();
795
+ /**
796
+ * @generated from field: map<string, double> quality_limitation_durations = 22;
797
+ */
798
+ this.qualityLimitationDurations = {};
799
+ proto2.util.initPartial(data, this);
800
+ }
801
+ static fromBinary(bytes, options) {
802
+ return new _OutboundRtpStreamStats().fromBinary(bytes, options);
803
+ }
804
+ static fromJson(jsonValue, options) {
805
+ return new _OutboundRtpStreamStats().fromJson(jsonValue, options);
806
+ }
807
+ static fromJsonString(jsonString, options) {
808
+ return new _OutboundRtpStreamStats().fromJsonString(jsonString, options);
809
+ }
810
+ static equals(a, b) {
811
+ return proto2.util.equals(_OutboundRtpStreamStats, a, b);
812
+ }
813
+ };
814
+ _OutboundRtpStreamStats.runtime = proto2;
815
+ _OutboundRtpStreamStats.typeName = "livekit.proto.OutboundRtpStreamStats";
816
+ _OutboundRtpStreamStats.fields = proto2.util.newFieldList(() => [
817
+ { no: 1, name: "mid", kind: "scalar", T: 9, req: true },
818
+ { no: 2, name: "media_source_id", kind: "scalar", T: 9, req: true },
819
+ { no: 3, name: "remote_id", kind: "scalar", T: 9, req: true },
820
+ { no: 4, name: "rid", kind: "scalar", T: 9, req: true },
821
+ { no: 5, name: "header_bytes_sent", kind: "scalar", T: 4, req: true },
822
+ { no: 6, name: "retransmitted_packets_sent", kind: "scalar", T: 4, req: true },
823
+ { no: 7, name: "retransmitted_bytes_sent", kind: "scalar", T: 4, req: true },
824
+ { no: 8, name: "rtx_ssrc", kind: "scalar", T: 13, req: true },
825
+ { no: 9, name: "target_bitrate", kind: "scalar", T: 1, req: true },
826
+ { no: 10, name: "total_encoded_bytes_target", kind: "scalar", T: 4, req: true },
827
+ { no: 11, name: "frame_width", kind: "scalar", T: 13, req: true },
828
+ { no: 12, name: "frame_height", kind: "scalar", T: 13, req: true },
829
+ { no: 13, name: "frames_per_second", kind: "scalar", T: 1, req: true },
830
+ { no: 14, name: "frames_sent", kind: "scalar", T: 13, req: true },
831
+ { no: 15, name: "huge_frames_sent", kind: "scalar", T: 13, req: true },
832
+ { no: 16, name: "frames_encoded", kind: "scalar", T: 13, req: true },
833
+ { no: 17, name: "key_frames_encoded", kind: "scalar", T: 13, req: true },
834
+ { no: 18, name: "qp_sum", kind: "scalar", T: 4, req: true },
835
+ { no: 19, name: "total_encode_time", kind: "scalar", T: 1, req: true },
836
+ { no: 20, name: "total_packet_send_delay", kind: "scalar", T: 1, req: true },
837
+ { no: 21, name: "quality_limitation_reason", kind: "enum", T: proto2.getEnumType(QualityLimitationReason), req: true },
838
+ { no: 22, name: "quality_limitation_durations", kind: "map", K: 9, V: {
839
+ kind: "scalar",
840
+ T: 1
841
+ /* ScalarType.DOUBLE */
842
+ } },
843
+ { no: 23, name: "quality_limitation_resolution_changes", kind: "scalar", T: 13, req: true },
844
+ { no: 24, name: "nack_count", kind: "scalar", T: 13, req: true },
845
+ { no: 25, name: "fir_count", kind: "scalar", T: 13, req: true },
846
+ { no: 26, name: "pli_count", kind: "scalar", T: 13, req: true },
847
+ { no: 27, name: "encoder_implementation", kind: "scalar", T: 9, req: true },
848
+ { no: 28, name: "power_efficient_encoder", kind: "scalar", T: 8, req: true },
849
+ { no: 29, name: "active", kind: "scalar", T: 8, req: true },
850
+ { no: 30, name: "scalability_mode", kind: "scalar", T: 9, req: true }
851
+ ]);
852
+ let OutboundRtpStreamStats = _OutboundRtpStreamStats;
853
+ const _RemoteInboundRtpStreamStats = class _RemoteInboundRtpStreamStats extends Message {
854
+ constructor(data) {
855
+ super();
856
+ proto2.util.initPartial(data, this);
857
+ }
858
+ static fromBinary(bytes, options) {
859
+ return new _RemoteInboundRtpStreamStats().fromBinary(bytes, options);
860
+ }
861
+ static fromJson(jsonValue, options) {
862
+ return new _RemoteInboundRtpStreamStats().fromJson(jsonValue, options);
863
+ }
864
+ static fromJsonString(jsonString, options) {
865
+ return new _RemoteInboundRtpStreamStats().fromJsonString(jsonString, options);
866
+ }
867
+ static equals(a, b) {
868
+ return proto2.util.equals(_RemoteInboundRtpStreamStats, a, b);
869
+ }
870
+ };
871
+ _RemoteInboundRtpStreamStats.runtime = proto2;
872
+ _RemoteInboundRtpStreamStats.typeName = "livekit.proto.RemoteInboundRtpStreamStats";
873
+ _RemoteInboundRtpStreamStats.fields = proto2.util.newFieldList(() => [
874
+ { no: 1, name: "local_id", kind: "scalar", T: 9, req: true },
875
+ { no: 2, name: "round_trip_time", kind: "scalar", T: 1, req: true },
876
+ { no: 3, name: "total_round_trip_time", kind: "scalar", T: 1, req: true },
877
+ { no: 4, name: "fraction_lost", kind: "scalar", T: 1, req: true },
878
+ { no: 5, name: "round_trip_time_measurements", kind: "scalar", T: 4, req: true }
879
+ ]);
880
+ let RemoteInboundRtpStreamStats = _RemoteInboundRtpStreamStats;
881
+ const _RemoteOutboundRtpStreamStats = class _RemoteOutboundRtpStreamStats extends Message {
882
+ constructor(data) {
883
+ super();
884
+ proto2.util.initPartial(data, this);
885
+ }
886
+ static fromBinary(bytes, options) {
887
+ return new _RemoteOutboundRtpStreamStats().fromBinary(bytes, options);
888
+ }
889
+ static fromJson(jsonValue, options) {
890
+ return new _RemoteOutboundRtpStreamStats().fromJson(jsonValue, options);
891
+ }
892
+ static fromJsonString(jsonString, options) {
893
+ return new _RemoteOutboundRtpStreamStats().fromJsonString(jsonString, options);
894
+ }
895
+ static equals(a, b) {
896
+ return proto2.util.equals(_RemoteOutboundRtpStreamStats, a, b);
897
+ }
898
+ };
899
+ _RemoteOutboundRtpStreamStats.runtime = proto2;
900
+ _RemoteOutboundRtpStreamStats.typeName = "livekit.proto.RemoteOutboundRtpStreamStats";
901
+ _RemoteOutboundRtpStreamStats.fields = proto2.util.newFieldList(() => [
902
+ { no: 1, name: "local_id", kind: "scalar", T: 9, req: true },
903
+ { no: 2, name: "remote_timestamp", kind: "scalar", T: 1, req: true },
904
+ { no: 3, name: "reports_sent", kind: "scalar", T: 4, req: true },
905
+ { no: 4, name: "round_trip_time", kind: "scalar", T: 1, req: true },
906
+ { no: 5, name: "total_round_trip_time", kind: "scalar", T: 1, req: true },
907
+ { no: 6, name: "round_trip_time_measurements", kind: "scalar", T: 4, req: true }
908
+ ]);
909
+ let RemoteOutboundRtpStreamStats = _RemoteOutboundRtpStreamStats;
910
+ const _MediaSourceStats = class _MediaSourceStats extends Message {
911
+ constructor(data) {
912
+ super();
913
+ proto2.util.initPartial(data, this);
914
+ }
915
+ static fromBinary(bytes, options) {
916
+ return new _MediaSourceStats().fromBinary(bytes, options);
917
+ }
918
+ static fromJson(jsonValue, options) {
919
+ return new _MediaSourceStats().fromJson(jsonValue, options);
920
+ }
921
+ static fromJsonString(jsonString, options) {
922
+ return new _MediaSourceStats().fromJsonString(jsonString, options);
923
+ }
924
+ static equals(a, b) {
925
+ return proto2.util.equals(_MediaSourceStats, a, b);
926
+ }
927
+ };
928
+ _MediaSourceStats.runtime = proto2;
929
+ _MediaSourceStats.typeName = "livekit.proto.MediaSourceStats";
930
+ _MediaSourceStats.fields = proto2.util.newFieldList(() => [
931
+ { no: 1, name: "track_identifier", kind: "scalar", T: 9, req: true },
932
+ { no: 2, name: "kind", kind: "scalar", T: 9, req: true }
933
+ ]);
934
+ let MediaSourceStats = _MediaSourceStats;
935
+ const _AudioSourceStats = class _AudioSourceStats extends Message {
936
+ constructor(data) {
937
+ super();
938
+ proto2.util.initPartial(data, this);
939
+ }
940
+ static fromBinary(bytes, options) {
941
+ return new _AudioSourceStats().fromBinary(bytes, options);
942
+ }
943
+ static fromJson(jsonValue, options) {
944
+ return new _AudioSourceStats().fromJson(jsonValue, options);
945
+ }
946
+ static fromJsonString(jsonString, options) {
947
+ return new _AudioSourceStats().fromJsonString(jsonString, options);
948
+ }
949
+ static equals(a, b) {
950
+ return proto2.util.equals(_AudioSourceStats, a, b);
951
+ }
952
+ };
953
+ _AudioSourceStats.runtime = proto2;
954
+ _AudioSourceStats.typeName = "livekit.proto.AudioSourceStats";
955
+ _AudioSourceStats.fields = proto2.util.newFieldList(() => [
956
+ { no: 1, name: "audio_level", kind: "scalar", T: 1, req: true },
957
+ { no: 2, name: "total_audio_energy", kind: "scalar", T: 1, req: true },
958
+ { no: 3, name: "total_samples_duration", kind: "scalar", T: 1, req: true },
959
+ { no: 4, name: "echo_return_loss", kind: "scalar", T: 1, req: true },
960
+ { no: 5, name: "echo_return_loss_enhancement", kind: "scalar", T: 1, req: true },
961
+ { no: 6, name: "dropped_samples_duration", kind: "scalar", T: 1, req: true },
962
+ { no: 7, name: "dropped_samples_events", kind: "scalar", T: 13, req: true },
963
+ { no: 8, name: "total_capture_delay", kind: "scalar", T: 1, req: true },
964
+ { no: 9, name: "total_samples_captured", kind: "scalar", T: 4, req: true }
965
+ ]);
966
+ let AudioSourceStats = _AudioSourceStats;
967
+ const _VideoSourceStats = class _VideoSourceStats extends Message {
968
+ constructor(data) {
969
+ super();
970
+ proto2.util.initPartial(data, this);
971
+ }
972
+ static fromBinary(bytes, options) {
973
+ return new _VideoSourceStats().fromBinary(bytes, options);
974
+ }
975
+ static fromJson(jsonValue, options) {
976
+ return new _VideoSourceStats().fromJson(jsonValue, options);
977
+ }
978
+ static fromJsonString(jsonString, options) {
979
+ return new _VideoSourceStats().fromJsonString(jsonString, options);
980
+ }
981
+ static equals(a, b) {
982
+ return proto2.util.equals(_VideoSourceStats, a, b);
983
+ }
984
+ };
985
+ _VideoSourceStats.runtime = proto2;
986
+ _VideoSourceStats.typeName = "livekit.proto.VideoSourceStats";
987
+ _VideoSourceStats.fields = proto2.util.newFieldList(() => [
988
+ { no: 1, name: "width", kind: "scalar", T: 13, req: true },
989
+ { no: 2, name: "height", kind: "scalar", T: 13, req: true },
990
+ { no: 3, name: "frames", kind: "scalar", T: 13, req: true },
991
+ { no: 4, name: "frames_per_second", kind: "scalar", T: 1, req: true }
992
+ ]);
993
+ let VideoSourceStats = _VideoSourceStats;
994
+ const _AudioPlayoutStats = class _AudioPlayoutStats extends Message {
995
+ constructor(data) {
996
+ super();
997
+ proto2.util.initPartial(data, this);
998
+ }
999
+ static fromBinary(bytes, options) {
1000
+ return new _AudioPlayoutStats().fromBinary(bytes, options);
1001
+ }
1002
+ static fromJson(jsonValue, options) {
1003
+ return new _AudioPlayoutStats().fromJson(jsonValue, options);
1004
+ }
1005
+ static fromJsonString(jsonString, options) {
1006
+ return new _AudioPlayoutStats().fromJsonString(jsonString, options);
1007
+ }
1008
+ static equals(a, b) {
1009
+ return proto2.util.equals(_AudioPlayoutStats, a, b);
1010
+ }
1011
+ };
1012
+ _AudioPlayoutStats.runtime = proto2;
1013
+ _AudioPlayoutStats.typeName = "livekit.proto.AudioPlayoutStats";
1014
+ _AudioPlayoutStats.fields = proto2.util.newFieldList(() => [
1015
+ { no: 1, name: "kind", kind: "scalar", T: 9, req: true },
1016
+ { no: 2, name: "synthesized_samples_duration", kind: "scalar", T: 1, req: true },
1017
+ { no: 3, name: "synthesized_samples_events", kind: "scalar", T: 13, req: true },
1018
+ { no: 4, name: "total_samples_duration", kind: "scalar", T: 1, req: true },
1019
+ { no: 5, name: "total_playout_delay", kind: "scalar", T: 1, req: true },
1020
+ { no: 6, name: "total_samples_count", kind: "scalar", T: 4, req: true }
1021
+ ]);
1022
+ let AudioPlayoutStats = _AudioPlayoutStats;
1023
+ const _PeerConnectionStats = class _PeerConnectionStats extends Message {
1024
+ constructor(data) {
1025
+ super();
1026
+ proto2.util.initPartial(data, this);
1027
+ }
1028
+ static fromBinary(bytes, options) {
1029
+ return new _PeerConnectionStats().fromBinary(bytes, options);
1030
+ }
1031
+ static fromJson(jsonValue, options) {
1032
+ return new _PeerConnectionStats().fromJson(jsonValue, options);
1033
+ }
1034
+ static fromJsonString(jsonString, options) {
1035
+ return new _PeerConnectionStats().fromJsonString(jsonString, options);
1036
+ }
1037
+ static equals(a, b) {
1038
+ return proto2.util.equals(_PeerConnectionStats, a, b);
1039
+ }
1040
+ };
1041
+ _PeerConnectionStats.runtime = proto2;
1042
+ _PeerConnectionStats.typeName = "livekit.proto.PeerConnectionStats";
1043
+ _PeerConnectionStats.fields = proto2.util.newFieldList(() => [
1044
+ { no: 1, name: "data_channels_opened", kind: "scalar", T: 13, req: true },
1045
+ { no: 2, name: "data_channels_closed", kind: "scalar", T: 13, req: true }
1046
+ ]);
1047
+ let PeerConnectionStats = _PeerConnectionStats;
1048
+ const _DataChannelStats = class _DataChannelStats extends Message {
1049
+ constructor(data) {
1050
+ super();
1051
+ proto2.util.initPartial(data, this);
1052
+ }
1053
+ static fromBinary(bytes, options) {
1054
+ return new _DataChannelStats().fromBinary(bytes, options);
1055
+ }
1056
+ static fromJson(jsonValue, options) {
1057
+ return new _DataChannelStats().fromJson(jsonValue, options);
1058
+ }
1059
+ static fromJsonString(jsonString, options) {
1060
+ return new _DataChannelStats().fromJsonString(jsonString, options);
1061
+ }
1062
+ static equals(a, b) {
1063
+ return proto2.util.equals(_DataChannelStats, a, b);
1064
+ }
1065
+ };
1066
+ _DataChannelStats.runtime = proto2;
1067
+ _DataChannelStats.typeName = "livekit.proto.DataChannelStats";
1068
+ _DataChannelStats.fields = proto2.util.newFieldList(() => [
1069
+ { no: 1, name: "label", kind: "scalar", T: 9, req: true },
1070
+ { no: 2, name: "protocol", kind: "scalar", T: 9, req: true },
1071
+ { no: 3, name: "data_channel_identifier", kind: "scalar", T: 5, req: true },
1072
+ { no: 4, name: "state", kind: "enum", T: proto2.getEnumType(DataChannelState), opt: true },
1073
+ { no: 5, name: "messages_sent", kind: "scalar", T: 13, req: true },
1074
+ { no: 6, name: "bytes_sent", kind: "scalar", T: 4, req: true },
1075
+ { no: 7, name: "messages_received", kind: "scalar", T: 13, req: true },
1076
+ { no: 8, name: "bytes_received", kind: "scalar", T: 4, req: true }
1077
+ ]);
1078
+ let DataChannelStats = _DataChannelStats;
1079
+ const _TransportStats = class _TransportStats extends Message {
1080
+ constructor(data) {
1081
+ super();
1082
+ proto2.util.initPartial(data, this);
1083
+ }
1084
+ static fromBinary(bytes, options) {
1085
+ return new _TransportStats().fromBinary(bytes, options);
1086
+ }
1087
+ static fromJson(jsonValue, options) {
1088
+ return new _TransportStats().fromJson(jsonValue, options);
1089
+ }
1090
+ static fromJsonString(jsonString, options) {
1091
+ return new _TransportStats().fromJsonString(jsonString, options);
1092
+ }
1093
+ static equals(a, b) {
1094
+ return proto2.util.equals(_TransportStats, a, b);
1095
+ }
1096
+ };
1097
+ _TransportStats.runtime = proto2;
1098
+ _TransportStats.typeName = "livekit.proto.TransportStats";
1099
+ _TransportStats.fields = proto2.util.newFieldList(() => [
1100
+ { no: 1, name: "packets_sent", kind: "scalar", T: 4, req: true },
1101
+ { no: 2, name: "packets_received", kind: "scalar", T: 4, req: true },
1102
+ { no: 3, name: "bytes_sent", kind: "scalar", T: 4, req: true },
1103
+ { no: 4, name: "bytes_received", kind: "scalar", T: 4, req: true },
1104
+ { no: 5, name: "ice_role", kind: "enum", T: proto2.getEnumType(IceRole), req: true },
1105
+ { no: 6, name: "ice_local_username_fragment", kind: "scalar", T: 9, req: true },
1106
+ { no: 7, name: "dtls_state", kind: "enum", T: proto2.getEnumType(DtlsTransportState), opt: true },
1107
+ { no: 8, name: "ice_state", kind: "enum", T: proto2.getEnumType(IceTransportState), opt: true },
1108
+ { no: 9, name: "selected_candidate_pair_id", kind: "scalar", T: 9, req: true },
1109
+ { no: 10, name: "local_certificate_id", kind: "scalar", T: 9, req: true },
1110
+ { no: 11, name: "remote_certificate_id", kind: "scalar", T: 9, req: true },
1111
+ { no: 12, name: "tls_version", kind: "scalar", T: 9, req: true },
1112
+ { no: 13, name: "dtls_cipher", kind: "scalar", T: 9, req: true },
1113
+ { no: 14, name: "dtls_role", kind: "enum", T: proto2.getEnumType(DtlsRole), req: true },
1114
+ { no: 15, name: "srtp_cipher", kind: "scalar", T: 9, req: true },
1115
+ { no: 16, name: "selected_candidate_pair_changes", kind: "scalar", T: 13, req: true }
1116
+ ]);
1117
+ let TransportStats = _TransportStats;
1118
+ const _CandidatePairStats = class _CandidatePairStats extends Message {
1119
+ constructor(data) {
1120
+ super();
1121
+ proto2.util.initPartial(data, this);
1122
+ }
1123
+ static fromBinary(bytes, options) {
1124
+ return new _CandidatePairStats().fromBinary(bytes, options);
1125
+ }
1126
+ static fromJson(jsonValue, options) {
1127
+ return new _CandidatePairStats().fromJson(jsonValue, options);
1128
+ }
1129
+ static fromJsonString(jsonString, options) {
1130
+ return new _CandidatePairStats().fromJsonString(jsonString, options);
1131
+ }
1132
+ static equals(a, b) {
1133
+ return proto2.util.equals(_CandidatePairStats, a, b);
1134
+ }
1135
+ };
1136
+ _CandidatePairStats.runtime = proto2;
1137
+ _CandidatePairStats.typeName = "livekit.proto.CandidatePairStats";
1138
+ _CandidatePairStats.fields = proto2.util.newFieldList(() => [
1139
+ { no: 1, name: "transport_id", kind: "scalar", T: 9, req: true },
1140
+ { no: 2, name: "local_candidate_id", kind: "scalar", T: 9, req: true },
1141
+ { no: 3, name: "remote_candidate_id", kind: "scalar", T: 9, req: true },
1142
+ { no: 4, name: "state", kind: "enum", T: proto2.getEnumType(IceCandidatePairState), opt: true },
1143
+ { no: 5, name: "nominated", kind: "scalar", T: 8, req: true },
1144
+ { no: 6, name: "packets_sent", kind: "scalar", T: 4, req: true },
1145
+ { no: 7, name: "packets_received", kind: "scalar", T: 4, req: true },
1146
+ { no: 8, name: "bytes_sent", kind: "scalar", T: 4, req: true },
1147
+ { no: 9, name: "bytes_received", kind: "scalar", T: 4, req: true },
1148
+ { no: 10, name: "last_packet_sent_timestamp", kind: "scalar", T: 1, req: true },
1149
+ { no: 11, name: "last_packet_received_timestamp", kind: "scalar", T: 1, req: true },
1150
+ { no: 12, name: "total_round_trip_time", kind: "scalar", T: 1, req: true },
1151
+ { no: 13, name: "current_round_trip_time", kind: "scalar", T: 1, req: true },
1152
+ { no: 14, name: "available_outgoing_bitrate", kind: "scalar", T: 1, req: true },
1153
+ { no: 15, name: "available_incoming_bitrate", kind: "scalar", T: 1, req: true },
1154
+ { no: 16, name: "requests_received", kind: "scalar", T: 4, req: true },
1155
+ { no: 17, name: "requests_sent", kind: "scalar", T: 4, req: true },
1156
+ { no: 18, name: "responses_received", kind: "scalar", T: 4, req: true },
1157
+ { no: 19, name: "responses_sent", kind: "scalar", T: 4, req: true },
1158
+ { no: 20, name: "consent_requests_sent", kind: "scalar", T: 4, req: true },
1159
+ { no: 21, name: "packets_discarded_on_send", kind: "scalar", T: 13, req: true },
1160
+ { no: 22, name: "bytes_discarded_on_send", kind: "scalar", T: 4, req: true }
1161
+ ]);
1162
+ let CandidatePairStats = _CandidatePairStats;
1163
+ const _IceCandidateStats = class _IceCandidateStats extends Message {
1164
+ constructor(data) {
1165
+ super();
1166
+ proto2.util.initPartial(data, this);
1167
+ }
1168
+ static fromBinary(bytes, options) {
1169
+ return new _IceCandidateStats().fromBinary(bytes, options);
1170
+ }
1171
+ static fromJson(jsonValue, options) {
1172
+ return new _IceCandidateStats().fromJson(jsonValue, options);
1173
+ }
1174
+ static fromJsonString(jsonString, options) {
1175
+ return new _IceCandidateStats().fromJsonString(jsonString, options);
1176
+ }
1177
+ static equals(a, b) {
1178
+ return proto2.util.equals(_IceCandidateStats, a, b);
1179
+ }
1180
+ };
1181
+ _IceCandidateStats.runtime = proto2;
1182
+ _IceCandidateStats.typeName = "livekit.proto.IceCandidateStats";
1183
+ _IceCandidateStats.fields = proto2.util.newFieldList(() => [
1184
+ { no: 1, name: "transport_id", kind: "scalar", T: 9, req: true },
1185
+ { no: 2, name: "address", kind: "scalar", T: 9, req: true },
1186
+ { no: 3, name: "port", kind: "scalar", T: 5, req: true },
1187
+ { no: 4, name: "protocol", kind: "scalar", T: 9, req: true },
1188
+ { no: 5, name: "candidate_type", kind: "enum", T: proto2.getEnumType(IceCandidateType), opt: true },
1189
+ { no: 6, name: "priority", kind: "scalar", T: 5, req: true },
1190
+ { no: 7, name: "url", kind: "scalar", T: 9, req: true },
1191
+ { no: 8, name: "relay_protocol", kind: "enum", T: proto2.getEnumType(IceServerTransportProtocol), opt: true },
1192
+ { no: 9, name: "foundation", kind: "scalar", T: 9, req: true },
1193
+ { no: 10, name: "related_address", kind: "scalar", T: 9, req: true },
1194
+ { no: 11, name: "related_port", kind: "scalar", T: 5, req: true },
1195
+ { no: 12, name: "username_fragment", kind: "scalar", T: 9, req: true },
1196
+ { no: 13, name: "tcp_type", kind: "enum", T: proto2.getEnumType(IceTcpCandidateType), opt: true }
1197
+ ]);
1198
+ let IceCandidateStats = _IceCandidateStats;
1199
+ const _CertificateStats = class _CertificateStats extends Message {
1200
+ constructor(data) {
1201
+ super();
1202
+ proto2.util.initPartial(data, this);
1203
+ }
1204
+ static fromBinary(bytes, options) {
1205
+ return new _CertificateStats().fromBinary(bytes, options);
1206
+ }
1207
+ static fromJson(jsonValue, options) {
1208
+ return new _CertificateStats().fromJson(jsonValue, options);
1209
+ }
1210
+ static fromJsonString(jsonString, options) {
1211
+ return new _CertificateStats().fromJsonString(jsonString, options);
1212
+ }
1213
+ static equals(a, b) {
1214
+ return proto2.util.equals(_CertificateStats, a, b);
1215
+ }
1216
+ };
1217
+ _CertificateStats.runtime = proto2;
1218
+ _CertificateStats.typeName = "livekit.proto.CertificateStats";
1219
+ _CertificateStats.fields = proto2.util.newFieldList(() => [
1220
+ { no: 1, name: "fingerprint", kind: "scalar", T: 9, req: true },
1221
+ { no: 2, name: "fingerprint_algorithm", kind: "scalar", T: 9, req: true },
1222
+ { no: 3, name: "base64_certificate", kind: "scalar", T: 9, req: true },
1223
+ { no: 4, name: "issuer_certificate_id", kind: "scalar", T: 9, req: true }
1224
+ ]);
1225
+ let CertificateStats = _CertificateStats;
1226
+ const _StreamStats = class _StreamStats extends Message {
1227
+ constructor(data) {
1228
+ super();
1229
+ proto2.util.initPartial(data, this);
1230
+ }
1231
+ static fromBinary(bytes, options) {
1232
+ return new _StreamStats().fromBinary(bytes, options);
1233
+ }
1234
+ static fromJson(jsonValue, options) {
1235
+ return new _StreamStats().fromJson(jsonValue, options);
1236
+ }
1237
+ static fromJsonString(jsonString, options) {
1238
+ return new _StreamStats().fromJsonString(jsonString, options);
1239
+ }
1240
+ static equals(a, b) {
1241
+ return proto2.util.equals(_StreamStats, a, b);
1242
+ }
1243
+ };
1244
+ _StreamStats.runtime = proto2;
1245
+ _StreamStats.typeName = "livekit.proto.StreamStats";
1246
+ _StreamStats.fields = proto2.util.newFieldList(() => [
1247
+ { no: 1, name: "id", kind: "scalar", T: 9, req: true },
1248
+ { no: 2, name: "stream_identifier", kind: "scalar", T: 9, req: true }
1249
+ ]);
1250
+ let StreamStats = _StreamStats;
119
1251
  export {
120
- AudioPlayoutStatsSchema,
121
- AudioSourceStatsSchema,
122
- CandidatePairStatsSchema,
123
- CertificateStatsSchema,
124
- CodecStatsSchema,
1252
+ AudioPlayoutStats,
1253
+ AudioSourceStats,
1254
+ CandidatePairStats,
1255
+ CertificateStats,
1256
+ CodecStats,
125
1257
  DataChannelState,
126
- DataChannelStateSchema,
127
- DataChannelStatsSchema,
1258
+ DataChannelStats,
128
1259
  DtlsRole,
129
- DtlsRoleSchema,
130
1260
  DtlsTransportState,
131
- DtlsTransportStateSchema,
132
1261
  IceCandidatePairState,
133
- IceCandidatePairStateSchema,
134
- IceCandidateStatsSchema,
1262
+ IceCandidateStats,
135
1263
  IceCandidateType,
136
- IceCandidateTypeSchema,
137
1264
  IceRole,
138
- IceRoleSchema,
139
1265
  IceServerTransportProtocol,
140
- IceServerTransportProtocolSchema,
141
1266
  IceTcpCandidateType,
142
- IceTcpCandidateTypeSchema,
143
1267
  IceTransportState,
144
- IceTransportStateSchema,
145
- InboundRtpStreamStatsSchema,
146
- MediaSourceStatsSchema,
147
- OutboundRtpStreamStatsSchema,
148
- PeerConnectionStatsSchema,
1268
+ InboundRtpStreamStats,
1269
+ MediaSourceStats,
1270
+ OutboundRtpStreamStats,
1271
+ PeerConnectionStats,
149
1272
  QualityLimitationReason,
150
- QualityLimitationReasonSchema,
151
- ReceivedRtpStreamStatsSchema,
152
- RemoteInboundRtpStreamStatsSchema,
153
- RemoteOutboundRtpStreamStatsSchema,
154
- RtcStatsDataSchema,
155
- RtcStatsSchema,
156
- RtcStats_CandidatePairSchema,
157
- RtcStats_CertificateSchema,
158
- RtcStats_CodecSchema,
159
- RtcStats_DataChannelSchema,
160
- RtcStats_InboundRtpSchema,
161
- RtcStats_LocalCandidateSchema,
162
- RtcStats_MediaPlayoutSchema,
163
- RtcStats_MediaSourceSchema,
164
- RtcStats_OutboundRtpSchema,
165
- RtcStats_PeerConnectionSchema,
166
- RtcStats_RemoteCandidateSchema,
167
- RtcStats_RemoteInboundRtpSchema,
168
- RtcStats_RemoteOutboundRtpSchema,
169
- RtcStats_TrackSchema,
170
- RtcStats_TransportSchema,
171
- RtpStreamStatsSchema,
172
- SentRtpStreamStatsSchema,
173
- TransportStatsSchema,
174
- VideoSourceStatsSchema,
175
- file_stats
1273
+ ReceivedRtpStreamStats,
1274
+ RemoteInboundRtpStreamStats,
1275
+ RemoteOutboundRtpStreamStats,
1276
+ RtcStats,
1277
+ RtcStatsData,
1278
+ RtcStats_CandidatePair,
1279
+ RtcStats_Certificate,
1280
+ RtcStats_Codec,
1281
+ RtcStats_DataChannel,
1282
+ RtcStats_InboundRtp,
1283
+ RtcStats_LocalCandidate,
1284
+ RtcStats_MediaPlayout,
1285
+ RtcStats_MediaSource,
1286
+ RtcStats_OutboundRtp,
1287
+ RtcStats_PeerConnection,
1288
+ RtcStats_RemoteCandidate,
1289
+ RtcStats_RemoteInboundRtp,
1290
+ RtcStats_RemoteOutboundRtp,
1291
+ RtcStats_Stream,
1292
+ RtcStats_Track,
1293
+ RtcStats_Transport,
1294
+ RtpStreamStats,
1295
+ SentRtpStreamStats,
1296
+ StreamStats,
1297
+ TransportStats,
1298
+ VideoSourceStats
176
1299
  };
177
1300
  //# sourceMappingURL=stats_pb.js.map