@livekit/rtc-node 0.13.23 → 0.13.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. package/dist/audio_filter.cjs +2 -2
  2. package/dist/audio_filter.cjs.map +1 -1
  3. package/dist/audio_filter.js +1 -1
  4. package/dist/audio_filter.js.map +1 -1
  5. package/dist/audio_frame.cjs +11 -7
  6. package/dist/audio_frame.cjs.map +1 -1
  7. package/dist/audio_frame.d.cts +3 -8
  8. package/dist/audio_frame.d.ts +3 -8
  9. package/dist/audio_frame.d.ts.map +1 -1
  10. package/dist/audio_frame.js +10 -6
  11. package/dist/audio_frame.js.map +1 -1
  12. package/dist/audio_mixer.cjs +11 -4
  13. package/dist/audio_mixer.cjs.map +1 -1
  14. package/dist/audio_mixer.d.cts +1 -6
  15. package/dist/audio_mixer.d.ts +1 -6
  16. package/dist/audio_mixer.d.ts.map +1 -1
  17. package/dist/audio_mixer.js +11 -4
  18. package/dist/audio_mixer.js.map +1 -1
  19. package/dist/audio_resampler.cjs +20 -12
  20. package/dist/audio_resampler.cjs.map +1 -1
  21. package/dist/audio_resampler.d.cts +6 -6
  22. package/dist/audio_resampler.d.ts +6 -6
  23. package/dist/audio_resampler.d.ts.map +1 -1
  24. package/dist/audio_resampler.js +12 -4
  25. package/dist/audio_resampler.js.map +1 -1
  26. package/dist/audio_source.cjs +11 -7
  27. package/dist/audio_source.cjs.map +1 -1
  28. package/dist/audio_source.d.cts +1 -7
  29. package/dist/audio_source.d.ts +1 -7
  30. package/dist/audio_source.d.ts.map +1 -1
  31. package/dist/audio_source.js +8 -3
  32. package/dist/audio_source.js.map +1 -1
  33. package/dist/audio_stream.cjs +17 -5
  34. package/dist/audio_stream.cjs.map +1 -1
  35. package/dist/audio_stream.d.cts +1 -14
  36. package/dist/audio_stream.d.ts +1 -14
  37. package/dist/audio_stream.d.ts.map +1 -1
  38. package/dist/audio_stream.js +16 -4
  39. package/dist/audio_stream.js.map +1 -1
  40. package/dist/data_streams/index.d.cts +2 -10
  41. package/dist/data_streams/index.d.ts +2 -10
  42. package/dist/data_streams/stream_reader.cjs +8 -0
  43. package/dist/data_streams/stream_reader.cjs.map +1 -1
  44. package/dist/data_streams/stream_reader.d.cts +2 -10
  45. package/dist/data_streams/stream_reader.d.ts +2 -10
  46. package/dist/data_streams/stream_reader.d.ts.map +1 -1
  47. package/dist/data_streams/stream_reader.js +8 -0
  48. package/dist/data_streams/stream_reader.js.map +1 -1
  49. package/dist/data_streams/stream_writer.d.cts +2 -10
  50. package/dist/data_streams/stream_writer.d.ts +2 -10
  51. package/dist/data_streams/types.cjs.map +1 -1
  52. package/dist/data_streams/types.d.cts +2 -10
  53. package/dist/data_streams/types.d.ts +2 -10
  54. package/dist/data_streams/types.d.ts.map +1 -1
  55. package/dist/e2ee.cjs +21 -21
  56. package/dist/e2ee.cjs.map +1 -1
  57. package/dist/e2ee.d.cts +1 -2
  58. package/dist/e2ee.d.ts +1 -2
  59. package/dist/e2ee.d.ts.map +1 -1
  60. package/dist/e2ee.js +2 -2
  61. package/dist/e2ee.js.map +1 -1
  62. package/dist/ffi_client.cjs +11 -12
  63. package/dist/ffi_client.cjs.map +1 -1
  64. package/dist/ffi_client.d.cts +3 -16
  65. package/dist/ffi_client.d.ts +3 -16
  66. package/dist/ffi_client.d.ts.map +1 -1
  67. package/dist/ffi_client.js +5 -3
  68. package/dist/ffi_client.js.map +1 -1
  69. package/dist/frame_processor.cjs +13 -2
  70. package/dist/frame_processor.cjs.map +1 -1
  71. package/dist/frame_processor.d.cts +5 -8
  72. package/dist/frame_processor.d.ts +5 -8
  73. package/dist/frame_processor.d.ts.map +1 -1
  74. package/dist/frame_processor.js +10 -1
  75. package/dist/frame_processor.js.map +1 -1
  76. package/dist/index.cjs +25 -23
  77. package/dist/index.cjs.map +1 -1
  78. package/dist/index.d.cts +3 -16
  79. package/dist/index.d.ts +3 -16
  80. package/dist/index.d.ts.map +1 -1
  81. package/dist/index.js +9 -7
  82. package/dist/index.js.map +1 -1
  83. package/dist/log.cjs +1 -10
  84. package/dist/log.cjs.map +1 -1
  85. package/dist/log.d.cts +4 -0
  86. package/dist/log.d.ts +4 -0
  87. package/dist/log.d.ts.map +1 -1
  88. package/dist/log.js +1 -10
  89. package/dist/log.js.map +1 -1
  90. package/dist/participant.cjs +38 -38
  91. package/dist/participant.cjs.map +1 -1
  92. package/dist/participant.d.cts +2 -15
  93. package/dist/participant.d.ts +2 -15
  94. package/dist/participant.d.ts.map +1 -1
  95. package/dist/participant.js +12 -12
  96. package/dist/participant.js.map +1 -1
  97. package/dist/room.cjs +48 -30
  98. package/dist/room.cjs.map +1 -1
  99. package/dist/room.d.cts +11 -16
  100. package/dist/room.d.ts +11 -16
  101. package/dist/room.d.ts.map +1 -1
  102. package/dist/room.js +44 -26
  103. package/dist/room.js.map +1 -1
  104. package/dist/rpc.cjs.map +1 -1
  105. package/dist/rpc.d.cts +1 -2
  106. package/dist/rpc.d.ts +1 -2
  107. package/dist/rpc.d.ts.map +1 -1
  108. package/dist/rpc.js.map +1 -1
  109. package/dist/{stream_reader-Ch2zvjU3.d.cts → stream_reader-CuG4b8Y-.d.cts} +1 -1
  110. package/dist/{stream_reader-DRyR29vo.d.ts → stream_reader-CuG4b8Y-.d.ts} +1 -1
  111. package/dist/track.cjs +3 -3
  112. package/dist/track.cjs.map +1 -1
  113. package/dist/track.d.cts +1 -14
  114. package/dist/track.d.ts +1 -14
  115. package/dist/track.d.ts.map +1 -1
  116. package/dist/track.js +1 -1
  117. package/dist/track.js.map +1 -1
  118. package/dist/track_publication.cjs +4 -4
  119. package/dist/track_publication.cjs.map +1 -1
  120. package/dist/track_publication.d.cts +1 -14
  121. package/dist/track_publication.d.ts +1 -14
  122. package/dist/track_publication.d.ts.map +1 -1
  123. package/dist/track_publication.js +2 -2
  124. package/dist/track_publication.js.map +1 -1
  125. package/dist/version.cjs +1 -1
  126. package/dist/version.cjs.map +1 -1
  127. package/dist/version.d.cts +1 -1
  128. package/dist/version.d.ts +1 -1
  129. package/dist/version.js +1 -1
  130. package/dist/version.js.map +1 -1
  131. package/dist/video_frame.cjs +42 -42
  132. package/dist/video_frame.cjs.map +1 -1
  133. package/dist/video_frame.d.cts +1 -6
  134. package/dist/video_frame.d.ts +1 -6
  135. package/dist/video_frame.d.ts.map +1 -1
  136. package/dist/video_frame.js +2 -2
  137. package/dist/video_frame.js.map +1 -1
  138. package/dist/video_source.cjs +5 -5
  139. package/dist/video_source.cjs.map +1 -1
  140. package/dist/video_source.d.cts +1 -14
  141. package/dist/video_source.d.ts +1 -14
  142. package/dist/video_source.d.ts.map +1 -1
  143. package/dist/video_source.js +2 -2
  144. package/dist/video_source.js.map +1 -1
  145. package/dist/video_stream.cjs +12 -4
  146. package/dist/video_stream.cjs.map +1 -1
  147. package/dist/video_stream.d.cts +1 -14
  148. package/dist/video_stream.d.ts +1 -14
  149. package/dist/video_stream.d.ts.map +1 -1
  150. package/dist/video_stream.js +10 -2
  151. package/dist/video_stream.js.map +1 -1
  152. package/package.json +9 -35
  153. package/src/audio_filter.ts +2 -2
  154. package/src/audio_frame.ts +26 -7
  155. package/src/audio_mixer.ts +15 -4
  156. package/src/audio_resampler.ts +14 -4
  157. package/src/audio_source.ts +13 -5
  158. package/src/audio_stream.ts +21 -5
  159. package/src/data_streams/stream_reader.ts +19 -1
  160. package/src/data_streams/types.ts +1 -1
  161. package/src/e2ee.ts +3 -3
  162. package/src/ffi_client.ts +7 -5
  163. package/src/frame_processor.ts +21 -0
  164. package/src/index.ts +6 -5
  165. package/src/log.ts +14 -10
  166. package/src/participant.ts +17 -17
  167. package/src/room.ts +65 -38
  168. package/src/rpc.ts +1 -1
  169. package/src/tests/e2e.test.ts +517 -0
  170. package/src/track.ts +4 -4
  171. package/src/track_publication.ts +6 -6
  172. package/src/version.ts +1 -1
  173. package/src/video_frame.ts +3 -3
  174. package/src/video_source.ts +3 -3
  175. package/src/video_stream.ts +15 -3
  176. package/Cargo.toml +0 -25
  177. package/build.rs +0 -9
  178. package/dist/napi/native.cjs +0 -301
  179. package/dist/napi/native.d.cjs +0 -17
  180. package/dist/napi/native.d.cjs.map +0 -1
  181. package/dist/napi/native.d.d.cts +0 -21
  182. package/dist/napi/native.d.d.ts +0 -21
  183. package/dist/napi/native.d.js +0 -1
  184. package/dist/napi/native.d.js.map +0 -1
  185. package/dist/napi/native.d.ts +0 -19
  186. package/dist/napi/native.js +0 -15
  187. package/dist/native.cjs +0 -301
  188. package/dist/native.d.ts +0 -19
  189. package/dist/native.js +0 -15
  190. package/dist/proto/audio_frame_pb.cjs +0 -1357
  191. package/dist/proto/audio_frame_pb.cjs.map +0 -1
  192. package/dist/proto/audio_frame_pb.d.cts +0 -1183
  193. package/dist/proto/audio_frame_pb.d.ts +0 -1183
  194. package/dist/proto/audio_frame_pb.d.ts.map +0 -1
  195. package/dist/proto/audio_frame_pb.js +0 -1283
  196. package/dist/proto/audio_frame_pb.js.map +0 -1
  197. package/dist/proto/data_stream_pb.cjs +0 -1638
  198. package/dist/proto/data_stream_pb.cjs.map +0 -1
  199. package/dist/proto/data_stream_pb.d.cts +0 -1449
  200. package/dist/proto/data_stream_pb.d.ts +0 -1449
  201. package/dist/proto/data_stream_pb.d.ts.map +0 -1
  202. package/dist/proto/data_stream_pb.js +0 -1559
  203. package/dist/proto/data_stream_pb.js.map +0 -1
  204. package/dist/proto/e2ee_pb.cjs +0 -746
  205. package/dist/proto/e2ee_pb.cjs.map +0 -1
  206. package/dist/proto/e2ee_pb.d.cts +0 -653
  207. package/dist/proto/e2ee_pb.d.ts +0 -653
  208. package/dist/proto/e2ee_pb.d.ts.map +0 -1
  209. package/dist/proto/e2ee_pb.js +0 -696
  210. package/dist/proto/e2ee_pb.js.map +0 -1
  211. package/dist/proto/ffi_pb.cjs +0 -477
  212. package/dist/proto/ffi_pb.cjs.map +0 -1
  213. package/dist/proto/ffi_pb.d.cts +0 -1321
  214. package/dist/proto/ffi_pb.d.ts +0 -1321
  215. package/dist/proto/ffi_pb.d.ts.map +0 -1
  216. package/dist/proto/ffi_pb.js +0 -444
  217. package/dist/proto/ffi_pb.js.map +0 -1
  218. package/dist/proto/handle_pb.cjs +0 -53
  219. package/dist/proto/handle_pb.cjs.map +0 -1
  220. package/dist/proto/handle_pb.d.cts +0 -31
  221. package/dist/proto/handle_pb.d.ts +0 -31
  222. package/dist/proto/handle_pb.d.ts.map +0 -1
  223. package/dist/proto/handle_pb.js +0 -29
  224. package/dist/proto/handle_pb.js.map +0 -1
  225. package/dist/proto/participant_pb.cjs +0 -173
  226. package/dist/proto/participant_pb.cjs.map +0 -1
  227. package/dist/proto/participant_pb.d.cts +0 -218
  228. package/dist/proto/participant_pb.d.ts +0 -218
  229. package/dist/proto/participant_pb.d.ts.map +0 -1
  230. package/dist/proto/participant_pb.js +0 -145
  231. package/dist/proto/participant_pb.js.map +0 -1
  232. package/dist/proto/room_pb.cjs +0 -3374
  233. package/dist/proto/room_pb.cjs.map +0 -1
  234. package/dist/proto/room_pb.d.cts +0 -3028
  235. package/dist/proto/room_pb.d.ts +0 -3028
  236. package/dist/proto/room_pb.d.ts.map +0 -1
  237. package/dist/proto/room_pb.js +0 -3232
  238. package/dist/proto/room_pb.js.map +0 -1
  239. package/dist/proto/rpc_pb.cjs +0 -328
  240. package/dist/proto/rpc_pb.cjs.map +0 -1
  241. package/dist/proto/rpc_pb.d.cts +0 -267
  242. package/dist/proto/rpc_pb.d.ts +0 -267
  243. package/dist/proto/rpc_pb.d.ts.map +0 -1
  244. package/dist/proto/rpc_pb.js +0 -294
  245. package/dist/proto/rpc_pb.js.map +0 -1
  246. package/dist/proto/stats_pb.cjs +0 -1370
  247. package/dist/proto/stats_pb.cjs.map +0 -1
  248. package/dist/proto/stats_pb.d.cts +0 -1764
  249. package/dist/proto/stats_pb.d.ts +0 -1764
  250. package/dist/proto/stats_pb.d.ts.map +0 -1
  251. package/dist/proto/stats_pb.js +0 -1300
  252. package/dist/proto/stats_pb.js.map +0 -1
  253. package/dist/proto/track_pb.cjs +0 -630
  254. package/dist/proto/track_pb.cjs.map +0 -1
  255. package/dist/proto/track_pb.d.cts +0 -542
  256. package/dist/proto/track_pb.d.ts +0 -542
  257. package/dist/proto/track_pb.d.ts.map +0 -1
  258. package/dist/proto/track_pb.js +0 -584
  259. package/dist/proto/track_pb.js.map +0 -1
  260. package/dist/proto/track_publication_pb.cjs +0 -194
  261. package/dist/proto/track_publication_pb.cjs.map +0 -1
  262. package/dist/proto/track_publication_pb.d.cts +0 -135
  263. package/dist/proto/track_publication_pb.d.ts +0 -135
  264. package/dist/proto/track_publication_pb.d.ts.map +0 -1
  265. package/dist/proto/track_publication_pb.js +0 -164
  266. package/dist/proto/track_publication_pb.js.map +0 -1
  267. package/dist/proto/video_frame_pb.cjs +0 -723
  268. package/dist/proto/video_frame_pb.cjs.map +0 -1
  269. package/dist/proto/video_frame_pb.d.cts +0 -667
  270. package/dist/proto/video_frame_pb.d.ts +0 -667
  271. package/dist/proto/video_frame_pb.d.ts.map +0 -1
  272. package/dist/proto/video_frame_pb.js +0 -673
  273. package/dist/proto/video_frame_pb.js.map +0 -1
  274. package/src/lib.rs +0 -9
  275. package/src/napi/native.cjs +0 -301
  276. package/src/napi/native.d.ts +0 -19
  277. package/src/napi/native.js +0 -15
  278. package/src/nodejs.rs +0 -134
  279. package/src/proto/audio_frame_pb.ts +0 -2270
  280. package/src/proto/data_stream_pb.ts +0 -2674
  281. package/src/proto/e2ee_pb.ts +0 -1231
  282. package/src/proto/ffi_pb.ts +0 -1700
  283. package/src/proto/handle_pb.ts +0 -69
  284. package/src/proto/participant_pb.ts +0 -351
  285. package/src/proto/room_pb.ts +0 -5661
  286. package/src/proto/rpc_pb.ts +0 -539
  287. package/src/proto/stats_pb.ts +0 -3050
  288. package/src/proto/track_pb.ts +0 -1040
  289. package/src/proto/track_publication_pb.ts +0 -284
  290. package/src/proto/video_frame_pb.ts +0 -1236
@@ -1,1764 +0,0 @@
1
- import { Message, PartialMessage, proto2, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
2
-
3
- /**
4
- * @generated from enum livekit.proto.DataChannelState
5
- */
6
- declare enum DataChannelState {
7
- /**
8
- * @generated from enum value: DC_CONNECTING = 0;
9
- */
10
- DC_CONNECTING = 0,
11
- /**
12
- * @generated from enum value: DC_OPEN = 1;
13
- */
14
- DC_OPEN = 1,
15
- /**
16
- * @generated from enum value: DC_CLOSING = 2;
17
- */
18
- DC_CLOSING = 2,
19
- /**
20
- * @generated from enum value: DC_CLOSED = 3;
21
- */
22
- DC_CLOSED = 3
23
- }
24
- /**
25
- * @generated from enum livekit.proto.QualityLimitationReason
26
- */
27
- declare enum QualityLimitationReason {
28
- /**
29
- * @generated from enum value: LIMITATION_NONE = 0;
30
- */
31
- LIMITATION_NONE = 0,
32
- /**
33
- * @generated from enum value: LIMITATION_CPU = 1;
34
- */
35
- LIMITATION_CPU = 1,
36
- /**
37
- * @generated from enum value: LIMITATION_BANDWIDTH = 2;
38
- */
39
- LIMITATION_BANDWIDTH = 2,
40
- /**
41
- * @generated from enum value: LIMITATION_OTHER = 3;
42
- */
43
- LIMITATION_OTHER = 3
44
- }
45
- /**
46
- * @generated from enum livekit.proto.IceRole
47
- */
48
- declare enum IceRole {
49
- /**
50
- * @generated from enum value: ICE_UNKNOWN = 0;
51
- */
52
- ICE_UNKNOWN = 0,
53
- /**
54
- * @generated from enum value: ICE_CONTROLLING = 1;
55
- */
56
- ICE_CONTROLLING = 1,
57
- /**
58
- * @generated from enum value: ICE_CONTROLLED = 2;
59
- */
60
- ICE_CONTROLLED = 2
61
- }
62
- /**
63
- * @generated from enum livekit.proto.DtlsTransportState
64
- */
65
- declare enum DtlsTransportState {
66
- /**
67
- * @generated from enum value: DTLS_TRANSPORT_NEW = 0;
68
- */
69
- DTLS_TRANSPORT_NEW = 0,
70
- /**
71
- * @generated from enum value: DTLS_TRANSPORT_CONNECTING = 1;
72
- */
73
- DTLS_TRANSPORT_CONNECTING = 1,
74
- /**
75
- * @generated from enum value: DTLS_TRANSPORT_CONNECTED = 2;
76
- */
77
- DTLS_TRANSPORT_CONNECTED = 2,
78
- /**
79
- * @generated from enum value: DTLS_TRANSPORT_CLOSED = 3;
80
- */
81
- DTLS_TRANSPORT_CLOSED = 3,
82
- /**
83
- * @generated from enum value: DTLS_TRANSPORT_FAILED = 4;
84
- */
85
- DTLS_TRANSPORT_FAILED = 4
86
- }
87
- /**
88
- * @generated from enum livekit.proto.IceTransportState
89
- */
90
- declare enum IceTransportState {
91
- /**
92
- * @generated from enum value: ICE_TRANSPORT_NEW = 0;
93
- */
94
- ICE_TRANSPORT_NEW = 0,
95
- /**
96
- * @generated from enum value: ICE_TRANSPORT_CHECKING = 1;
97
- */
98
- ICE_TRANSPORT_CHECKING = 1,
99
- /**
100
- * @generated from enum value: ICE_TRANSPORT_CONNECTED = 2;
101
- */
102
- ICE_TRANSPORT_CONNECTED = 2,
103
- /**
104
- * @generated from enum value: ICE_TRANSPORT_COMPLETED = 3;
105
- */
106
- ICE_TRANSPORT_COMPLETED = 3,
107
- /**
108
- * @generated from enum value: ICE_TRANSPORT_DISCONNECTED = 4;
109
- */
110
- ICE_TRANSPORT_DISCONNECTED = 4,
111
- /**
112
- * @generated from enum value: ICE_TRANSPORT_FAILED = 5;
113
- */
114
- ICE_TRANSPORT_FAILED = 5,
115
- /**
116
- * @generated from enum value: ICE_TRANSPORT_CLOSED = 6;
117
- */
118
- ICE_TRANSPORT_CLOSED = 6
119
- }
120
- /**
121
- * @generated from enum livekit.proto.DtlsRole
122
- */
123
- declare enum DtlsRole {
124
- /**
125
- * @generated from enum value: DTLS_CLIENT = 0;
126
- */
127
- DTLS_CLIENT = 0,
128
- /**
129
- * @generated from enum value: DTLS_SERVER = 1;
130
- */
131
- DTLS_SERVER = 1,
132
- /**
133
- * @generated from enum value: DTLS_UNKNOWN = 2;
134
- */
135
- DTLS_UNKNOWN = 2
136
- }
137
- /**
138
- * @generated from enum livekit.proto.IceCandidatePairState
139
- */
140
- declare enum IceCandidatePairState {
141
- /**
142
- * @generated from enum value: PAIR_FROZEN = 0;
143
- */
144
- PAIR_FROZEN = 0,
145
- /**
146
- * @generated from enum value: PAIR_WAITING = 1;
147
- */
148
- PAIR_WAITING = 1,
149
- /**
150
- * @generated from enum value: PAIR_IN_PROGRESS = 2;
151
- */
152
- PAIR_IN_PROGRESS = 2,
153
- /**
154
- * @generated from enum value: PAIR_FAILED = 3;
155
- */
156
- PAIR_FAILED = 3,
157
- /**
158
- * @generated from enum value: PAIR_SUCCEEDED = 4;
159
- */
160
- PAIR_SUCCEEDED = 4
161
- }
162
- /**
163
- * @generated from enum livekit.proto.IceCandidateType
164
- */
165
- declare enum IceCandidateType {
166
- /**
167
- * @generated from enum value: HOST = 0;
168
- */
169
- HOST = 0,
170
- /**
171
- * @generated from enum value: SRFLX = 1;
172
- */
173
- SRFLX = 1,
174
- /**
175
- * @generated from enum value: PRFLX = 2;
176
- */
177
- PRFLX = 2,
178
- /**
179
- * @generated from enum value: RELAY = 3;
180
- */
181
- RELAY = 3
182
- }
183
- /**
184
- * @generated from enum livekit.proto.IceServerTransportProtocol
185
- */
186
- declare enum IceServerTransportProtocol {
187
- /**
188
- * @generated from enum value: TRANSPORT_UDP = 0;
189
- */
190
- TRANSPORT_UDP = 0,
191
- /**
192
- * @generated from enum value: TRANSPORT_TCP = 1;
193
- */
194
- TRANSPORT_TCP = 1,
195
- /**
196
- * @generated from enum value: TRANSPORT_TLS = 2;
197
- */
198
- TRANSPORT_TLS = 2
199
- }
200
- /**
201
- * @generated from enum livekit.proto.IceTcpCandidateType
202
- */
203
- declare enum IceTcpCandidateType {
204
- /**
205
- * @generated from enum value: CANDIDATE_ACTIVE = 0;
206
- */
207
- CANDIDATE_ACTIVE = 0,
208
- /**
209
- * @generated from enum value: CANDIDATE_PASSIVE = 1;
210
- */
211
- CANDIDATE_PASSIVE = 1,
212
- /**
213
- * @generated from enum value: CANDIDATE_SO = 2;
214
- */
215
- CANDIDATE_SO = 2
216
- }
217
- /**
218
- * @generated from message livekit.proto.RtcStats
219
- */
220
- declare class RtcStats extends Message<RtcStats> {
221
- /**
222
- * @generated from oneof livekit.proto.RtcStats.stats
223
- */
224
- stats: {
225
- /**
226
- * @generated from field: livekit.proto.RtcStats.Codec codec = 3;
227
- */
228
- value: RtcStats_Codec;
229
- case: "codec";
230
- } | {
231
- /**
232
- * @generated from field: livekit.proto.RtcStats.InboundRtp inbound_rtp = 4;
233
- */
234
- value: RtcStats_InboundRtp;
235
- case: "inboundRtp";
236
- } | {
237
- /**
238
- * @generated from field: livekit.proto.RtcStats.OutboundRtp outbound_rtp = 5;
239
- */
240
- value: RtcStats_OutboundRtp;
241
- case: "outboundRtp";
242
- } | {
243
- /**
244
- * @generated from field: livekit.proto.RtcStats.RemoteInboundRtp remote_inbound_rtp = 6;
245
- */
246
- value: RtcStats_RemoteInboundRtp;
247
- case: "remoteInboundRtp";
248
- } | {
249
- /**
250
- * @generated from field: livekit.proto.RtcStats.RemoteOutboundRtp remote_outbound_rtp = 7;
251
- */
252
- value: RtcStats_RemoteOutboundRtp;
253
- case: "remoteOutboundRtp";
254
- } | {
255
- /**
256
- * @generated from field: livekit.proto.RtcStats.MediaSource media_source = 8;
257
- */
258
- value: RtcStats_MediaSource;
259
- case: "mediaSource";
260
- } | {
261
- /**
262
- * @generated from field: livekit.proto.RtcStats.MediaPlayout media_playout = 9;
263
- */
264
- value: RtcStats_MediaPlayout;
265
- case: "mediaPlayout";
266
- } | {
267
- /**
268
- * @generated from field: livekit.proto.RtcStats.PeerConnection peer_connection = 10;
269
- */
270
- value: RtcStats_PeerConnection;
271
- case: "peerConnection";
272
- } | {
273
- /**
274
- * @generated from field: livekit.proto.RtcStats.DataChannel data_channel = 11;
275
- */
276
- value: RtcStats_DataChannel;
277
- case: "dataChannel";
278
- } | {
279
- /**
280
- * @generated from field: livekit.proto.RtcStats.Transport transport = 12;
281
- */
282
- value: RtcStats_Transport;
283
- case: "transport";
284
- } | {
285
- /**
286
- * @generated from field: livekit.proto.RtcStats.CandidatePair candidate_pair = 13;
287
- */
288
- value: RtcStats_CandidatePair;
289
- case: "candidatePair";
290
- } | {
291
- /**
292
- * @generated from field: livekit.proto.RtcStats.LocalCandidate local_candidate = 14;
293
- */
294
- value: RtcStats_LocalCandidate;
295
- case: "localCandidate";
296
- } | {
297
- /**
298
- * @generated from field: livekit.proto.RtcStats.RemoteCandidate remote_candidate = 15;
299
- */
300
- value: RtcStats_RemoteCandidate;
301
- case: "remoteCandidate";
302
- } | {
303
- /**
304
- * @generated from field: livekit.proto.RtcStats.Certificate certificate = 16;
305
- */
306
- value: RtcStats_Certificate;
307
- case: "certificate";
308
- } | {
309
- /**
310
- * @generated from field: livekit.proto.RtcStats.Stream stream = 17;
311
- */
312
- value: RtcStats_Stream;
313
- case: "stream";
314
- } | {
315
- /**
316
- * @generated from field: livekit.proto.RtcStats.Track track = 18;
317
- */
318
- value: RtcStats_Track;
319
- case: "track";
320
- } | {
321
- case: undefined;
322
- value?: undefined;
323
- };
324
- constructor(data?: PartialMessage<RtcStats>);
325
- static readonly runtime: typeof proto2;
326
- static readonly typeName = "livekit.proto.RtcStats";
327
- static readonly fields: FieldList;
328
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats;
329
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats;
330
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats;
331
- static equals(a: RtcStats | PlainMessage<RtcStats> | undefined, b: RtcStats | PlainMessage<RtcStats> | undefined): boolean;
332
- }
333
- /**
334
- * @generated from message livekit.proto.RtcStats.Codec
335
- */
336
- declare class RtcStats_Codec extends Message<RtcStats_Codec> {
337
- /**
338
- * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
339
- */
340
- rtc?: RtcStatsData;
341
- /**
342
- * @generated from field: required livekit.proto.CodecStats codec = 2;
343
- */
344
- codec?: CodecStats;
345
- constructor(data?: PartialMessage<RtcStats_Codec>);
346
- static readonly runtime: typeof proto2;
347
- static readonly typeName = "livekit.proto.RtcStats.Codec";
348
- static readonly fields: FieldList;
349
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_Codec;
350
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_Codec;
351
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_Codec;
352
- static equals(a: RtcStats_Codec | PlainMessage<RtcStats_Codec> | undefined, b: RtcStats_Codec | PlainMessage<RtcStats_Codec> | undefined): boolean;
353
- }
354
- /**
355
- * @generated from message livekit.proto.RtcStats.InboundRtp
356
- */
357
- declare class RtcStats_InboundRtp extends Message<RtcStats_InboundRtp> {
358
- /**
359
- * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
360
- */
361
- rtc?: RtcStatsData;
362
- /**
363
- * @generated from field: required livekit.proto.RtpStreamStats stream = 2;
364
- */
365
- stream?: RtpStreamStats;
366
- /**
367
- * @generated from field: required livekit.proto.ReceivedRtpStreamStats received = 3;
368
- */
369
- received?: ReceivedRtpStreamStats;
370
- /**
371
- * @generated from field: required livekit.proto.InboundRtpStreamStats inbound = 4;
372
- */
373
- inbound?: InboundRtpStreamStats;
374
- constructor(data?: PartialMessage<RtcStats_InboundRtp>);
375
- static readonly runtime: typeof proto2;
376
- static readonly typeName = "livekit.proto.RtcStats.InboundRtp";
377
- static readonly fields: FieldList;
378
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_InboundRtp;
379
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_InboundRtp;
380
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_InboundRtp;
381
- static equals(a: RtcStats_InboundRtp | PlainMessage<RtcStats_InboundRtp> | undefined, b: RtcStats_InboundRtp | PlainMessage<RtcStats_InboundRtp> | undefined): boolean;
382
- }
383
- /**
384
- * @generated from message livekit.proto.RtcStats.OutboundRtp
385
- */
386
- declare class RtcStats_OutboundRtp extends Message<RtcStats_OutboundRtp> {
387
- /**
388
- * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
389
- */
390
- rtc?: RtcStatsData;
391
- /**
392
- * @generated from field: required livekit.proto.RtpStreamStats stream = 2;
393
- */
394
- stream?: RtpStreamStats;
395
- /**
396
- * @generated from field: required livekit.proto.SentRtpStreamStats sent = 3;
397
- */
398
- sent?: SentRtpStreamStats;
399
- /**
400
- * @generated from field: required livekit.proto.OutboundRtpStreamStats outbound = 4;
401
- */
402
- outbound?: OutboundRtpStreamStats;
403
- constructor(data?: PartialMessage<RtcStats_OutboundRtp>);
404
- static readonly runtime: typeof proto2;
405
- static readonly typeName = "livekit.proto.RtcStats.OutboundRtp";
406
- static readonly fields: FieldList;
407
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_OutboundRtp;
408
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_OutboundRtp;
409
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_OutboundRtp;
410
- static equals(a: RtcStats_OutboundRtp | PlainMessage<RtcStats_OutboundRtp> | undefined, b: RtcStats_OutboundRtp | PlainMessage<RtcStats_OutboundRtp> | undefined): boolean;
411
- }
412
- /**
413
- * @generated from message livekit.proto.RtcStats.RemoteInboundRtp
414
- */
415
- declare class RtcStats_RemoteInboundRtp extends Message<RtcStats_RemoteInboundRtp> {
416
- /**
417
- * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
418
- */
419
- rtc?: RtcStatsData;
420
- /**
421
- * @generated from field: required livekit.proto.RtpStreamStats stream = 2;
422
- */
423
- stream?: RtpStreamStats;
424
- /**
425
- * @generated from field: required livekit.proto.ReceivedRtpStreamStats received = 3;
426
- */
427
- received?: ReceivedRtpStreamStats;
428
- /**
429
- * @generated from field: required livekit.proto.RemoteInboundRtpStreamStats remote_inbound = 4;
430
- */
431
- remoteInbound?: RemoteInboundRtpStreamStats;
432
- constructor(data?: PartialMessage<RtcStats_RemoteInboundRtp>);
433
- static readonly runtime: typeof proto2;
434
- static readonly typeName = "livekit.proto.RtcStats.RemoteInboundRtp";
435
- static readonly fields: FieldList;
436
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_RemoteInboundRtp;
437
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_RemoteInboundRtp;
438
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_RemoteInboundRtp;
439
- static equals(a: RtcStats_RemoteInboundRtp | PlainMessage<RtcStats_RemoteInboundRtp> | undefined, b: RtcStats_RemoteInboundRtp | PlainMessage<RtcStats_RemoteInboundRtp> | undefined): boolean;
440
- }
441
- /**
442
- * @generated from message livekit.proto.RtcStats.RemoteOutboundRtp
443
- */
444
- declare class RtcStats_RemoteOutboundRtp extends Message<RtcStats_RemoteOutboundRtp> {
445
- /**
446
- * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
447
- */
448
- rtc?: RtcStatsData;
449
- /**
450
- * @generated from field: required livekit.proto.RtpStreamStats stream = 2;
451
- */
452
- stream?: RtpStreamStats;
453
- /**
454
- * @generated from field: required livekit.proto.SentRtpStreamStats sent = 3;
455
- */
456
- sent?: SentRtpStreamStats;
457
- /**
458
- * @generated from field: required livekit.proto.RemoteOutboundRtpStreamStats remote_outbound = 4;
459
- */
460
- remoteOutbound?: RemoteOutboundRtpStreamStats;
461
- constructor(data?: PartialMessage<RtcStats_RemoteOutboundRtp>);
462
- static readonly runtime: typeof proto2;
463
- static readonly typeName = "livekit.proto.RtcStats.RemoteOutboundRtp";
464
- static readonly fields: FieldList;
465
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_RemoteOutboundRtp;
466
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_RemoteOutboundRtp;
467
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_RemoteOutboundRtp;
468
- static equals(a: RtcStats_RemoteOutboundRtp | PlainMessage<RtcStats_RemoteOutboundRtp> | undefined, b: RtcStats_RemoteOutboundRtp | PlainMessage<RtcStats_RemoteOutboundRtp> | undefined): boolean;
469
- }
470
- /**
471
- * @generated from message livekit.proto.RtcStats.MediaSource
472
- */
473
- declare class RtcStats_MediaSource extends Message<RtcStats_MediaSource> {
474
- /**
475
- * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
476
- */
477
- rtc?: RtcStatsData;
478
- /**
479
- * @generated from field: required livekit.proto.MediaSourceStats source = 2;
480
- */
481
- source?: MediaSourceStats;
482
- /**
483
- * @generated from field: required livekit.proto.AudioSourceStats audio = 3;
484
- */
485
- audio?: AudioSourceStats;
486
- /**
487
- * @generated from field: required livekit.proto.VideoSourceStats video = 4;
488
- */
489
- video?: VideoSourceStats;
490
- constructor(data?: PartialMessage<RtcStats_MediaSource>);
491
- static readonly runtime: typeof proto2;
492
- static readonly typeName = "livekit.proto.RtcStats.MediaSource";
493
- static readonly fields: FieldList;
494
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_MediaSource;
495
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_MediaSource;
496
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_MediaSource;
497
- static equals(a: RtcStats_MediaSource | PlainMessage<RtcStats_MediaSource> | undefined, b: RtcStats_MediaSource | PlainMessage<RtcStats_MediaSource> | undefined): boolean;
498
- }
499
- /**
500
- * @generated from message livekit.proto.RtcStats.MediaPlayout
501
- */
502
- declare class RtcStats_MediaPlayout extends Message<RtcStats_MediaPlayout> {
503
- /**
504
- * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
505
- */
506
- rtc?: RtcStatsData;
507
- /**
508
- * @generated from field: required livekit.proto.AudioPlayoutStats audio_playout = 2;
509
- */
510
- audioPlayout?: AudioPlayoutStats;
511
- constructor(data?: PartialMessage<RtcStats_MediaPlayout>);
512
- static readonly runtime: typeof proto2;
513
- static readonly typeName = "livekit.proto.RtcStats.MediaPlayout";
514
- static readonly fields: FieldList;
515
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_MediaPlayout;
516
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_MediaPlayout;
517
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_MediaPlayout;
518
- static equals(a: RtcStats_MediaPlayout | PlainMessage<RtcStats_MediaPlayout> | undefined, b: RtcStats_MediaPlayout | PlainMessage<RtcStats_MediaPlayout> | undefined): boolean;
519
- }
520
- /**
521
- * @generated from message livekit.proto.RtcStats.PeerConnection
522
- */
523
- declare class RtcStats_PeerConnection extends Message<RtcStats_PeerConnection> {
524
- /**
525
- * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
526
- */
527
- rtc?: RtcStatsData;
528
- /**
529
- * @generated from field: required livekit.proto.PeerConnectionStats pc = 2;
530
- */
531
- pc?: PeerConnectionStats;
532
- constructor(data?: PartialMessage<RtcStats_PeerConnection>);
533
- static readonly runtime: typeof proto2;
534
- static readonly typeName = "livekit.proto.RtcStats.PeerConnection";
535
- static readonly fields: FieldList;
536
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_PeerConnection;
537
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_PeerConnection;
538
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_PeerConnection;
539
- static equals(a: RtcStats_PeerConnection | PlainMessage<RtcStats_PeerConnection> | undefined, b: RtcStats_PeerConnection | PlainMessage<RtcStats_PeerConnection> | undefined): boolean;
540
- }
541
- /**
542
- * @generated from message livekit.proto.RtcStats.DataChannel
543
- */
544
- declare class RtcStats_DataChannel extends Message<RtcStats_DataChannel> {
545
- /**
546
- * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
547
- */
548
- rtc?: RtcStatsData;
549
- /**
550
- * @generated from field: required livekit.proto.DataChannelStats dc = 2;
551
- */
552
- dc?: DataChannelStats;
553
- constructor(data?: PartialMessage<RtcStats_DataChannel>);
554
- static readonly runtime: typeof proto2;
555
- static readonly typeName = "livekit.proto.RtcStats.DataChannel";
556
- static readonly fields: FieldList;
557
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_DataChannel;
558
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_DataChannel;
559
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_DataChannel;
560
- static equals(a: RtcStats_DataChannel | PlainMessage<RtcStats_DataChannel> | undefined, b: RtcStats_DataChannel | PlainMessage<RtcStats_DataChannel> | undefined): boolean;
561
- }
562
- /**
563
- * @generated from message livekit.proto.RtcStats.Transport
564
- */
565
- declare class RtcStats_Transport extends Message<RtcStats_Transport> {
566
- /**
567
- * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
568
- */
569
- rtc?: RtcStatsData;
570
- /**
571
- * @generated from field: required livekit.proto.TransportStats transport = 2;
572
- */
573
- transport?: TransportStats;
574
- constructor(data?: PartialMessage<RtcStats_Transport>);
575
- static readonly runtime: typeof proto2;
576
- static readonly typeName = "livekit.proto.RtcStats.Transport";
577
- static readonly fields: FieldList;
578
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_Transport;
579
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_Transport;
580
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_Transport;
581
- static equals(a: RtcStats_Transport | PlainMessage<RtcStats_Transport> | undefined, b: RtcStats_Transport | PlainMessage<RtcStats_Transport> | undefined): boolean;
582
- }
583
- /**
584
- * @generated from message livekit.proto.RtcStats.CandidatePair
585
- */
586
- declare class RtcStats_CandidatePair extends Message<RtcStats_CandidatePair> {
587
- /**
588
- * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
589
- */
590
- rtc?: RtcStatsData;
591
- /**
592
- * @generated from field: required livekit.proto.CandidatePairStats candidate_pair = 2;
593
- */
594
- candidatePair?: CandidatePairStats;
595
- constructor(data?: PartialMessage<RtcStats_CandidatePair>);
596
- static readonly runtime: typeof proto2;
597
- static readonly typeName = "livekit.proto.RtcStats.CandidatePair";
598
- static readonly fields: FieldList;
599
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_CandidatePair;
600
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_CandidatePair;
601
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_CandidatePair;
602
- static equals(a: RtcStats_CandidatePair | PlainMessage<RtcStats_CandidatePair> | undefined, b: RtcStats_CandidatePair | PlainMessage<RtcStats_CandidatePair> | undefined): boolean;
603
- }
604
- /**
605
- * @generated from message livekit.proto.RtcStats.LocalCandidate
606
- */
607
- declare class RtcStats_LocalCandidate extends Message<RtcStats_LocalCandidate> {
608
- /**
609
- * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
610
- */
611
- rtc?: RtcStatsData;
612
- /**
613
- * @generated from field: required livekit.proto.IceCandidateStats candidate = 2;
614
- */
615
- candidate?: IceCandidateStats;
616
- constructor(data?: PartialMessage<RtcStats_LocalCandidate>);
617
- static readonly runtime: typeof proto2;
618
- static readonly typeName = "livekit.proto.RtcStats.LocalCandidate";
619
- static readonly fields: FieldList;
620
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_LocalCandidate;
621
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_LocalCandidate;
622
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_LocalCandidate;
623
- static equals(a: RtcStats_LocalCandidate | PlainMessage<RtcStats_LocalCandidate> | undefined, b: RtcStats_LocalCandidate | PlainMessage<RtcStats_LocalCandidate> | undefined): boolean;
624
- }
625
- /**
626
- * @generated from message livekit.proto.RtcStats.RemoteCandidate
627
- */
628
- declare class RtcStats_RemoteCandidate extends Message<RtcStats_RemoteCandidate> {
629
- /**
630
- * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
631
- */
632
- rtc?: RtcStatsData;
633
- /**
634
- * @generated from field: required livekit.proto.IceCandidateStats candidate = 2;
635
- */
636
- candidate?: IceCandidateStats;
637
- constructor(data?: PartialMessage<RtcStats_RemoteCandidate>);
638
- static readonly runtime: typeof proto2;
639
- static readonly typeName = "livekit.proto.RtcStats.RemoteCandidate";
640
- static readonly fields: FieldList;
641
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_RemoteCandidate;
642
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_RemoteCandidate;
643
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_RemoteCandidate;
644
- static equals(a: RtcStats_RemoteCandidate | PlainMessage<RtcStats_RemoteCandidate> | undefined, b: RtcStats_RemoteCandidate | PlainMessage<RtcStats_RemoteCandidate> | undefined): boolean;
645
- }
646
- /**
647
- * @generated from message livekit.proto.RtcStats.Certificate
648
- */
649
- declare class RtcStats_Certificate extends Message<RtcStats_Certificate> {
650
- /**
651
- * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
652
- */
653
- rtc?: RtcStatsData;
654
- /**
655
- * @generated from field: required livekit.proto.CertificateStats certificate = 2;
656
- */
657
- certificate?: CertificateStats;
658
- constructor(data?: PartialMessage<RtcStats_Certificate>);
659
- static readonly runtime: typeof proto2;
660
- static readonly typeName = "livekit.proto.RtcStats.Certificate";
661
- static readonly fields: FieldList;
662
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_Certificate;
663
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_Certificate;
664
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_Certificate;
665
- static equals(a: RtcStats_Certificate | PlainMessage<RtcStats_Certificate> | undefined, b: RtcStats_Certificate | PlainMessage<RtcStats_Certificate> | undefined): boolean;
666
- }
667
- /**
668
- * @generated from message livekit.proto.RtcStats.Stream
669
- */
670
- declare class RtcStats_Stream extends Message<RtcStats_Stream> {
671
- /**
672
- * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
673
- */
674
- rtc?: RtcStatsData;
675
- /**
676
- * @generated from field: required livekit.proto.StreamStats stream = 2;
677
- */
678
- stream?: StreamStats;
679
- constructor(data?: PartialMessage<RtcStats_Stream>);
680
- static readonly runtime: typeof proto2;
681
- static readonly typeName = "livekit.proto.RtcStats.Stream";
682
- static readonly fields: FieldList;
683
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_Stream;
684
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_Stream;
685
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_Stream;
686
- static equals(a: RtcStats_Stream | PlainMessage<RtcStats_Stream> | undefined, b: RtcStats_Stream | PlainMessage<RtcStats_Stream> | undefined): boolean;
687
- }
688
- /**
689
- * Deprecated
690
- *
691
- * @generated from message livekit.proto.RtcStats.Track
692
- */
693
- declare class RtcStats_Track extends Message<RtcStats_Track> {
694
- constructor(data?: PartialMessage<RtcStats_Track>);
695
- static readonly runtime: typeof proto2;
696
- static readonly typeName = "livekit.proto.RtcStats.Track";
697
- static readonly fields: FieldList;
698
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_Track;
699
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_Track;
700
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_Track;
701
- static equals(a: RtcStats_Track | PlainMessage<RtcStats_Track> | undefined, b: RtcStats_Track | PlainMessage<RtcStats_Track> | undefined): boolean;
702
- }
703
- /**
704
- * @generated from message livekit.proto.RtcStatsData
705
- */
706
- declare class RtcStatsData extends Message<RtcStatsData> {
707
- /**
708
- * @generated from field: required string id = 1;
709
- */
710
- id?: string;
711
- /**
712
- * @generated from field: required int64 timestamp = 2;
713
- */
714
- timestamp?: bigint;
715
- constructor(data?: PartialMessage<RtcStatsData>);
716
- static readonly runtime: typeof proto2;
717
- static readonly typeName = "livekit.proto.RtcStatsData";
718
- static readonly fields: FieldList;
719
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStatsData;
720
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStatsData;
721
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStatsData;
722
- static equals(a: RtcStatsData | PlainMessage<RtcStatsData> | undefined, b: RtcStatsData | PlainMessage<RtcStatsData> | undefined): boolean;
723
- }
724
- /**
725
- * @generated from message livekit.proto.CodecStats
726
- */
727
- declare class CodecStats extends Message<CodecStats> {
728
- /**
729
- * @generated from field: required uint32 payload_type = 1;
730
- */
731
- payloadType?: number;
732
- /**
733
- * @generated from field: required string transport_id = 2;
734
- */
735
- transportId?: string;
736
- /**
737
- * @generated from field: required string mime_type = 3;
738
- */
739
- mimeType?: string;
740
- /**
741
- * @generated from field: required uint32 clock_rate = 4;
742
- */
743
- clockRate?: number;
744
- /**
745
- * @generated from field: required uint32 channels = 5;
746
- */
747
- channels?: number;
748
- /**
749
- * @generated from field: required string sdp_fmtp_line = 6;
750
- */
751
- sdpFmtpLine?: string;
752
- constructor(data?: PartialMessage<CodecStats>);
753
- static readonly runtime: typeof proto2;
754
- static readonly typeName = "livekit.proto.CodecStats";
755
- static readonly fields: FieldList;
756
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CodecStats;
757
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CodecStats;
758
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CodecStats;
759
- static equals(a: CodecStats | PlainMessage<CodecStats> | undefined, b: CodecStats | PlainMessage<CodecStats> | undefined): boolean;
760
- }
761
- /**
762
- * @generated from message livekit.proto.RtpStreamStats
763
- */
764
- declare class RtpStreamStats extends Message<RtpStreamStats> {
765
- /**
766
- * @generated from field: required uint32 ssrc = 1;
767
- */
768
- ssrc?: number;
769
- /**
770
- * @generated from field: required string kind = 2;
771
- */
772
- kind?: string;
773
- /**
774
- * @generated from field: required string transport_id = 3;
775
- */
776
- transportId?: string;
777
- /**
778
- * @generated from field: required string codec_id = 4;
779
- */
780
- codecId?: string;
781
- constructor(data?: PartialMessage<RtpStreamStats>);
782
- static readonly runtime: typeof proto2;
783
- static readonly typeName = "livekit.proto.RtpStreamStats";
784
- static readonly fields: FieldList;
785
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtpStreamStats;
786
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtpStreamStats;
787
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtpStreamStats;
788
- static equals(a: RtpStreamStats | PlainMessage<RtpStreamStats> | undefined, b: RtpStreamStats | PlainMessage<RtpStreamStats> | undefined): boolean;
789
- }
790
- /**
791
- * @generated from message livekit.proto.ReceivedRtpStreamStats
792
- */
793
- declare class ReceivedRtpStreamStats extends Message<ReceivedRtpStreamStats> {
794
- /**
795
- * @generated from field: required uint64 packets_received = 1;
796
- */
797
- packetsReceived?: bigint;
798
- /**
799
- * @generated from field: required int64 packets_lost = 2;
800
- */
801
- packetsLost?: bigint;
802
- /**
803
- * @generated from field: required double jitter = 3;
804
- */
805
- jitter?: number;
806
- constructor(data?: PartialMessage<ReceivedRtpStreamStats>);
807
- static readonly runtime: typeof proto2;
808
- static readonly typeName = "livekit.proto.ReceivedRtpStreamStats";
809
- static readonly fields: FieldList;
810
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReceivedRtpStreamStats;
811
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReceivedRtpStreamStats;
812
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReceivedRtpStreamStats;
813
- static equals(a: ReceivedRtpStreamStats | PlainMessage<ReceivedRtpStreamStats> | undefined, b: ReceivedRtpStreamStats | PlainMessage<ReceivedRtpStreamStats> | undefined): boolean;
814
- }
815
- /**
816
- * @generated from message livekit.proto.InboundRtpStreamStats
817
- */
818
- declare class InboundRtpStreamStats extends Message<InboundRtpStreamStats> {
819
- /**
820
- * @generated from field: required string track_identifier = 1;
821
- */
822
- trackIdentifier?: string;
823
- /**
824
- * @generated from field: required string mid = 2;
825
- */
826
- mid?: string;
827
- /**
828
- * @generated from field: required string remote_id = 3;
829
- */
830
- remoteId?: string;
831
- /**
832
- * @generated from field: required uint32 frames_decoded = 4;
833
- */
834
- framesDecoded?: number;
835
- /**
836
- * @generated from field: required uint32 key_frames_decoded = 5;
837
- */
838
- keyFramesDecoded?: number;
839
- /**
840
- * @generated from field: required uint32 frames_rendered = 6;
841
- */
842
- framesRendered?: number;
843
- /**
844
- * @generated from field: required uint32 frames_dropped = 7;
845
- */
846
- framesDropped?: number;
847
- /**
848
- * @generated from field: required uint32 frame_width = 8;
849
- */
850
- frameWidth?: number;
851
- /**
852
- * @generated from field: required uint32 frame_height = 9;
853
- */
854
- frameHeight?: number;
855
- /**
856
- * @generated from field: required double frames_per_second = 10;
857
- */
858
- framesPerSecond?: number;
859
- /**
860
- * @generated from field: required uint64 qp_sum = 11;
861
- */
862
- qpSum?: bigint;
863
- /**
864
- * @generated from field: required double total_decode_time = 12;
865
- */
866
- totalDecodeTime?: number;
867
- /**
868
- * @generated from field: required double total_inter_frame_delay = 13;
869
- */
870
- totalInterFrameDelay?: number;
871
- /**
872
- * @generated from field: required double total_squared_inter_frame_delay = 14;
873
- */
874
- totalSquaredInterFrameDelay?: number;
875
- /**
876
- * @generated from field: required uint32 pause_count = 15;
877
- */
878
- pauseCount?: number;
879
- /**
880
- * @generated from field: required double total_pause_duration = 16;
881
- */
882
- totalPauseDuration?: number;
883
- /**
884
- * @generated from field: required uint32 freeze_count = 17;
885
- */
886
- freezeCount?: number;
887
- /**
888
- * @generated from field: required double total_freeze_duration = 18;
889
- */
890
- totalFreezeDuration?: number;
891
- /**
892
- * @generated from field: required double last_packet_received_timestamp = 19;
893
- */
894
- lastPacketReceivedTimestamp?: number;
895
- /**
896
- * @generated from field: required uint64 header_bytes_received = 20;
897
- */
898
- headerBytesReceived?: bigint;
899
- /**
900
- * @generated from field: required uint64 packets_discarded = 21;
901
- */
902
- packetsDiscarded?: bigint;
903
- /**
904
- * @generated from field: required uint64 fec_bytes_received = 22;
905
- */
906
- fecBytesReceived?: bigint;
907
- /**
908
- * @generated from field: required uint64 fec_packets_received = 23;
909
- */
910
- fecPacketsReceived?: bigint;
911
- /**
912
- * @generated from field: required uint64 fec_packets_discarded = 24;
913
- */
914
- fecPacketsDiscarded?: bigint;
915
- /**
916
- * @generated from field: required uint64 bytes_received = 25;
917
- */
918
- bytesReceived?: bigint;
919
- /**
920
- * @generated from field: required uint32 nack_count = 26;
921
- */
922
- nackCount?: number;
923
- /**
924
- * @generated from field: required uint32 fir_count = 27;
925
- */
926
- firCount?: number;
927
- /**
928
- * @generated from field: required uint32 pli_count = 28;
929
- */
930
- pliCount?: number;
931
- /**
932
- * @generated from field: required double total_processing_delay = 29;
933
- */
934
- totalProcessingDelay?: number;
935
- /**
936
- * @generated from field: required double estimated_playout_timestamp = 30;
937
- */
938
- estimatedPlayoutTimestamp?: number;
939
- /**
940
- * @generated from field: required double jitter_buffer_delay = 31;
941
- */
942
- jitterBufferDelay?: number;
943
- /**
944
- * @generated from field: required double jitter_buffer_target_delay = 32;
945
- */
946
- jitterBufferTargetDelay?: number;
947
- /**
948
- * @generated from field: required uint64 jitter_buffer_emitted_count = 33;
949
- */
950
- jitterBufferEmittedCount?: bigint;
951
- /**
952
- * @generated from field: required double jitter_buffer_minimum_delay = 34;
953
- */
954
- jitterBufferMinimumDelay?: number;
955
- /**
956
- * @generated from field: required uint64 total_samples_received = 35;
957
- */
958
- totalSamplesReceived?: bigint;
959
- /**
960
- * @generated from field: required uint64 concealed_samples = 36;
961
- */
962
- concealedSamples?: bigint;
963
- /**
964
- * @generated from field: required uint64 silent_concealed_samples = 37;
965
- */
966
- silentConcealedSamples?: bigint;
967
- /**
968
- * @generated from field: required uint64 concealment_events = 38;
969
- */
970
- concealmentEvents?: bigint;
971
- /**
972
- * @generated from field: required uint64 inserted_samples_for_deceleration = 39;
973
- */
974
- insertedSamplesForDeceleration?: bigint;
975
- /**
976
- * @generated from field: required uint64 removed_samples_for_acceleration = 40;
977
- */
978
- removedSamplesForAcceleration?: bigint;
979
- /**
980
- * @generated from field: required double audio_level = 41;
981
- */
982
- audioLevel?: number;
983
- /**
984
- * @generated from field: required double total_audio_energy = 42;
985
- */
986
- totalAudioEnergy?: number;
987
- /**
988
- * @generated from field: required double total_samples_duration = 43;
989
- */
990
- totalSamplesDuration?: number;
991
- /**
992
- * @generated from field: required uint64 frames_received = 44;
993
- */
994
- framesReceived?: bigint;
995
- /**
996
- * @generated from field: required string decoder_implementation = 45;
997
- */
998
- decoderImplementation?: string;
999
- /**
1000
- * @generated from field: required string playout_id = 46;
1001
- */
1002
- playoutId?: string;
1003
- /**
1004
- * @generated from field: required bool power_efficient_decoder = 47;
1005
- */
1006
- powerEfficientDecoder?: boolean;
1007
- /**
1008
- * @generated from field: required uint64 frames_assembled_from_multiple_packets = 48;
1009
- */
1010
- framesAssembledFromMultiplePackets?: bigint;
1011
- /**
1012
- * @generated from field: required double total_assembly_time = 49;
1013
- */
1014
- totalAssemblyTime?: number;
1015
- /**
1016
- * @generated from field: required uint64 retransmitted_packets_received = 50;
1017
- */
1018
- retransmittedPacketsReceived?: bigint;
1019
- /**
1020
- * @generated from field: required uint64 retransmitted_bytes_received = 51;
1021
- */
1022
- retransmittedBytesReceived?: bigint;
1023
- /**
1024
- * @generated from field: required uint32 rtx_ssrc = 52;
1025
- */
1026
- rtxSsrc?: number;
1027
- /**
1028
- * @generated from field: required uint32 fec_ssrc = 53;
1029
- */
1030
- fecSsrc?: number;
1031
- constructor(data?: PartialMessage<InboundRtpStreamStats>);
1032
- static readonly runtime: typeof proto2;
1033
- static readonly typeName = "livekit.proto.InboundRtpStreamStats";
1034
- static readonly fields: FieldList;
1035
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InboundRtpStreamStats;
1036
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InboundRtpStreamStats;
1037
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InboundRtpStreamStats;
1038
- static equals(a: InboundRtpStreamStats | PlainMessage<InboundRtpStreamStats> | undefined, b: InboundRtpStreamStats | PlainMessage<InboundRtpStreamStats> | undefined): boolean;
1039
- }
1040
- /**
1041
- * @generated from message livekit.proto.SentRtpStreamStats
1042
- */
1043
- declare class SentRtpStreamStats extends Message<SentRtpStreamStats> {
1044
- /**
1045
- * @generated from field: required uint64 packets_sent = 1;
1046
- */
1047
- packetsSent?: bigint;
1048
- /**
1049
- * @generated from field: required uint64 bytes_sent = 2;
1050
- */
1051
- bytesSent?: bigint;
1052
- constructor(data?: PartialMessage<SentRtpStreamStats>);
1053
- static readonly runtime: typeof proto2;
1054
- static readonly typeName = "livekit.proto.SentRtpStreamStats";
1055
- static readonly fields: FieldList;
1056
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SentRtpStreamStats;
1057
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SentRtpStreamStats;
1058
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SentRtpStreamStats;
1059
- static equals(a: SentRtpStreamStats | PlainMessage<SentRtpStreamStats> | undefined, b: SentRtpStreamStats | PlainMessage<SentRtpStreamStats> | undefined): boolean;
1060
- }
1061
- /**
1062
- * @generated from message livekit.proto.OutboundRtpStreamStats
1063
- */
1064
- declare class OutboundRtpStreamStats extends Message<OutboundRtpStreamStats> {
1065
- /**
1066
- * @generated from field: required string mid = 1;
1067
- */
1068
- mid?: string;
1069
- /**
1070
- * @generated from field: required string media_source_id = 2;
1071
- */
1072
- mediaSourceId?: string;
1073
- /**
1074
- * @generated from field: required string remote_id = 3;
1075
- */
1076
- remoteId?: string;
1077
- /**
1078
- * @generated from field: required string rid = 4;
1079
- */
1080
- rid?: string;
1081
- /**
1082
- * @generated from field: required uint64 header_bytes_sent = 5;
1083
- */
1084
- headerBytesSent?: bigint;
1085
- /**
1086
- * @generated from field: required uint64 retransmitted_packets_sent = 6;
1087
- */
1088
- retransmittedPacketsSent?: bigint;
1089
- /**
1090
- * @generated from field: required uint64 retransmitted_bytes_sent = 7;
1091
- */
1092
- retransmittedBytesSent?: bigint;
1093
- /**
1094
- * @generated from field: required uint32 rtx_ssrc = 8;
1095
- */
1096
- rtxSsrc?: number;
1097
- /**
1098
- * @generated from field: required double target_bitrate = 9;
1099
- */
1100
- targetBitrate?: number;
1101
- /**
1102
- * @generated from field: required uint64 total_encoded_bytes_target = 10;
1103
- */
1104
- totalEncodedBytesTarget?: bigint;
1105
- /**
1106
- * @generated from field: required uint32 frame_width = 11;
1107
- */
1108
- frameWidth?: number;
1109
- /**
1110
- * @generated from field: required uint32 frame_height = 12;
1111
- */
1112
- frameHeight?: number;
1113
- /**
1114
- * @generated from field: required double frames_per_second = 13;
1115
- */
1116
- framesPerSecond?: number;
1117
- /**
1118
- * @generated from field: required uint32 frames_sent = 14;
1119
- */
1120
- framesSent?: number;
1121
- /**
1122
- * @generated from field: required uint32 huge_frames_sent = 15;
1123
- */
1124
- hugeFramesSent?: number;
1125
- /**
1126
- * @generated from field: required uint32 frames_encoded = 16;
1127
- */
1128
- framesEncoded?: number;
1129
- /**
1130
- * @generated from field: required uint32 key_frames_encoded = 17;
1131
- */
1132
- keyFramesEncoded?: number;
1133
- /**
1134
- * @generated from field: required uint64 qp_sum = 18;
1135
- */
1136
- qpSum?: bigint;
1137
- /**
1138
- * @generated from field: required double total_encode_time = 19;
1139
- */
1140
- totalEncodeTime?: number;
1141
- /**
1142
- * @generated from field: required double total_packet_send_delay = 20;
1143
- */
1144
- totalPacketSendDelay?: number;
1145
- /**
1146
- * @generated from field: required livekit.proto.QualityLimitationReason quality_limitation_reason = 21;
1147
- */
1148
- qualityLimitationReason?: QualityLimitationReason;
1149
- /**
1150
- * @generated from field: map<string, double> quality_limitation_durations = 22;
1151
- */
1152
- qualityLimitationDurations: {
1153
- [key: string]: number;
1154
- };
1155
- /**
1156
- * @generated from field: required uint32 quality_limitation_resolution_changes = 23;
1157
- */
1158
- qualityLimitationResolutionChanges?: number;
1159
- /**
1160
- * @generated from field: required uint32 nack_count = 24;
1161
- */
1162
- nackCount?: number;
1163
- /**
1164
- * @generated from field: required uint32 fir_count = 25;
1165
- */
1166
- firCount?: number;
1167
- /**
1168
- * @generated from field: required uint32 pli_count = 26;
1169
- */
1170
- pliCount?: number;
1171
- /**
1172
- * @generated from field: required string encoder_implementation = 27;
1173
- */
1174
- encoderImplementation?: string;
1175
- /**
1176
- * @generated from field: required bool power_efficient_encoder = 28;
1177
- */
1178
- powerEfficientEncoder?: boolean;
1179
- /**
1180
- * @generated from field: required bool active = 29;
1181
- */
1182
- active?: boolean;
1183
- /**
1184
- * @generated from field: required string scalability_mode = 30;
1185
- */
1186
- scalabilityMode?: string;
1187
- constructor(data?: PartialMessage<OutboundRtpStreamStats>);
1188
- static readonly runtime: typeof proto2;
1189
- static readonly typeName = "livekit.proto.OutboundRtpStreamStats";
1190
- static readonly fields: FieldList;
1191
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OutboundRtpStreamStats;
1192
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OutboundRtpStreamStats;
1193
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OutboundRtpStreamStats;
1194
- static equals(a: OutboundRtpStreamStats | PlainMessage<OutboundRtpStreamStats> | undefined, b: OutboundRtpStreamStats | PlainMessage<OutboundRtpStreamStats> | undefined): boolean;
1195
- }
1196
- /**
1197
- * @generated from message livekit.proto.RemoteInboundRtpStreamStats
1198
- */
1199
- declare class RemoteInboundRtpStreamStats extends Message<RemoteInboundRtpStreamStats> {
1200
- /**
1201
- * @generated from field: required string local_id = 1;
1202
- */
1203
- localId?: string;
1204
- /**
1205
- * @generated from field: required double round_trip_time = 2;
1206
- */
1207
- roundTripTime?: number;
1208
- /**
1209
- * @generated from field: required double total_round_trip_time = 3;
1210
- */
1211
- totalRoundTripTime?: number;
1212
- /**
1213
- * @generated from field: required double fraction_lost = 4;
1214
- */
1215
- fractionLost?: number;
1216
- /**
1217
- * @generated from field: required uint64 round_trip_time_measurements = 5;
1218
- */
1219
- roundTripTimeMeasurements?: bigint;
1220
- constructor(data?: PartialMessage<RemoteInboundRtpStreamStats>);
1221
- static readonly runtime: typeof proto2;
1222
- static readonly typeName = "livekit.proto.RemoteInboundRtpStreamStats";
1223
- static readonly fields: FieldList;
1224
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RemoteInboundRtpStreamStats;
1225
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RemoteInboundRtpStreamStats;
1226
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RemoteInboundRtpStreamStats;
1227
- static equals(a: RemoteInboundRtpStreamStats | PlainMessage<RemoteInboundRtpStreamStats> | undefined, b: RemoteInboundRtpStreamStats | PlainMessage<RemoteInboundRtpStreamStats> | undefined): boolean;
1228
- }
1229
- /**
1230
- * @generated from message livekit.proto.RemoteOutboundRtpStreamStats
1231
- */
1232
- declare class RemoteOutboundRtpStreamStats extends Message<RemoteOutboundRtpStreamStats> {
1233
- /**
1234
- * @generated from field: required string local_id = 1;
1235
- */
1236
- localId?: string;
1237
- /**
1238
- * @generated from field: required double remote_timestamp = 2;
1239
- */
1240
- remoteTimestamp?: number;
1241
- /**
1242
- * @generated from field: required uint64 reports_sent = 3;
1243
- */
1244
- reportsSent?: bigint;
1245
- /**
1246
- * @generated from field: required double round_trip_time = 4;
1247
- */
1248
- roundTripTime?: number;
1249
- /**
1250
- * @generated from field: required double total_round_trip_time = 5;
1251
- */
1252
- totalRoundTripTime?: number;
1253
- /**
1254
- * @generated from field: required uint64 round_trip_time_measurements = 6;
1255
- */
1256
- roundTripTimeMeasurements?: bigint;
1257
- constructor(data?: PartialMessage<RemoteOutboundRtpStreamStats>);
1258
- static readonly runtime: typeof proto2;
1259
- static readonly typeName = "livekit.proto.RemoteOutboundRtpStreamStats";
1260
- static readonly fields: FieldList;
1261
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RemoteOutboundRtpStreamStats;
1262
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RemoteOutboundRtpStreamStats;
1263
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RemoteOutboundRtpStreamStats;
1264
- static equals(a: RemoteOutboundRtpStreamStats | PlainMessage<RemoteOutboundRtpStreamStats> | undefined, b: RemoteOutboundRtpStreamStats | PlainMessage<RemoteOutboundRtpStreamStats> | undefined): boolean;
1265
- }
1266
- /**
1267
- * @generated from message livekit.proto.MediaSourceStats
1268
- */
1269
- declare class MediaSourceStats extends Message<MediaSourceStats> {
1270
- /**
1271
- * @generated from field: required string track_identifier = 1;
1272
- */
1273
- trackIdentifier?: string;
1274
- /**
1275
- * @generated from field: required string kind = 2;
1276
- */
1277
- kind?: string;
1278
- constructor(data?: PartialMessage<MediaSourceStats>);
1279
- static readonly runtime: typeof proto2;
1280
- static readonly typeName = "livekit.proto.MediaSourceStats";
1281
- static readonly fields: FieldList;
1282
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaSourceStats;
1283
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaSourceStats;
1284
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaSourceStats;
1285
- static equals(a: MediaSourceStats | PlainMessage<MediaSourceStats> | undefined, b: MediaSourceStats | PlainMessage<MediaSourceStats> | undefined): boolean;
1286
- }
1287
- /**
1288
- * @generated from message livekit.proto.AudioSourceStats
1289
- */
1290
- declare class AudioSourceStats extends Message<AudioSourceStats> {
1291
- /**
1292
- * @generated from field: required double audio_level = 1;
1293
- */
1294
- audioLevel?: number;
1295
- /**
1296
- * @generated from field: required double total_audio_energy = 2;
1297
- */
1298
- totalAudioEnergy?: number;
1299
- /**
1300
- * @generated from field: required double total_samples_duration = 3;
1301
- */
1302
- totalSamplesDuration?: number;
1303
- /**
1304
- * @generated from field: required double echo_return_loss = 4;
1305
- */
1306
- echoReturnLoss?: number;
1307
- /**
1308
- * @generated from field: required double echo_return_loss_enhancement = 5;
1309
- */
1310
- echoReturnLossEnhancement?: number;
1311
- /**
1312
- * @generated from field: required double dropped_samples_duration = 6;
1313
- */
1314
- droppedSamplesDuration?: number;
1315
- /**
1316
- * @generated from field: required uint32 dropped_samples_events = 7;
1317
- */
1318
- droppedSamplesEvents?: number;
1319
- /**
1320
- * @generated from field: required double total_capture_delay = 8;
1321
- */
1322
- totalCaptureDelay?: number;
1323
- /**
1324
- * @generated from field: required uint64 total_samples_captured = 9;
1325
- */
1326
- totalSamplesCaptured?: bigint;
1327
- constructor(data?: PartialMessage<AudioSourceStats>);
1328
- static readonly runtime: typeof proto2;
1329
- static readonly typeName = "livekit.proto.AudioSourceStats";
1330
- static readonly fields: FieldList;
1331
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioSourceStats;
1332
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioSourceStats;
1333
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioSourceStats;
1334
- static equals(a: AudioSourceStats | PlainMessage<AudioSourceStats> | undefined, b: AudioSourceStats | PlainMessage<AudioSourceStats> | undefined): boolean;
1335
- }
1336
- /**
1337
- * @generated from message livekit.proto.VideoSourceStats
1338
- */
1339
- declare class VideoSourceStats extends Message<VideoSourceStats> {
1340
- /**
1341
- * @generated from field: required uint32 width = 1;
1342
- */
1343
- width?: number;
1344
- /**
1345
- * @generated from field: required uint32 height = 2;
1346
- */
1347
- height?: number;
1348
- /**
1349
- * @generated from field: required uint32 frames = 3;
1350
- */
1351
- frames?: number;
1352
- /**
1353
- * @generated from field: required double frames_per_second = 4;
1354
- */
1355
- framesPerSecond?: number;
1356
- constructor(data?: PartialMessage<VideoSourceStats>);
1357
- static readonly runtime: typeof proto2;
1358
- static readonly typeName = "livekit.proto.VideoSourceStats";
1359
- static readonly fields: FieldList;
1360
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoSourceStats;
1361
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoSourceStats;
1362
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoSourceStats;
1363
- static equals(a: VideoSourceStats | PlainMessage<VideoSourceStats> | undefined, b: VideoSourceStats | PlainMessage<VideoSourceStats> | undefined): boolean;
1364
- }
1365
- /**
1366
- * @generated from message livekit.proto.AudioPlayoutStats
1367
- */
1368
- declare class AudioPlayoutStats extends Message<AudioPlayoutStats> {
1369
- /**
1370
- * @generated from field: required string kind = 1;
1371
- */
1372
- kind?: string;
1373
- /**
1374
- * @generated from field: required double synthesized_samples_duration = 2;
1375
- */
1376
- synthesizedSamplesDuration?: number;
1377
- /**
1378
- * @generated from field: required uint32 synthesized_samples_events = 3;
1379
- */
1380
- synthesizedSamplesEvents?: number;
1381
- /**
1382
- * @generated from field: required double total_samples_duration = 4;
1383
- */
1384
- totalSamplesDuration?: number;
1385
- /**
1386
- * @generated from field: required double total_playout_delay = 5;
1387
- */
1388
- totalPlayoutDelay?: number;
1389
- /**
1390
- * @generated from field: required uint64 total_samples_count = 6;
1391
- */
1392
- totalSamplesCount?: bigint;
1393
- constructor(data?: PartialMessage<AudioPlayoutStats>);
1394
- static readonly runtime: typeof proto2;
1395
- static readonly typeName = "livekit.proto.AudioPlayoutStats";
1396
- static readonly fields: FieldList;
1397
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioPlayoutStats;
1398
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioPlayoutStats;
1399
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioPlayoutStats;
1400
- static equals(a: AudioPlayoutStats | PlainMessage<AudioPlayoutStats> | undefined, b: AudioPlayoutStats | PlainMessage<AudioPlayoutStats> | undefined): boolean;
1401
- }
1402
- /**
1403
- * @generated from message livekit.proto.PeerConnectionStats
1404
- */
1405
- declare class PeerConnectionStats extends Message<PeerConnectionStats> {
1406
- /**
1407
- * @generated from field: required uint32 data_channels_opened = 1;
1408
- */
1409
- dataChannelsOpened?: number;
1410
- /**
1411
- * @generated from field: required uint32 data_channels_closed = 2;
1412
- */
1413
- dataChannelsClosed?: number;
1414
- constructor(data?: PartialMessage<PeerConnectionStats>);
1415
- static readonly runtime: typeof proto2;
1416
- static readonly typeName = "livekit.proto.PeerConnectionStats";
1417
- static readonly fields: FieldList;
1418
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PeerConnectionStats;
1419
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PeerConnectionStats;
1420
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PeerConnectionStats;
1421
- static equals(a: PeerConnectionStats | PlainMessage<PeerConnectionStats> | undefined, b: PeerConnectionStats | PlainMessage<PeerConnectionStats> | undefined): boolean;
1422
- }
1423
- /**
1424
- * @generated from message livekit.proto.DataChannelStats
1425
- */
1426
- declare class DataChannelStats extends Message<DataChannelStats> {
1427
- /**
1428
- * @generated from field: required string label = 1;
1429
- */
1430
- label?: string;
1431
- /**
1432
- * @generated from field: required string protocol = 2;
1433
- */
1434
- protocol?: string;
1435
- /**
1436
- * @generated from field: required int32 data_channel_identifier = 3;
1437
- */
1438
- dataChannelIdentifier?: number;
1439
- /**
1440
- * @generated from field: optional livekit.proto.DataChannelState state = 4;
1441
- */
1442
- state?: DataChannelState;
1443
- /**
1444
- * @generated from field: required uint32 messages_sent = 5;
1445
- */
1446
- messagesSent?: number;
1447
- /**
1448
- * @generated from field: required uint64 bytes_sent = 6;
1449
- */
1450
- bytesSent?: bigint;
1451
- /**
1452
- * @generated from field: required uint32 messages_received = 7;
1453
- */
1454
- messagesReceived?: number;
1455
- /**
1456
- * @generated from field: required uint64 bytes_received = 8;
1457
- */
1458
- bytesReceived?: bigint;
1459
- constructor(data?: PartialMessage<DataChannelStats>);
1460
- static readonly runtime: typeof proto2;
1461
- static readonly typeName = "livekit.proto.DataChannelStats";
1462
- static readonly fields: FieldList;
1463
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataChannelStats;
1464
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataChannelStats;
1465
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataChannelStats;
1466
- static equals(a: DataChannelStats | PlainMessage<DataChannelStats> | undefined, b: DataChannelStats | PlainMessage<DataChannelStats> | undefined): boolean;
1467
- }
1468
- /**
1469
- * @generated from message livekit.proto.TransportStats
1470
- */
1471
- declare class TransportStats extends Message<TransportStats> {
1472
- /**
1473
- * @generated from field: required uint64 packets_sent = 1;
1474
- */
1475
- packetsSent?: bigint;
1476
- /**
1477
- * @generated from field: required uint64 packets_received = 2;
1478
- */
1479
- packetsReceived?: bigint;
1480
- /**
1481
- * @generated from field: required uint64 bytes_sent = 3;
1482
- */
1483
- bytesSent?: bigint;
1484
- /**
1485
- * @generated from field: required uint64 bytes_received = 4;
1486
- */
1487
- bytesReceived?: bigint;
1488
- /**
1489
- * @generated from field: required livekit.proto.IceRole ice_role = 5;
1490
- */
1491
- iceRole?: IceRole;
1492
- /**
1493
- * @generated from field: required string ice_local_username_fragment = 6;
1494
- */
1495
- iceLocalUsernameFragment?: string;
1496
- /**
1497
- * @generated from field: optional livekit.proto.DtlsTransportState dtls_state = 7;
1498
- */
1499
- dtlsState?: DtlsTransportState;
1500
- /**
1501
- * @generated from field: optional livekit.proto.IceTransportState ice_state = 8;
1502
- */
1503
- iceState?: IceTransportState;
1504
- /**
1505
- * @generated from field: required string selected_candidate_pair_id = 9;
1506
- */
1507
- selectedCandidatePairId?: string;
1508
- /**
1509
- * @generated from field: required string local_certificate_id = 10;
1510
- */
1511
- localCertificateId?: string;
1512
- /**
1513
- * @generated from field: required string remote_certificate_id = 11;
1514
- */
1515
- remoteCertificateId?: string;
1516
- /**
1517
- * @generated from field: required string tls_version = 12;
1518
- */
1519
- tlsVersion?: string;
1520
- /**
1521
- * @generated from field: required string dtls_cipher = 13;
1522
- */
1523
- dtlsCipher?: string;
1524
- /**
1525
- * @generated from field: required livekit.proto.DtlsRole dtls_role = 14;
1526
- */
1527
- dtlsRole?: DtlsRole;
1528
- /**
1529
- * @generated from field: required string srtp_cipher = 15;
1530
- */
1531
- srtpCipher?: string;
1532
- /**
1533
- * @generated from field: required uint32 selected_candidate_pair_changes = 16;
1534
- */
1535
- selectedCandidatePairChanges?: number;
1536
- constructor(data?: PartialMessage<TransportStats>);
1537
- static readonly runtime: typeof proto2;
1538
- static readonly typeName = "livekit.proto.TransportStats";
1539
- static readonly fields: FieldList;
1540
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TransportStats;
1541
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TransportStats;
1542
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TransportStats;
1543
- static equals(a: TransportStats | PlainMessage<TransportStats> | undefined, b: TransportStats | PlainMessage<TransportStats> | undefined): boolean;
1544
- }
1545
- /**
1546
- * @generated from message livekit.proto.CandidatePairStats
1547
- */
1548
- declare class CandidatePairStats extends Message<CandidatePairStats> {
1549
- /**
1550
- * @generated from field: required string transport_id = 1;
1551
- */
1552
- transportId?: string;
1553
- /**
1554
- * @generated from field: required string local_candidate_id = 2;
1555
- */
1556
- localCandidateId?: string;
1557
- /**
1558
- * @generated from field: required string remote_candidate_id = 3;
1559
- */
1560
- remoteCandidateId?: string;
1561
- /**
1562
- * @generated from field: optional livekit.proto.IceCandidatePairState state = 4;
1563
- */
1564
- state?: IceCandidatePairState;
1565
- /**
1566
- * @generated from field: required bool nominated = 5;
1567
- */
1568
- nominated?: boolean;
1569
- /**
1570
- * @generated from field: required uint64 packets_sent = 6;
1571
- */
1572
- packetsSent?: bigint;
1573
- /**
1574
- * @generated from field: required uint64 packets_received = 7;
1575
- */
1576
- packetsReceived?: bigint;
1577
- /**
1578
- * @generated from field: required uint64 bytes_sent = 8;
1579
- */
1580
- bytesSent?: bigint;
1581
- /**
1582
- * @generated from field: required uint64 bytes_received = 9;
1583
- */
1584
- bytesReceived?: bigint;
1585
- /**
1586
- * @generated from field: required double last_packet_sent_timestamp = 10;
1587
- */
1588
- lastPacketSentTimestamp?: number;
1589
- /**
1590
- * @generated from field: required double last_packet_received_timestamp = 11;
1591
- */
1592
- lastPacketReceivedTimestamp?: number;
1593
- /**
1594
- * @generated from field: required double total_round_trip_time = 12;
1595
- */
1596
- totalRoundTripTime?: number;
1597
- /**
1598
- * @generated from field: required double current_round_trip_time = 13;
1599
- */
1600
- currentRoundTripTime?: number;
1601
- /**
1602
- * @generated from field: required double available_outgoing_bitrate = 14;
1603
- */
1604
- availableOutgoingBitrate?: number;
1605
- /**
1606
- * @generated from field: required double available_incoming_bitrate = 15;
1607
- */
1608
- availableIncomingBitrate?: number;
1609
- /**
1610
- * @generated from field: required uint64 requests_received = 16;
1611
- */
1612
- requestsReceived?: bigint;
1613
- /**
1614
- * @generated from field: required uint64 requests_sent = 17;
1615
- */
1616
- requestsSent?: bigint;
1617
- /**
1618
- * @generated from field: required uint64 responses_received = 18;
1619
- */
1620
- responsesReceived?: bigint;
1621
- /**
1622
- * @generated from field: required uint64 responses_sent = 19;
1623
- */
1624
- responsesSent?: bigint;
1625
- /**
1626
- * @generated from field: required uint64 consent_requests_sent = 20;
1627
- */
1628
- consentRequestsSent?: bigint;
1629
- /**
1630
- * @generated from field: required uint32 packets_discarded_on_send = 21;
1631
- */
1632
- packetsDiscardedOnSend?: number;
1633
- /**
1634
- * @generated from field: required uint64 bytes_discarded_on_send = 22;
1635
- */
1636
- bytesDiscardedOnSend?: bigint;
1637
- constructor(data?: PartialMessage<CandidatePairStats>);
1638
- static readonly runtime: typeof proto2;
1639
- static readonly typeName = "livekit.proto.CandidatePairStats";
1640
- static readonly fields: FieldList;
1641
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CandidatePairStats;
1642
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CandidatePairStats;
1643
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CandidatePairStats;
1644
- static equals(a: CandidatePairStats | PlainMessage<CandidatePairStats> | undefined, b: CandidatePairStats | PlainMessage<CandidatePairStats> | undefined): boolean;
1645
- }
1646
- /**
1647
- * @generated from message livekit.proto.IceCandidateStats
1648
- */
1649
- declare class IceCandidateStats extends Message<IceCandidateStats> {
1650
- /**
1651
- * @generated from field: required string transport_id = 1;
1652
- */
1653
- transportId?: string;
1654
- /**
1655
- * @generated from field: required string address = 2;
1656
- */
1657
- address?: string;
1658
- /**
1659
- * @generated from field: required int32 port = 3;
1660
- */
1661
- port?: number;
1662
- /**
1663
- * @generated from field: required string protocol = 4;
1664
- */
1665
- protocol?: string;
1666
- /**
1667
- * @generated from field: optional livekit.proto.IceCandidateType candidate_type = 5;
1668
- */
1669
- candidateType?: IceCandidateType;
1670
- /**
1671
- * @generated from field: required int32 priority = 6;
1672
- */
1673
- priority?: number;
1674
- /**
1675
- * @generated from field: required string url = 7;
1676
- */
1677
- url?: string;
1678
- /**
1679
- * @generated from field: optional livekit.proto.IceServerTransportProtocol relay_protocol = 8;
1680
- */
1681
- relayProtocol?: IceServerTransportProtocol;
1682
- /**
1683
- * @generated from field: required string foundation = 9;
1684
- */
1685
- foundation?: string;
1686
- /**
1687
- * @generated from field: required string related_address = 10;
1688
- */
1689
- relatedAddress?: string;
1690
- /**
1691
- * @generated from field: required int32 related_port = 11;
1692
- */
1693
- relatedPort?: number;
1694
- /**
1695
- * @generated from field: required string username_fragment = 12;
1696
- */
1697
- usernameFragment?: string;
1698
- /**
1699
- * @generated from field: optional livekit.proto.IceTcpCandidateType tcp_type = 13;
1700
- */
1701
- tcpType?: IceTcpCandidateType;
1702
- constructor(data?: PartialMessage<IceCandidateStats>);
1703
- static readonly runtime: typeof proto2;
1704
- static readonly typeName = "livekit.proto.IceCandidateStats";
1705
- static readonly fields: FieldList;
1706
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IceCandidateStats;
1707
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IceCandidateStats;
1708
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IceCandidateStats;
1709
- static equals(a: IceCandidateStats | PlainMessage<IceCandidateStats> | undefined, b: IceCandidateStats | PlainMessage<IceCandidateStats> | undefined): boolean;
1710
- }
1711
- /**
1712
- * @generated from message livekit.proto.CertificateStats
1713
- */
1714
- declare class CertificateStats extends Message<CertificateStats> {
1715
- /**
1716
- * @generated from field: required string fingerprint = 1;
1717
- */
1718
- fingerprint?: string;
1719
- /**
1720
- * @generated from field: required string fingerprint_algorithm = 2;
1721
- */
1722
- fingerprintAlgorithm?: string;
1723
- /**
1724
- * @generated from field: required string base64_certificate = 3;
1725
- */
1726
- base64Certificate?: string;
1727
- /**
1728
- * @generated from field: required string issuer_certificate_id = 4;
1729
- */
1730
- issuerCertificateId?: string;
1731
- constructor(data?: PartialMessage<CertificateStats>);
1732
- static readonly runtime: typeof proto2;
1733
- static readonly typeName = "livekit.proto.CertificateStats";
1734
- static readonly fields: FieldList;
1735
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CertificateStats;
1736
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CertificateStats;
1737
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CertificateStats;
1738
- static equals(a: CertificateStats | PlainMessage<CertificateStats> | undefined, b: CertificateStats | PlainMessage<CertificateStats> | undefined): boolean;
1739
- }
1740
- /**
1741
- * @generated from message livekit.proto.StreamStats
1742
- */
1743
- declare class StreamStats extends Message<StreamStats> {
1744
- /**
1745
- * @generated from field: required string id = 1;
1746
- */
1747
- id?: string;
1748
- /**
1749
- * required int64 timestamp = 3;
1750
- *
1751
- * @generated from field: required string stream_identifier = 2;
1752
- */
1753
- streamIdentifier?: string;
1754
- constructor(data?: PartialMessage<StreamStats>);
1755
- static readonly runtime: typeof proto2;
1756
- static readonly typeName = "livekit.proto.StreamStats";
1757
- static readonly fields: FieldList;
1758
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamStats;
1759
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamStats;
1760
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamStats;
1761
- static equals(a: StreamStats | PlainMessage<StreamStats> | undefined, b: StreamStats | PlainMessage<StreamStats> | undefined): boolean;
1762
- }
1763
-
1764
- export { AudioPlayoutStats, AudioSourceStats, CandidatePairStats, CertificateStats, CodecStats, DataChannelState, DataChannelStats, DtlsRole, DtlsTransportState, IceCandidatePairState, IceCandidateStats, IceCandidateType, IceRole, IceServerTransportProtocol, IceTcpCandidateType, IceTransportState, InboundRtpStreamStats, MediaSourceStats, OutboundRtpStreamStats, PeerConnectionStats, QualityLimitationReason, ReceivedRtpStreamStats, RemoteInboundRtpStreamStats, RemoteOutboundRtpStreamStats, RtcStats, RtcStatsData, RtcStats_CandidatePair, RtcStats_Certificate, RtcStats_Codec, RtcStats_DataChannel, RtcStats_InboundRtp, RtcStats_LocalCandidate, RtcStats_MediaPlayout, RtcStats_MediaSource, RtcStats_OutboundRtp, RtcStats_PeerConnection, RtcStats_RemoteCandidate, RtcStats_RemoteInboundRtp, RtcStats_RemoteOutboundRtp, RtcStats_Stream, RtcStats_Track, RtcStats_Transport, RtpStreamStats, SentRtpStreamStats, StreamStats, TransportStats, VideoSourceStats };