@livekit/rtc-node 0.13.24 → 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.
- package/dist/audio_filter.cjs +2 -2
- package/dist/audio_filter.cjs.map +1 -1
- package/dist/audio_filter.js +1 -1
- package/dist/audio_filter.js.map +1 -1
- package/dist/audio_frame.cjs +9 -5
- package/dist/audio_frame.cjs.map +1 -1
- package/dist/audio_frame.d.cts +2 -7
- package/dist/audio_frame.d.ts +2 -7
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +8 -4
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_mixer.cjs +1 -1
- package/dist/audio_mixer.cjs.map +1 -1
- package/dist/audio_mixer.d.cts +1 -6
- package/dist/audio_mixer.d.ts +1 -6
- package/dist/audio_mixer.js +1 -1
- package/dist/audio_mixer.js.map +1 -1
- package/dist/audio_resampler.cjs +20 -12
- package/dist/audio_resampler.cjs.map +1 -1
- package/dist/audio_resampler.d.cts +6 -6
- package/dist/audio_resampler.d.ts +6 -6
- package/dist/audio_resampler.d.ts.map +1 -1
- package/dist/audio_resampler.js +12 -4
- package/dist/audio_resampler.js.map +1 -1
- package/dist/audio_source.cjs +11 -7
- package/dist/audio_source.cjs.map +1 -1
- package/dist/audio_source.d.cts +1 -7
- package/dist/audio_source.d.ts +1 -7
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +8 -3
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.cjs +16 -6
- package/dist/audio_stream.cjs.map +1 -1
- package/dist/audio_stream.d.cts +1 -14
- package/dist/audio_stream.d.ts +1 -14
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +15 -5
- package/dist/audio_stream.js.map +1 -1
- package/dist/data_streams/index.d.cts +2 -10
- package/dist/data_streams/index.d.ts +2 -10
- package/dist/data_streams/stream_reader.cjs +8 -0
- package/dist/data_streams/stream_reader.cjs.map +1 -1
- package/dist/data_streams/stream_reader.d.cts +2 -10
- package/dist/data_streams/stream_reader.d.ts +2 -10
- package/dist/data_streams/stream_reader.d.ts.map +1 -1
- package/dist/data_streams/stream_reader.js +8 -0
- package/dist/data_streams/stream_reader.js.map +1 -1
- package/dist/data_streams/stream_writer.d.cts +2 -10
- package/dist/data_streams/stream_writer.d.ts +2 -10
- package/dist/data_streams/types.cjs.map +1 -1
- package/dist/data_streams/types.d.cts +2 -10
- package/dist/data_streams/types.d.ts +2 -10
- package/dist/data_streams/types.d.ts.map +1 -1
- package/dist/e2ee.cjs +21 -21
- package/dist/e2ee.cjs.map +1 -1
- package/dist/e2ee.d.cts +1 -2
- package/dist/e2ee.d.ts +1 -2
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +2 -2
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.cjs +11 -12
- package/dist/ffi_client.cjs.map +1 -1
- package/dist/ffi_client.d.cts +3 -16
- package/dist/ffi_client.d.ts +3 -16
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +5 -3
- package/dist/ffi_client.js.map +1 -1
- package/dist/frame_processor.cjs +13 -2
- package/dist/frame_processor.cjs.map +1 -1
- package/dist/frame_processor.d.cts +5 -8
- package/dist/frame_processor.d.ts +5 -8
- package/dist/frame_processor.d.ts.map +1 -1
- package/dist/frame_processor.js +10 -1
- package/dist/frame_processor.js.map +1 -1
- package/dist/index.cjs +25 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -16
- package/dist/index.d.ts +3 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -7
- package/dist/index.js.map +1 -1
- package/dist/participant.cjs +38 -38
- package/dist/participant.cjs.map +1 -1
- package/dist/participant.d.cts +2 -15
- package/dist/participant.d.ts +2 -15
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +12 -12
- package/dist/participant.js.map +1 -1
- package/dist/room.cjs +14 -14
- package/dist/room.cjs.map +1 -1
- package/dist/room.d.cts +2 -15
- package/dist/room.d.ts +2 -15
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +10 -10
- package/dist/room.js.map +1 -1
- package/dist/rpc.cjs.map +1 -1
- package/dist/rpc.d.cts +1 -2
- package/dist/rpc.d.ts +1 -2
- package/dist/rpc.d.ts.map +1 -1
- package/dist/rpc.js.map +1 -1
- package/dist/{stream_reader-Ch2zvjU3.d.cts → stream_reader-CuG4b8Y-.d.cts} +1 -1
- package/dist/{stream_reader-DRyR29vo.d.ts → stream_reader-CuG4b8Y-.d.ts} +1 -1
- package/dist/track.cjs +3 -3
- package/dist/track.cjs.map +1 -1
- package/dist/track.d.cts +1 -14
- package/dist/track.d.ts +1 -14
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +1 -1
- package/dist/track.js.map +1 -1
- package/dist/track_publication.cjs +4 -4
- package/dist/track_publication.cjs.map +1 -1
- package/dist/track_publication.d.cts +1 -14
- package/dist/track_publication.d.ts +1 -14
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +2 -2
- package/dist/track_publication.js.map +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.cjs.map +1 -1
- package/dist/version.d.cts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/video_frame.cjs +42 -42
- package/dist/video_frame.cjs.map +1 -1
- package/dist/video_frame.d.cts +1 -6
- package/dist/video_frame.d.ts +1 -6
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +2 -2
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.cjs +5 -5
- package/dist/video_source.cjs.map +1 -1
- package/dist/video_source.d.cts +1 -14
- package/dist/video_source.d.ts +1 -14
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +2 -2
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.cjs +12 -4
- package/dist/video_stream.cjs.map +1 -1
- package/dist/video_stream.d.cts +1 -14
- package/dist/video_stream.d.ts +1 -14
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +10 -2
- package/dist/video_stream.js.map +1 -1
- package/package.json +7 -37
- package/src/audio_filter.ts +2 -2
- package/src/audio_frame.ts +17 -5
- package/src/audio_mixer.ts +1 -1
- package/src/audio_resampler.ts +14 -4
- package/src/audio_source.ts +13 -5
- package/src/audio_stream.ts +21 -6
- package/src/data_streams/stream_reader.ts +19 -1
- package/src/data_streams/types.ts +1 -1
- package/src/e2ee.ts +3 -3
- package/src/ffi_client.ts +7 -5
- package/src/frame_processor.ts +21 -0
- package/src/index.ts +6 -5
- package/src/participant.ts +17 -17
- package/src/room.ts +22 -22
- package/src/rpc.ts +1 -1
- package/src/tests/e2e.test.ts +11 -8
- package/src/track.ts +4 -4
- package/src/track_publication.ts +6 -6
- package/src/version.ts +1 -1
- package/src/video_frame.ts +3 -3
- package/src/video_source.ts +3 -3
- package/src/video_stream.ts +15 -3
- package/Cargo.toml +0 -25
- package/build.rs +0 -9
- package/dist/napi/native.cjs +0 -301
- package/dist/napi/native.d.cjs +0 -17
- package/dist/napi/native.d.cjs.map +0 -1
- package/dist/napi/native.d.d.cts +0 -21
- package/dist/napi/native.d.d.ts +0 -21
- package/dist/napi/native.d.js +0 -1
- package/dist/napi/native.d.js.map +0 -1
- package/dist/napi/native.d.ts +0 -19
- package/dist/napi/native.js +0 -15
- package/dist/native.cjs +0 -301
- package/dist/native.d.ts +0 -19
- package/dist/native.js +0 -15
- package/dist/proto/audio_frame_pb.cjs +0 -1357
- package/dist/proto/audio_frame_pb.cjs.map +0 -1
- package/dist/proto/audio_frame_pb.d.cts +0 -1183
- package/dist/proto/audio_frame_pb.d.ts +0 -1183
- package/dist/proto/audio_frame_pb.d.ts.map +0 -1
- package/dist/proto/audio_frame_pb.js +0 -1283
- package/dist/proto/audio_frame_pb.js.map +0 -1
- package/dist/proto/data_stream_pb.cjs +0 -1638
- package/dist/proto/data_stream_pb.cjs.map +0 -1
- package/dist/proto/data_stream_pb.d.cts +0 -1449
- package/dist/proto/data_stream_pb.d.ts +0 -1449
- package/dist/proto/data_stream_pb.d.ts.map +0 -1
- package/dist/proto/data_stream_pb.js +0 -1559
- package/dist/proto/data_stream_pb.js.map +0 -1
- package/dist/proto/e2ee_pb.cjs +0 -746
- package/dist/proto/e2ee_pb.cjs.map +0 -1
- package/dist/proto/e2ee_pb.d.cts +0 -653
- package/dist/proto/e2ee_pb.d.ts +0 -653
- package/dist/proto/e2ee_pb.d.ts.map +0 -1
- package/dist/proto/e2ee_pb.js +0 -696
- package/dist/proto/e2ee_pb.js.map +0 -1
- package/dist/proto/ffi_pb.cjs +0 -477
- package/dist/proto/ffi_pb.cjs.map +0 -1
- package/dist/proto/ffi_pb.d.cts +0 -1321
- package/dist/proto/ffi_pb.d.ts +0 -1321
- package/dist/proto/ffi_pb.d.ts.map +0 -1
- package/dist/proto/ffi_pb.js +0 -444
- package/dist/proto/ffi_pb.js.map +0 -1
- package/dist/proto/handle_pb.cjs +0 -53
- package/dist/proto/handle_pb.cjs.map +0 -1
- package/dist/proto/handle_pb.d.cts +0 -31
- package/dist/proto/handle_pb.d.ts +0 -31
- package/dist/proto/handle_pb.d.ts.map +0 -1
- package/dist/proto/handle_pb.js +0 -29
- package/dist/proto/handle_pb.js.map +0 -1
- package/dist/proto/participant_pb.cjs +0 -173
- package/dist/proto/participant_pb.cjs.map +0 -1
- package/dist/proto/participant_pb.d.cts +0 -218
- package/dist/proto/participant_pb.d.ts +0 -218
- package/dist/proto/participant_pb.d.ts.map +0 -1
- package/dist/proto/participant_pb.js +0 -145
- package/dist/proto/participant_pb.js.map +0 -1
- package/dist/proto/room_pb.cjs +0 -3374
- package/dist/proto/room_pb.cjs.map +0 -1
- package/dist/proto/room_pb.d.cts +0 -3028
- package/dist/proto/room_pb.d.ts +0 -3028
- package/dist/proto/room_pb.d.ts.map +0 -1
- package/dist/proto/room_pb.js +0 -3232
- package/dist/proto/room_pb.js.map +0 -1
- package/dist/proto/rpc_pb.cjs +0 -328
- package/dist/proto/rpc_pb.cjs.map +0 -1
- package/dist/proto/rpc_pb.d.cts +0 -267
- package/dist/proto/rpc_pb.d.ts +0 -267
- package/dist/proto/rpc_pb.d.ts.map +0 -1
- package/dist/proto/rpc_pb.js +0 -294
- package/dist/proto/rpc_pb.js.map +0 -1
- package/dist/proto/stats_pb.cjs +0 -1370
- package/dist/proto/stats_pb.cjs.map +0 -1
- package/dist/proto/stats_pb.d.cts +0 -1764
- package/dist/proto/stats_pb.d.ts +0 -1764
- package/dist/proto/stats_pb.d.ts.map +0 -1
- package/dist/proto/stats_pb.js +0 -1300
- package/dist/proto/stats_pb.js.map +0 -1
- package/dist/proto/track_pb.cjs +0 -630
- package/dist/proto/track_pb.cjs.map +0 -1
- package/dist/proto/track_pb.d.cts +0 -542
- package/dist/proto/track_pb.d.ts +0 -542
- package/dist/proto/track_pb.d.ts.map +0 -1
- package/dist/proto/track_pb.js +0 -584
- package/dist/proto/track_pb.js.map +0 -1
- package/dist/proto/track_publication_pb.cjs +0 -194
- package/dist/proto/track_publication_pb.cjs.map +0 -1
- package/dist/proto/track_publication_pb.d.cts +0 -135
- package/dist/proto/track_publication_pb.d.ts +0 -135
- package/dist/proto/track_publication_pb.d.ts.map +0 -1
- package/dist/proto/track_publication_pb.js +0 -164
- package/dist/proto/track_publication_pb.js.map +0 -1
- package/dist/proto/video_frame_pb.cjs +0 -723
- package/dist/proto/video_frame_pb.cjs.map +0 -1
- package/dist/proto/video_frame_pb.d.cts +0 -667
- package/dist/proto/video_frame_pb.d.ts +0 -667
- package/dist/proto/video_frame_pb.d.ts.map +0 -1
- package/dist/proto/video_frame_pb.js +0 -673
- package/dist/proto/video_frame_pb.js.map +0 -1
- package/src/lib.rs +0 -9
- package/src/napi/native.cjs +0 -301
- package/src/napi/native.d.ts +0 -19
- package/src/napi/native.js +0 -15
- package/src/nodejs.rs +0 -134
- package/src/proto/audio_frame_pb.ts +0 -2270
- package/src/proto/data_stream_pb.ts +0 -2674
- package/src/proto/e2ee_pb.ts +0 -1231
- package/src/proto/ffi_pb.ts +0 -1700
- package/src/proto/handle_pb.ts +0 -69
- package/src/proto/participant_pb.ts +0 -351
- package/src/proto/room_pb.ts +0 -5661
- package/src/proto/rpc_pb.ts +0 -539
- package/src/proto/stats_pb.ts +0 -3050
- package/src/proto/track_pb.ts +0 -1040
- package/src/proto/track_publication_pb.ts +0 -284
- package/src/proto/video_frame_pb.ts +0 -1236
package/dist/proto/stats_pb.js
DELETED
|
@@ -1,1300 +0,0 @@
|
|
|
1
|
-
import { Message, proto2 } from "@bufbuild/protobuf";
|
|
2
|
-
var DataChannelState = /* @__PURE__ */ ((DataChannelState2) => {
|
|
3
|
-
DataChannelState2[DataChannelState2["DC_CONNECTING"] = 0] = "DC_CONNECTING";
|
|
4
|
-
DataChannelState2[DataChannelState2["DC_OPEN"] = 1] = "DC_OPEN";
|
|
5
|
-
DataChannelState2[DataChannelState2["DC_CLOSING"] = 2] = "DC_CLOSING";
|
|
6
|
-
DataChannelState2[DataChannelState2["DC_CLOSED"] = 3] = "DC_CLOSED";
|
|
7
|
-
return DataChannelState2;
|
|
8
|
-
})(DataChannelState || {});
|
|
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
|
-
]);
|
|
15
|
-
var QualityLimitationReason = /* @__PURE__ */ ((QualityLimitationReason2) => {
|
|
16
|
-
QualityLimitationReason2[QualityLimitationReason2["LIMITATION_NONE"] = 0] = "LIMITATION_NONE";
|
|
17
|
-
QualityLimitationReason2[QualityLimitationReason2["LIMITATION_CPU"] = 1] = "LIMITATION_CPU";
|
|
18
|
-
QualityLimitationReason2[QualityLimitationReason2["LIMITATION_BANDWIDTH"] = 2] = "LIMITATION_BANDWIDTH";
|
|
19
|
-
QualityLimitationReason2[QualityLimitationReason2["LIMITATION_OTHER"] = 3] = "LIMITATION_OTHER";
|
|
20
|
-
return QualityLimitationReason2;
|
|
21
|
-
})(QualityLimitationReason || {});
|
|
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
|
-
]);
|
|
28
|
-
var IceRole = /* @__PURE__ */ ((IceRole2) => {
|
|
29
|
-
IceRole2[IceRole2["ICE_UNKNOWN"] = 0] = "ICE_UNKNOWN";
|
|
30
|
-
IceRole2[IceRole2["ICE_CONTROLLING"] = 1] = "ICE_CONTROLLING";
|
|
31
|
-
IceRole2[IceRole2["ICE_CONTROLLED"] = 2] = "ICE_CONTROLLED";
|
|
32
|
-
return IceRole2;
|
|
33
|
-
})(IceRole || {});
|
|
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
|
-
]);
|
|
39
|
-
var DtlsTransportState = /* @__PURE__ */ ((DtlsTransportState2) => {
|
|
40
|
-
DtlsTransportState2[DtlsTransportState2["DTLS_TRANSPORT_NEW"] = 0] = "DTLS_TRANSPORT_NEW";
|
|
41
|
-
DtlsTransportState2[DtlsTransportState2["DTLS_TRANSPORT_CONNECTING"] = 1] = "DTLS_TRANSPORT_CONNECTING";
|
|
42
|
-
DtlsTransportState2[DtlsTransportState2["DTLS_TRANSPORT_CONNECTED"] = 2] = "DTLS_TRANSPORT_CONNECTED";
|
|
43
|
-
DtlsTransportState2[DtlsTransportState2["DTLS_TRANSPORT_CLOSED"] = 3] = "DTLS_TRANSPORT_CLOSED";
|
|
44
|
-
DtlsTransportState2[DtlsTransportState2["DTLS_TRANSPORT_FAILED"] = 4] = "DTLS_TRANSPORT_FAILED";
|
|
45
|
-
return DtlsTransportState2;
|
|
46
|
-
})(DtlsTransportState || {});
|
|
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
|
-
]);
|
|
54
|
-
var IceTransportState = /* @__PURE__ */ ((IceTransportState2) => {
|
|
55
|
-
IceTransportState2[IceTransportState2["ICE_TRANSPORT_NEW"] = 0] = "ICE_TRANSPORT_NEW";
|
|
56
|
-
IceTransportState2[IceTransportState2["ICE_TRANSPORT_CHECKING"] = 1] = "ICE_TRANSPORT_CHECKING";
|
|
57
|
-
IceTransportState2[IceTransportState2["ICE_TRANSPORT_CONNECTED"] = 2] = "ICE_TRANSPORT_CONNECTED";
|
|
58
|
-
IceTransportState2[IceTransportState2["ICE_TRANSPORT_COMPLETED"] = 3] = "ICE_TRANSPORT_COMPLETED";
|
|
59
|
-
IceTransportState2[IceTransportState2["ICE_TRANSPORT_DISCONNECTED"] = 4] = "ICE_TRANSPORT_DISCONNECTED";
|
|
60
|
-
IceTransportState2[IceTransportState2["ICE_TRANSPORT_FAILED"] = 5] = "ICE_TRANSPORT_FAILED";
|
|
61
|
-
IceTransportState2[IceTransportState2["ICE_TRANSPORT_CLOSED"] = 6] = "ICE_TRANSPORT_CLOSED";
|
|
62
|
-
return IceTransportState2;
|
|
63
|
-
})(IceTransportState || {});
|
|
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
|
-
]);
|
|
73
|
-
var DtlsRole = /* @__PURE__ */ ((DtlsRole2) => {
|
|
74
|
-
DtlsRole2[DtlsRole2["DTLS_CLIENT"] = 0] = "DTLS_CLIENT";
|
|
75
|
-
DtlsRole2[DtlsRole2["DTLS_SERVER"] = 1] = "DTLS_SERVER";
|
|
76
|
-
DtlsRole2[DtlsRole2["DTLS_UNKNOWN"] = 2] = "DTLS_UNKNOWN";
|
|
77
|
-
return DtlsRole2;
|
|
78
|
-
})(DtlsRole || {});
|
|
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
|
-
]);
|
|
84
|
-
var IceCandidatePairState = /* @__PURE__ */ ((IceCandidatePairState2) => {
|
|
85
|
-
IceCandidatePairState2[IceCandidatePairState2["PAIR_FROZEN"] = 0] = "PAIR_FROZEN";
|
|
86
|
-
IceCandidatePairState2[IceCandidatePairState2["PAIR_WAITING"] = 1] = "PAIR_WAITING";
|
|
87
|
-
IceCandidatePairState2[IceCandidatePairState2["PAIR_IN_PROGRESS"] = 2] = "PAIR_IN_PROGRESS";
|
|
88
|
-
IceCandidatePairState2[IceCandidatePairState2["PAIR_FAILED"] = 3] = "PAIR_FAILED";
|
|
89
|
-
IceCandidatePairState2[IceCandidatePairState2["PAIR_SUCCEEDED"] = 4] = "PAIR_SUCCEEDED";
|
|
90
|
-
return IceCandidatePairState2;
|
|
91
|
-
})(IceCandidatePairState || {});
|
|
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
|
-
]);
|
|
99
|
-
var IceCandidateType = /* @__PURE__ */ ((IceCandidateType2) => {
|
|
100
|
-
IceCandidateType2[IceCandidateType2["HOST"] = 0] = "HOST";
|
|
101
|
-
IceCandidateType2[IceCandidateType2["SRFLX"] = 1] = "SRFLX";
|
|
102
|
-
IceCandidateType2[IceCandidateType2["PRFLX"] = 2] = "PRFLX";
|
|
103
|
-
IceCandidateType2[IceCandidateType2["RELAY"] = 3] = "RELAY";
|
|
104
|
-
return IceCandidateType2;
|
|
105
|
-
})(IceCandidateType || {});
|
|
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
|
-
]);
|
|
112
|
-
var IceServerTransportProtocol = /* @__PURE__ */ ((IceServerTransportProtocol2) => {
|
|
113
|
-
IceServerTransportProtocol2[IceServerTransportProtocol2["TRANSPORT_UDP"] = 0] = "TRANSPORT_UDP";
|
|
114
|
-
IceServerTransportProtocol2[IceServerTransportProtocol2["TRANSPORT_TCP"] = 1] = "TRANSPORT_TCP";
|
|
115
|
-
IceServerTransportProtocol2[IceServerTransportProtocol2["TRANSPORT_TLS"] = 2] = "TRANSPORT_TLS";
|
|
116
|
-
return IceServerTransportProtocol2;
|
|
117
|
-
})(IceServerTransportProtocol || {});
|
|
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
|
-
]);
|
|
123
|
-
var IceTcpCandidateType = /* @__PURE__ */ ((IceTcpCandidateType2) => {
|
|
124
|
-
IceTcpCandidateType2[IceTcpCandidateType2["CANDIDATE_ACTIVE"] = 0] = "CANDIDATE_ACTIVE";
|
|
125
|
-
IceTcpCandidateType2[IceTcpCandidateType2["CANDIDATE_PASSIVE"] = 1] = "CANDIDATE_PASSIVE";
|
|
126
|
-
IceTcpCandidateType2[IceTcpCandidateType2["CANDIDATE_SO"] = 2] = "CANDIDATE_SO";
|
|
127
|
-
return IceTcpCandidateType2;
|
|
128
|
-
})(IceTcpCandidateType || {});
|
|
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;
|
|
1251
|
-
export {
|
|
1252
|
-
AudioPlayoutStats,
|
|
1253
|
-
AudioSourceStats,
|
|
1254
|
-
CandidatePairStats,
|
|
1255
|
-
CertificateStats,
|
|
1256
|
-
CodecStats,
|
|
1257
|
-
DataChannelState,
|
|
1258
|
-
DataChannelStats,
|
|
1259
|
-
DtlsRole,
|
|
1260
|
-
DtlsTransportState,
|
|
1261
|
-
IceCandidatePairState,
|
|
1262
|
-
IceCandidateStats,
|
|
1263
|
-
IceCandidateType,
|
|
1264
|
-
IceRole,
|
|
1265
|
-
IceServerTransportProtocol,
|
|
1266
|
-
IceTcpCandidateType,
|
|
1267
|
-
IceTransportState,
|
|
1268
|
-
InboundRtpStreamStats,
|
|
1269
|
-
MediaSourceStats,
|
|
1270
|
-
OutboundRtpStreamStats,
|
|
1271
|
-
PeerConnectionStats,
|
|
1272
|
-
QualityLimitationReason,
|
|
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
|
|
1299
|
-
};
|
|
1300
|
-
//# sourceMappingURL=stats_pb.js.map
|