@livekit/rtc-node 0.13.24 → 0.13.26
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 +10 -4
- package/dist/audio_mixer.cjs.map +1 -1
- package/dist/audio_mixer.d.cts +4 -7
- package/dist/audio_mixer.d.ts +4 -7
- package/dist/audio_mixer.d.ts.map +1 -1
- package/dist/audio_mixer.js +10 -4
- 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 +30 -15
- package/dist/ffi_client.cjs.map +1 -1
- package/dist/ffi_client.d.cts +6 -17
- package/dist/ffi_client.d.ts +6 -17
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +24 -6
- 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 +146 -101
- package/dist/participant.cjs.map +1 -1
- package/dist/participant.d.cts +4 -16
- package/dist/participant.d.ts +4 -16
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +120 -75
- package/dist/participant.js.map +1 -1
- package/dist/room.cjs +116 -58
- package/dist/room.cjs.map +1 -1
- package/dist/room.d.cts +6 -15
- package/dist/room.d.ts +6 -15
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +113 -55
- 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.test.ts +102 -0
- package/src/audio_mixer.ts +10 -4
- 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 +33 -8
- package/src/frame_processor.ts +21 -0
- package/src/index.ts +6 -5
- package/src/participant.ts +117 -66
- package/src/room.ts +161 -69
- package/src/rpc.ts +1 -1
- package/src/tests/e2e.test.ts +179 -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/src/proto/stats_pb.ts
DELETED
|
@@ -1,3050 +0,0 @@
|
|
|
1
|
-
// Copyright 2025 LiveKit, Inc.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
// you may not use this file except in compliance with the License.
|
|
5
|
-
// You may obtain a copy of the License at
|
|
6
|
-
//
|
|
7
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
//
|
|
9
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
// See the License for the specific language governing permissions and
|
|
13
|
-
// limitations under the License.
|
|
14
|
-
|
|
15
|
-
// @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=.js"
|
|
16
|
-
// @generated from file stats.proto (package livekit.proto, syntax proto2)
|
|
17
|
-
/* eslint-disable */
|
|
18
|
-
// @ts-nocheck
|
|
19
|
-
|
|
20
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
|
-
import { Message, proto2 } from "@bufbuild/protobuf";
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @generated from enum livekit.proto.DataChannelState
|
|
25
|
-
*/
|
|
26
|
-
export enum DataChannelState {
|
|
27
|
-
/**
|
|
28
|
-
* @generated from enum value: DC_CONNECTING = 0;
|
|
29
|
-
*/
|
|
30
|
-
DC_CONNECTING = 0,
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @generated from enum value: DC_OPEN = 1;
|
|
34
|
-
*/
|
|
35
|
-
DC_OPEN = 1,
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @generated from enum value: DC_CLOSING = 2;
|
|
39
|
-
*/
|
|
40
|
-
DC_CLOSING = 2,
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* @generated from enum value: DC_CLOSED = 3;
|
|
44
|
-
*/
|
|
45
|
-
DC_CLOSED = 3,
|
|
46
|
-
}
|
|
47
|
-
// Retrieve enum metadata with: proto2.getEnumType(DataChannelState)
|
|
48
|
-
proto2.util.setEnumType(DataChannelState, "livekit.proto.DataChannelState", [
|
|
49
|
-
{ no: 0, name: "DC_CONNECTING" },
|
|
50
|
-
{ no: 1, name: "DC_OPEN" },
|
|
51
|
-
{ no: 2, name: "DC_CLOSING" },
|
|
52
|
-
{ no: 3, name: "DC_CLOSED" },
|
|
53
|
-
]);
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @generated from enum livekit.proto.QualityLimitationReason
|
|
57
|
-
*/
|
|
58
|
-
export enum QualityLimitationReason {
|
|
59
|
-
/**
|
|
60
|
-
* @generated from enum value: LIMITATION_NONE = 0;
|
|
61
|
-
*/
|
|
62
|
-
LIMITATION_NONE = 0,
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @generated from enum value: LIMITATION_CPU = 1;
|
|
66
|
-
*/
|
|
67
|
-
LIMITATION_CPU = 1,
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @generated from enum value: LIMITATION_BANDWIDTH = 2;
|
|
71
|
-
*/
|
|
72
|
-
LIMITATION_BANDWIDTH = 2,
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* @generated from enum value: LIMITATION_OTHER = 3;
|
|
76
|
-
*/
|
|
77
|
-
LIMITATION_OTHER = 3,
|
|
78
|
-
}
|
|
79
|
-
// Retrieve enum metadata with: proto2.getEnumType(QualityLimitationReason)
|
|
80
|
-
proto2.util.setEnumType(QualityLimitationReason, "livekit.proto.QualityLimitationReason", [
|
|
81
|
-
{ no: 0, name: "LIMITATION_NONE" },
|
|
82
|
-
{ no: 1, name: "LIMITATION_CPU" },
|
|
83
|
-
{ no: 2, name: "LIMITATION_BANDWIDTH" },
|
|
84
|
-
{ no: 3, name: "LIMITATION_OTHER" },
|
|
85
|
-
]);
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* @generated from enum livekit.proto.IceRole
|
|
89
|
-
*/
|
|
90
|
-
export enum IceRole {
|
|
91
|
-
/**
|
|
92
|
-
* @generated from enum value: ICE_UNKNOWN = 0;
|
|
93
|
-
*/
|
|
94
|
-
ICE_UNKNOWN = 0,
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* @generated from enum value: ICE_CONTROLLING = 1;
|
|
98
|
-
*/
|
|
99
|
-
ICE_CONTROLLING = 1,
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* @generated from enum value: ICE_CONTROLLED = 2;
|
|
103
|
-
*/
|
|
104
|
-
ICE_CONTROLLED = 2,
|
|
105
|
-
}
|
|
106
|
-
// Retrieve enum metadata with: proto2.getEnumType(IceRole)
|
|
107
|
-
proto2.util.setEnumType(IceRole, "livekit.proto.IceRole", [
|
|
108
|
-
{ no: 0, name: "ICE_UNKNOWN" },
|
|
109
|
-
{ no: 1, name: "ICE_CONTROLLING" },
|
|
110
|
-
{ no: 2, name: "ICE_CONTROLLED" },
|
|
111
|
-
]);
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* @generated from enum livekit.proto.DtlsTransportState
|
|
115
|
-
*/
|
|
116
|
-
export enum DtlsTransportState {
|
|
117
|
-
/**
|
|
118
|
-
* @generated from enum value: DTLS_TRANSPORT_NEW = 0;
|
|
119
|
-
*/
|
|
120
|
-
DTLS_TRANSPORT_NEW = 0,
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* @generated from enum value: DTLS_TRANSPORT_CONNECTING = 1;
|
|
124
|
-
*/
|
|
125
|
-
DTLS_TRANSPORT_CONNECTING = 1,
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* @generated from enum value: DTLS_TRANSPORT_CONNECTED = 2;
|
|
129
|
-
*/
|
|
130
|
-
DTLS_TRANSPORT_CONNECTED = 2,
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* @generated from enum value: DTLS_TRANSPORT_CLOSED = 3;
|
|
134
|
-
*/
|
|
135
|
-
DTLS_TRANSPORT_CLOSED = 3,
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* @generated from enum value: DTLS_TRANSPORT_FAILED = 4;
|
|
139
|
-
*/
|
|
140
|
-
DTLS_TRANSPORT_FAILED = 4,
|
|
141
|
-
}
|
|
142
|
-
// Retrieve enum metadata with: proto2.getEnumType(DtlsTransportState)
|
|
143
|
-
proto2.util.setEnumType(DtlsTransportState, "livekit.proto.DtlsTransportState", [
|
|
144
|
-
{ no: 0, name: "DTLS_TRANSPORT_NEW" },
|
|
145
|
-
{ no: 1, name: "DTLS_TRANSPORT_CONNECTING" },
|
|
146
|
-
{ no: 2, name: "DTLS_TRANSPORT_CONNECTED" },
|
|
147
|
-
{ no: 3, name: "DTLS_TRANSPORT_CLOSED" },
|
|
148
|
-
{ no: 4, name: "DTLS_TRANSPORT_FAILED" },
|
|
149
|
-
]);
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* @generated from enum livekit.proto.IceTransportState
|
|
153
|
-
*/
|
|
154
|
-
export enum IceTransportState {
|
|
155
|
-
/**
|
|
156
|
-
* @generated from enum value: ICE_TRANSPORT_NEW = 0;
|
|
157
|
-
*/
|
|
158
|
-
ICE_TRANSPORT_NEW = 0,
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* @generated from enum value: ICE_TRANSPORT_CHECKING = 1;
|
|
162
|
-
*/
|
|
163
|
-
ICE_TRANSPORT_CHECKING = 1,
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* @generated from enum value: ICE_TRANSPORT_CONNECTED = 2;
|
|
167
|
-
*/
|
|
168
|
-
ICE_TRANSPORT_CONNECTED = 2,
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* @generated from enum value: ICE_TRANSPORT_COMPLETED = 3;
|
|
172
|
-
*/
|
|
173
|
-
ICE_TRANSPORT_COMPLETED = 3,
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* @generated from enum value: ICE_TRANSPORT_DISCONNECTED = 4;
|
|
177
|
-
*/
|
|
178
|
-
ICE_TRANSPORT_DISCONNECTED = 4,
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* @generated from enum value: ICE_TRANSPORT_FAILED = 5;
|
|
182
|
-
*/
|
|
183
|
-
ICE_TRANSPORT_FAILED = 5,
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* @generated from enum value: ICE_TRANSPORT_CLOSED = 6;
|
|
187
|
-
*/
|
|
188
|
-
ICE_TRANSPORT_CLOSED = 6,
|
|
189
|
-
}
|
|
190
|
-
// Retrieve enum metadata with: proto2.getEnumType(IceTransportState)
|
|
191
|
-
proto2.util.setEnumType(IceTransportState, "livekit.proto.IceTransportState", [
|
|
192
|
-
{ no: 0, name: "ICE_TRANSPORT_NEW" },
|
|
193
|
-
{ no: 1, name: "ICE_TRANSPORT_CHECKING" },
|
|
194
|
-
{ no: 2, name: "ICE_TRANSPORT_CONNECTED" },
|
|
195
|
-
{ no: 3, name: "ICE_TRANSPORT_COMPLETED" },
|
|
196
|
-
{ no: 4, name: "ICE_TRANSPORT_DISCONNECTED" },
|
|
197
|
-
{ no: 5, name: "ICE_TRANSPORT_FAILED" },
|
|
198
|
-
{ no: 6, name: "ICE_TRANSPORT_CLOSED" },
|
|
199
|
-
]);
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* @generated from enum livekit.proto.DtlsRole
|
|
203
|
-
*/
|
|
204
|
-
export enum DtlsRole {
|
|
205
|
-
/**
|
|
206
|
-
* @generated from enum value: DTLS_CLIENT = 0;
|
|
207
|
-
*/
|
|
208
|
-
DTLS_CLIENT = 0,
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* @generated from enum value: DTLS_SERVER = 1;
|
|
212
|
-
*/
|
|
213
|
-
DTLS_SERVER = 1,
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* @generated from enum value: DTLS_UNKNOWN = 2;
|
|
217
|
-
*/
|
|
218
|
-
DTLS_UNKNOWN = 2,
|
|
219
|
-
}
|
|
220
|
-
// Retrieve enum metadata with: proto2.getEnumType(DtlsRole)
|
|
221
|
-
proto2.util.setEnumType(DtlsRole, "livekit.proto.DtlsRole", [
|
|
222
|
-
{ no: 0, name: "DTLS_CLIENT" },
|
|
223
|
-
{ no: 1, name: "DTLS_SERVER" },
|
|
224
|
-
{ no: 2, name: "DTLS_UNKNOWN" },
|
|
225
|
-
]);
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* @generated from enum livekit.proto.IceCandidatePairState
|
|
229
|
-
*/
|
|
230
|
-
export enum IceCandidatePairState {
|
|
231
|
-
/**
|
|
232
|
-
* @generated from enum value: PAIR_FROZEN = 0;
|
|
233
|
-
*/
|
|
234
|
-
PAIR_FROZEN = 0,
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* @generated from enum value: PAIR_WAITING = 1;
|
|
238
|
-
*/
|
|
239
|
-
PAIR_WAITING = 1,
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* @generated from enum value: PAIR_IN_PROGRESS = 2;
|
|
243
|
-
*/
|
|
244
|
-
PAIR_IN_PROGRESS = 2,
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* @generated from enum value: PAIR_FAILED = 3;
|
|
248
|
-
*/
|
|
249
|
-
PAIR_FAILED = 3,
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* @generated from enum value: PAIR_SUCCEEDED = 4;
|
|
253
|
-
*/
|
|
254
|
-
PAIR_SUCCEEDED = 4,
|
|
255
|
-
}
|
|
256
|
-
// Retrieve enum metadata with: proto2.getEnumType(IceCandidatePairState)
|
|
257
|
-
proto2.util.setEnumType(IceCandidatePairState, "livekit.proto.IceCandidatePairState", [
|
|
258
|
-
{ no: 0, name: "PAIR_FROZEN" },
|
|
259
|
-
{ no: 1, name: "PAIR_WAITING" },
|
|
260
|
-
{ no: 2, name: "PAIR_IN_PROGRESS" },
|
|
261
|
-
{ no: 3, name: "PAIR_FAILED" },
|
|
262
|
-
{ no: 4, name: "PAIR_SUCCEEDED" },
|
|
263
|
-
]);
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* @generated from enum livekit.proto.IceCandidateType
|
|
267
|
-
*/
|
|
268
|
-
export enum IceCandidateType {
|
|
269
|
-
/**
|
|
270
|
-
* @generated from enum value: HOST = 0;
|
|
271
|
-
*/
|
|
272
|
-
HOST = 0,
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* @generated from enum value: SRFLX = 1;
|
|
276
|
-
*/
|
|
277
|
-
SRFLX = 1,
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* @generated from enum value: PRFLX = 2;
|
|
281
|
-
*/
|
|
282
|
-
PRFLX = 2,
|
|
283
|
-
|
|
284
|
-
/**
|
|
285
|
-
* @generated from enum value: RELAY = 3;
|
|
286
|
-
*/
|
|
287
|
-
RELAY = 3,
|
|
288
|
-
}
|
|
289
|
-
// Retrieve enum metadata with: proto2.getEnumType(IceCandidateType)
|
|
290
|
-
proto2.util.setEnumType(IceCandidateType, "livekit.proto.IceCandidateType", [
|
|
291
|
-
{ no: 0, name: "HOST" },
|
|
292
|
-
{ no: 1, name: "SRFLX" },
|
|
293
|
-
{ no: 2, name: "PRFLX" },
|
|
294
|
-
{ no: 3, name: "RELAY" },
|
|
295
|
-
]);
|
|
296
|
-
|
|
297
|
-
/**
|
|
298
|
-
* @generated from enum livekit.proto.IceServerTransportProtocol
|
|
299
|
-
*/
|
|
300
|
-
export enum IceServerTransportProtocol {
|
|
301
|
-
/**
|
|
302
|
-
* @generated from enum value: TRANSPORT_UDP = 0;
|
|
303
|
-
*/
|
|
304
|
-
TRANSPORT_UDP = 0,
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* @generated from enum value: TRANSPORT_TCP = 1;
|
|
308
|
-
*/
|
|
309
|
-
TRANSPORT_TCP = 1,
|
|
310
|
-
|
|
311
|
-
/**
|
|
312
|
-
* @generated from enum value: TRANSPORT_TLS = 2;
|
|
313
|
-
*/
|
|
314
|
-
TRANSPORT_TLS = 2,
|
|
315
|
-
}
|
|
316
|
-
// Retrieve enum metadata with: proto2.getEnumType(IceServerTransportProtocol)
|
|
317
|
-
proto2.util.setEnumType(IceServerTransportProtocol, "livekit.proto.IceServerTransportProtocol", [
|
|
318
|
-
{ no: 0, name: "TRANSPORT_UDP" },
|
|
319
|
-
{ no: 1, name: "TRANSPORT_TCP" },
|
|
320
|
-
{ no: 2, name: "TRANSPORT_TLS" },
|
|
321
|
-
]);
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* @generated from enum livekit.proto.IceTcpCandidateType
|
|
325
|
-
*/
|
|
326
|
-
export enum IceTcpCandidateType {
|
|
327
|
-
/**
|
|
328
|
-
* @generated from enum value: CANDIDATE_ACTIVE = 0;
|
|
329
|
-
*/
|
|
330
|
-
CANDIDATE_ACTIVE = 0,
|
|
331
|
-
|
|
332
|
-
/**
|
|
333
|
-
* @generated from enum value: CANDIDATE_PASSIVE = 1;
|
|
334
|
-
*/
|
|
335
|
-
CANDIDATE_PASSIVE = 1,
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* @generated from enum value: CANDIDATE_SO = 2;
|
|
339
|
-
*/
|
|
340
|
-
CANDIDATE_SO = 2,
|
|
341
|
-
}
|
|
342
|
-
// Retrieve enum metadata with: proto2.getEnumType(IceTcpCandidateType)
|
|
343
|
-
proto2.util.setEnumType(IceTcpCandidateType, "livekit.proto.IceTcpCandidateType", [
|
|
344
|
-
{ no: 0, name: "CANDIDATE_ACTIVE" },
|
|
345
|
-
{ no: 1, name: "CANDIDATE_PASSIVE" },
|
|
346
|
-
{ no: 2, name: "CANDIDATE_SO" },
|
|
347
|
-
]);
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
* @generated from message livekit.proto.RtcStats
|
|
351
|
-
*/
|
|
352
|
-
export class RtcStats extends Message<RtcStats> {
|
|
353
|
-
/**
|
|
354
|
-
* @generated from oneof livekit.proto.RtcStats.stats
|
|
355
|
-
*/
|
|
356
|
-
stats: {
|
|
357
|
-
/**
|
|
358
|
-
* @generated from field: livekit.proto.RtcStats.Codec codec = 3;
|
|
359
|
-
*/
|
|
360
|
-
value: RtcStats_Codec;
|
|
361
|
-
case: "codec";
|
|
362
|
-
} | {
|
|
363
|
-
/**
|
|
364
|
-
* @generated from field: livekit.proto.RtcStats.InboundRtp inbound_rtp = 4;
|
|
365
|
-
*/
|
|
366
|
-
value: RtcStats_InboundRtp;
|
|
367
|
-
case: "inboundRtp";
|
|
368
|
-
} | {
|
|
369
|
-
/**
|
|
370
|
-
* @generated from field: livekit.proto.RtcStats.OutboundRtp outbound_rtp = 5;
|
|
371
|
-
*/
|
|
372
|
-
value: RtcStats_OutboundRtp;
|
|
373
|
-
case: "outboundRtp";
|
|
374
|
-
} | {
|
|
375
|
-
/**
|
|
376
|
-
* @generated from field: livekit.proto.RtcStats.RemoteInboundRtp remote_inbound_rtp = 6;
|
|
377
|
-
*/
|
|
378
|
-
value: RtcStats_RemoteInboundRtp;
|
|
379
|
-
case: "remoteInboundRtp";
|
|
380
|
-
} | {
|
|
381
|
-
/**
|
|
382
|
-
* @generated from field: livekit.proto.RtcStats.RemoteOutboundRtp remote_outbound_rtp = 7;
|
|
383
|
-
*/
|
|
384
|
-
value: RtcStats_RemoteOutboundRtp;
|
|
385
|
-
case: "remoteOutboundRtp";
|
|
386
|
-
} | {
|
|
387
|
-
/**
|
|
388
|
-
* @generated from field: livekit.proto.RtcStats.MediaSource media_source = 8;
|
|
389
|
-
*/
|
|
390
|
-
value: RtcStats_MediaSource;
|
|
391
|
-
case: "mediaSource";
|
|
392
|
-
} | {
|
|
393
|
-
/**
|
|
394
|
-
* @generated from field: livekit.proto.RtcStats.MediaPlayout media_playout = 9;
|
|
395
|
-
*/
|
|
396
|
-
value: RtcStats_MediaPlayout;
|
|
397
|
-
case: "mediaPlayout";
|
|
398
|
-
} | {
|
|
399
|
-
/**
|
|
400
|
-
* @generated from field: livekit.proto.RtcStats.PeerConnection peer_connection = 10;
|
|
401
|
-
*/
|
|
402
|
-
value: RtcStats_PeerConnection;
|
|
403
|
-
case: "peerConnection";
|
|
404
|
-
} | {
|
|
405
|
-
/**
|
|
406
|
-
* @generated from field: livekit.proto.RtcStats.DataChannel data_channel = 11;
|
|
407
|
-
*/
|
|
408
|
-
value: RtcStats_DataChannel;
|
|
409
|
-
case: "dataChannel";
|
|
410
|
-
} | {
|
|
411
|
-
/**
|
|
412
|
-
* @generated from field: livekit.proto.RtcStats.Transport transport = 12;
|
|
413
|
-
*/
|
|
414
|
-
value: RtcStats_Transport;
|
|
415
|
-
case: "transport";
|
|
416
|
-
} | {
|
|
417
|
-
/**
|
|
418
|
-
* @generated from field: livekit.proto.RtcStats.CandidatePair candidate_pair = 13;
|
|
419
|
-
*/
|
|
420
|
-
value: RtcStats_CandidatePair;
|
|
421
|
-
case: "candidatePair";
|
|
422
|
-
} | {
|
|
423
|
-
/**
|
|
424
|
-
* @generated from field: livekit.proto.RtcStats.LocalCandidate local_candidate = 14;
|
|
425
|
-
*/
|
|
426
|
-
value: RtcStats_LocalCandidate;
|
|
427
|
-
case: "localCandidate";
|
|
428
|
-
} | {
|
|
429
|
-
/**
|
|
430
|
-
* @generated from field: livekit.proto.RtcStats.RemoteCandidate remote_candidate = 15;
|
|
431
|
-
*/
|
|
432
|
-
value: RtcStats_RemoteCandidate;
|
|
433
|
-
case: "remoteCandidate";
|
|
434
|
-
} | {
|
|
435
|
-
/**
|
|
436
|
-
* @generated from field: livekit.proto.RtcStats.Certificate certificate = 16;
|
|
437
|
-
*/
|
|
438
|
-
value: RtcStats_Certificate;
|
|
439
|
-
case: "certificate";
|
|
440
|
-
} | {
|
|
441
|
-
/**
|
|
442
|
-
* @generated from field: livekit.proto.RtcStats.Stream stream = 17;
|
|
443
|
-
*/
|
|
444
|
-
value: RtcStats_Stream;
|
|
445
|
-
case: "stream";
|
|
446
|
-
} | {
|
|
447
|
-
/**
|
|
448
|
-
* @generated from field: livekit.proto.RtcStats.Track track = 18;
|
|
449
|
-
*/
|
|
450
|
-
value: RtcStats_Track;
|
|
451
|
-
case: "track";
|
|
452
|
-
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
453
|
-
|
|
454
|
-
constructor(data?: PartialMessage<RtcStats>) {
|
|
455
|
-
super();
|
|
456
|
-
proto2.util.initPartial(data, this);
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
460
|
-
static readonly typeName = "livekit.proto.RtcStats";
|
|
461
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
462
|
-
{ no: 3, name: "codec", kind: "message", T: RtcStats_Codec, oneof: "stats" },
|
|
463
|
-
{ no: 4, name: "inbound_rtp", kind: "message", T: RtcStats_InboundRtp, oneof: "stats" },
|
|
464
|
-
{ no: 5, name: "outbound_rtp", kind: "message", T: RtcStats_OutboundRtp, oneof: "stats" },
|
|
465
|
-
{ no: 6, name: "remote_inbound_rtp", kind: "message", T: RtcStats_RemoteInboundRtp, oneof: "stats" },
|
|
466
|
-
{ no: 7, name: "remote_outbound_rtp", kind: "message", T: RtcStats_RemoteOutboundRtp, oneof: "stats" },
|
|
467
|
-
{ no: 8, name: "media_source", kind: "message", T: RtcStats_MediaSource, oneof: "stats" },
|
|
468
|
-
{ no: 9, name: "media_playout", kind: "message", T: RtcStats_MediaPlayout, oneof: "stats" },
|
|
469
|
-
{ no: 10, name: "peer_connection", kind: "message", T: RtcStats_PeerConnection, oneof: "stats" },
|
|
470
|
-
{ no: 11, name: "data_channel", kind: "message", T: RtcStats_DataChannel, oneof: "stats" },
|
|
471
|
-
{ no: 12, name: "transport", kind: "message", T: RtcStats_Transport, oneof: "stats" },
|
|
472
|
-
{ no: 13, name: "candidate_pair", kind: "message", T: RtcStats_CandidatePair, oneof: "stats" },
|
|
473
|
-
{ no: 14, name: "local_candidate", kind: "message", T: RtcStats_LocalCandidate, oneof: "stats" },
|
|
474
|
-
{ no: 15, name: "remote_candidate", kind: "message", T: RtcStats_RemoteCandidate, oneof: "stats" },
|
|
475
|
-
{ no: 16, name: "certificate", kind: "message", T: RtcStats_Certificate, oneof: "stats" },
|
|
476
|
-
{ no: 17, name: "stream", kind: "message", T: RtcStats_Stream, oneof: "stats" },
|
|
477
|
-
{ no: 18, name: "track", kind: "message", T: RtcStats_Track, oneof: "stats" },
|
|
478
|
-
]);
|
|
479
|
-
|
|
480
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats {
|
|
481
|
-
return new RtcStats().fromBinary(bytes, options);
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats {
|
|
485
|
-
return new RtcStats().fromJson(jsonValue, options);
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats {
|
|
489
|
-
return new RtcStats().fromJsonString(jsonString, options);
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
static equals(a: RtcStats | PlainMessage<RtcStats> | undefined, b: RtcStats | PlainMessage<RtcStats> | undefined): boolean {
|
|
493
|
-
return proto2.util.equals(RtcStats, a, b);
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
/**
|
|
498
|
-
* @generated from message livekit.proto.RtcStats.Codec
|
|
499
|
-
*/
|
|
500
|
-
export class RtcStats_Codec extends Message<RtcStats_Codec> {
|
|
501
|
-
/**
|
|
502
|
-
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
503
|
-
*/
|
|
504
|
-
rtc?: RtcStatsData;
|
|
505
|
-
|
|
506
|
-
/**
|
|
507
|
-
* @generated from field: required livekit.proto.CodecStats codec = 2;
|
|
508
|
-
*/
|
|
509
|
-
codec?: CodecStats;
|
|
510
|
-
|
|
511
|
-
constructor(data?: PartialMessage<RtcStats_Codec>) {
|
|
512
|
-
super();
|
|
513
|
-
proto2.util.initPartial(data, this);
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
517
|
-
static readonly typeName = "livekit.proto.RtcStats.Codec";
|
|
518
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
519
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
|
|
520
|
-
{ no: 2, name: "codec", kind: "message", T: CodecStats, req: true },
|
|
521
|
-
]);
|
|
522
|
-
|
|
523
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_Codec {
|
|
524
|
-
return new RtcStats_Codec().fromBinary(bytes, options);
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_Codec {
|
|
528
|
-
return new RtcStats_Codec().fromJson(jsonValue, options);
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_Codec {
|
|
532
|
-
return new RtcStats_Codec().fromJsonString(jsonString, options);
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
static equals(a: RtcStats_Codec | PlainMessage<RtcStats_Codec> | undefined, b: RtcStats_Codec | PlainMessage<RtcStats_Codec> | undefined): boolean {
|
|
536
|
-
return proto2.util.equals(RtcStats_Codec, a, b);
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
/**
|
|
541
|
-
* @generated from message livekit.proto.RtcStats.InboundRtp
|
|
542
|
-
*/
|
|
543
|
-
export class RtcStats_InboundRtp extends Message<RtcStats_InboundRtp> {
|
|
544
|
-
/**
|
|
545
|
-
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
546
|
-
*/
|
|
547
|
-
rtc?: RtcStatsData;
|
|
548
|
-
|
|
549
|
-
/**
|
|
550
|
-
* @generated from field: required livekit.proto.RtpStreamStats stream = 2;
|
|
551
|
-
*/
|
|
552
|
-
stream?: RtpStreamStats;
|
|
553
|
-
|
|
554
|
-
/**
|
|
555
|
-
* @generated from field: required livekit.proto.ReceivedRtpStreamStats received = 3;
|
|
556
|
-
*/
|
|
557
|
-
received?: ReceivedRtpStreamStats;
|
|
558
|
-
|
|
559
|
-
/**
|
|
560
|
-
* @generated from field: required livekit.proto.InboundRtpStreamStats inbound = 4;
|
|
561
|
-
*/
|
|
562
|
-
inbound?: InboundRtpStreamStats;
|
|
563
|
-
|
|
564
|
-
constructor(data?: PartialMessage<RtcStats_InboundRtp>) {
|
|
565
|
-
super();
|
|
566
|
-
proto2.util.initPartial(data, this);
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
570
|
-
static readonly typeName = "livekit.proto.RtcStats.InboundRtp";
|
|
571
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
572
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
|
|
573
|
-
{ no: 2, name: "stream", kind: "message", T: RtpStreamStats, req: true },
|
|
574
|
-
{ no: 3, name: "received", kind: "message", T: ReceivedRtpStreamStats, req: true },
|
|
575
|
-
{ no: 4, name: "inbound", kind: "message", T: InboundRtpStreamStats, req: true },
|
|
576
|
-
]);
|
|
577
|
-
|
|
578
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_InboundRtp {
|
|
579
|
-
return new RtcStats_InboundRtp().fromBinary(bytes, options);
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_InboundRtp {
|
|
583
|
-
return new RtcStats_InboundRtp().fromJson(jsonValue, options);
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_InboundRtp {
|
|
587
|
-
return new RtcStats_InboundRtp().fromJsonString(jsonString, options);
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
static equals(a: RtcStats_InboundRtp | PlainMessage<RtcStats_InboundRtp> | undefined, b: RtcStats_InboundRtp | PlainMessage<RtcStats_InboundRtp> | undefined): boolean {
|
|
591
|
-
return proto2.util.equals(RtcStats_InboundRtp, a, b);
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
/**
|
|
596
|
-
* @generated from message livekit.proto.RtcStats.OutboundRtp
|
|
597
|
-
*/
|
|
598
|
-
export class RtcStats_OutboundRtp extends Message<RtcStats_OutboundRtp> {
|
|
599
|
-
/**
|
|
600
|
-
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
601
|
-
*/
|
|
602
|
-
rtc?: RtcStatsData;
|
|
603
|
-
|
|
604
|
-
/**
|
|
605
|
-
* @generated from field: required livekit.proto.RtpStreamStats stream = 2;
|
|
606
|
-
*/
|
|
607
|
-
stream?: RtpStreamStats;
|
|
608
|
-
|
|
609
|
-
/**
|
|
610
|
-
* @generated from field: required livekit.proto.SentRtpStreamStats sent = 3;
|
|
611
|
-
*/
|
|
612
|
-
sent?: SentRtpStreamStats;
|
|
613
|
-
|
|
614
|
-
/**
|
|
615
|
-
* @generated from field: required livekit.proto.OutboundRtpStreamStats outbound = 4;
|
|
616
|
-
*/
|
|
617
|
-
outbound?: OutboundRtpStreamStats;
|
|
618
|
-
|
|
619
|
-
constructor(data?: PartialMessage<RtcStats_OutboundRtp>) {
|
|
620
|
-
super();
|
|
621
|
-
proto2.util.initPartial(data, this);
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
625
|
-
static readonly typeName = "livekit.proto.RtcStats.OutboundRtp";
|
|
626
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
627
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
|
|
628
|
-
{ no: 2, name: "stream", kind: "message", T: RtpStreamStats, req: true },
|
|
629
|
-
{ no: 3, name: "sent", kind: "message", T: SentRtpStreamStats, req: true },
|
|
630
|
-
{ no: 4, name: "outbound", kind: "message", T: OutboundRtpStreamStats, req: true },
|
|
631
|
-
]);
|
|
632
|
-
|
|
633
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_OutboundRtp {
|
|
634
|
-
return new RtcStats_OutboundRtp().fromBinary(bytes, options);
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_OutboundRtp {
|
|
638
|
-
return new RtcStats_OutboundRtp().fromJson(jsonValue, options);
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_OutboundRtp {
|
|
642
|
-
return new RtcStats_OutboundRtp().fromJsonString(jsonString, options);
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
static equals(a: RtcStats_OutboundRtp | PlainMessage<RtcStats_OutboundRtp> | undefined, b: RtcStats_OutboundRtp | PlainMessage<RtcStats_OutboundRtp> | undefined): boolean {
|
|
646
|
-
return proto2.util.equals(RtcStats_OutboundRtp, a, b);
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
/**
|
|
651
|
-
* @generated from message livekit.proto.RtcStats.RemoteInboundRtp
|
|
652
|
-
*/
|
|
653
|
-
export class RtcStats_RemoteInboundRtp extends Message<RtcStats_RemoteInboundRtp> {
|
|
654
|
-
/**
|
|
655
|
-
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
656
|
-
*/
|
|
657
|
-
rtc?: RtcStatsData;
|
|
658
|
-
|
|
659
|
-
/**
|
|
660
|
-
* @generated from field: required livekit.proto.RtpStreamStats stream = 2;
|
|
661
|
-
*/
|
|
662
|
-
stream?: RtpStreamStats;
|
|
663
|
-
|
|
664
|
-
/**
|
|
665
|
-
* @generated from field: required livekit.proto.ReceivedRtpStreamStats received = 3;
|
|
666
|
-
*/
|
|
667
|
-
received?: ReceivedRtpStreamStats;
|
|
668
|
-
|
|
669
|
-
/**
|
|
670
|
-
* @generated from field: required livekit.proto.RemoteInboundRtpStreamStats remote_inbound = 4;
|
|
671
|
-
*/
|
|
672
|
-
remoteInbound?: RemoteInboundRtpStreamStats;
|
|
673
|
-
|
|
674
|
-
constructor(data?: PartialMessage<RtcStats_RemoteInboundRtp>) {
|
|
675
|
-
super();
|
|
676
|
-
proto2.util.initPartial(data, this);
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
680
|
-
static readonly typeName = "livekit.proto.RtcStats.RemoteInboundRtp";
|
|
681
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
682
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
|
|
683
|
-
{ no: 2, name: "stream", kind: "message", T: RtpStreamStats, req: true },
|
|
684
|
-
{ no: 3, name: "received", kind: "message", T: ReceivedRtpStreamStats, req: true },
|
|
685
|
-
{ no: 4, name: "remote_inbound", kind: "message", T: RemoteInboundRtpStreamStats, req: true },
|
|
686
|
-
]);
|
|
687
|
-
|
|
688
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_RemoteInboundRtp {
|
|
689
|
-
return new RtcStats_RemoteInboundRtp().fromBinary(bytes, options);
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_RemoteInboundRtp {
|
|
693
|
-
return new RtcStats_RemoteInboundRtp().fromJson(jsonValue, options);
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_RemoteInboundRtp {
|
|
697
|
-
return new RtcStats_RemoteInboundRtp().fromJsonString(jsonString, options);
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
static equals(a: RtcStats_RemoteInboundRtp | PlainMessage<RtcStats_RemoteInboundRtp> | undefined, b: RtcStats_RemoteInboundRtp | PlainMessage<RtcStats_RemoteInboundRtp> | undefined): boolean {
|
|
701
|
-
return proto2.util.equals(RtcStats_RemoteInboundRtp, a, b);
|
|
702
|
-
}
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
/**
|
|
706
|
-
* @generated from message livekit.proto.RtcStats.RemoteOutboundRtp
|
|
707
|
-
*/
|
|
708
|
-
export class RtcStats_RemoteOutboundRtp extends Message<RtcStats_RemoteOutboundRtp> {
|
|
709
|
-
/**
|
|
710
|
-
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
711
|
-
*/
|
|
712
|
-
rtc?: RtcStatsData;
|
|
713
|
-
|
|
714
|
-
/**
|
|
715
|
-
* @generated from field: required livekit.proto.RtpStreamStats stream = 2;
|
|
716
|
-
*/
|
|
717
|
-
stream?: RtpStreamStats;
|
|
718
|
-
|
|
719
|
-
/**
|
|
720
|
-
* @generated from field: required livekit.proto.SentRtpStreamStats sent = 3;
|
|
721
|
-
*/
|
|
722
|
-
sent?: SentRtpStreamStats;
|
|
723
|
-
|
|
724
|
-
/**
|
|
725
|
-
* @generated from field: required livekit.proto.RemoteOutboundRtpStreamStats remote_outbound = 4;
|
|
726
|
-
*/
|
|
727
|
-
remoteOutbound?: RemoteOutboundRtpStreamStats;
|
|
728
|
-
|
|
729
|
-
constructor(data?: PartialMessage<RtcStats_RemoteOutboundRtp>) {
|
|
730
|
-
super();
|
|
731
|
-
proto2.util.initPartial(data, this);
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
735
|
-
static readonly typeName = "livekit.proto.RtcStats.RemoteOutboundRtp";
|
|
736
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
737
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
|
|
738
|
-
{ no: 2, name: "stream", kind: "message", T: RtpStreamStats, req: true },
|
|
739
|
-
{ no: 3, name: "sent", kind: "message", T: SentRtpStreamStats, req: true },
|
|
740
|
-
{ no: 4, name: "remote_outbound", kind: "message", T: RemoteOutboundRtpStreamStats, req: true },
|
|
741
|
-
]);
|
|
742
|
-
|
|
743
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_RemoteOutboundRtp {
|
|
744
|
-
return new RtcStats_RemoteOutboundRtp().fromBinary(bytes, options);
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_RemoteOutboundRtp {
|
|
748
|
-
return new RtcStats_RemoteOutboundRtp().fromJson(jsonValue, options);
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_RemoteOutboundRtp {
|
|
752
|
-
return new RtcStats_RemoteOutboundRtp().fromJsonString(jsonString, options);
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
static equals(a: RtcStats_RemoteOutboundRtp | PlainMessage<RtcStats_RemoteOutboundRtp> | undefined, b: RtcStats_RemoteOutboundRtp | PlainMessage<RtcStats_RemoteOutboundRtp> | undefined): boolean {
|
|
756
|
-
return proto2.util.equals(RtcStats_RemoteOutboundRtp, a, b);
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
/**
|
|
761
|
-
* @generated from message livekit.proto.RtcStats.MediaSource
|
|
762
|
-
*/
|
|
763
|
-
export class RtcStats_MediaSource extends Message<RtcStats_MediaSource> {
|
|
764
|
-
/**
|
|
765
|
-
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
766
|
-
*/
|
|
767
|
-
rtc?: RtcStatsData;
|
|
768
|
-
|
|
769
|
-
/**
|
|
770
|
-
* @generated from field: required livekit.proto.MediaSourceStats source = 2;
|
|
771
|
-
*/
|
|
772
|
-
source?: MediaSourceStats;
|
|
773
|
-
|
|
774
|
-
/**
|
|
775
|
-
* @generated from field: required livekit.proto.AudioSourceStats audio = 3;
|
|
776
|
-
*/
|
|
777
|
-
audio?: AudioSourceStats;
|
|
778
|
-
|
|
779
|
-
/**
|
|
780
|
-
* @generated from field: required livekit.proto.VideoSourceStats video = 4;
|
|
781
|
-
*/
|
|
782
|
-
video?: VideoSourceStats;
|
|
783
|
-
|
|
784
|
-
constructor(data?: PartialMessage<RtcStats_MediaSource>) {
|
|
785
|
-
super();
|
|
786
|
-
proto2.util.initPartial(data, this);
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
790
|
-
static readonly typeName = "livekit.proto.RtcStats.MediaSource";
|
|
791
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
792
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
|
|
793
|
-
{ no: 2, name: "source", kind: "message", T: MediaSourceStats, req: true },
|
|
794
|
-
{ no: 3, name: "audio", kind: "message", T: AudioSourceStats, req: true },
|
|
795
|
-
{ no: 4, name: "video", kind: "message", T: VideoSourceStats, req: true },
|
|
796
|
-
]);
|
|
797
|
-
|
|
798
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_MediaSource {
|
|
799
|
-
return new RtcStats_MediaSource().fromBinary(bytes, options);
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_MediaSource {
|
|
803
|
-
return new RtcStats_MediaSource().fromJson(jsonValue, options);
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_MediaSource {
|
|
807
|
-
return new RtcStats_MediaSource().fromJsonString(jsonString, options);
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
static equals(a: RtcStats_MediaSource | PlainMessage<RtcStats_MediaSource> | undefined, b: RtcStats_MediaSource | PlainMessage<RtcStats_MediaSource> | undefined): boolean {
|
|
811
|
-
return proto2.util.equals(RtcStats_MediaSource, a, b);
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
|
|
815
|
-
/**
|
|
816
|
-
* @generated from message livekit.proto.RtcStats.MediaPlayout
|
|
817
|
-
*/
|
|
818
|
-
export class RtcStats_MediaPlayout extends Message<RtcStats_MediaPlayout> {
|
|
819
|
-
/**
|
|
820
|
-
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
821
|
-
*/
|
|
822
|
-
rtc?: RtcStatsData;
|
|
823
|
-
|
|
824
|
-
/**
|
|
825
|
-
* @generated from field: required livekit.proto.AudioPlayoutStats audio_playout = 2;
|
|
826
|
-
*/
|
|
827
|
-
audioPlayout?: AudioPlayoutStats;
|
|
828
|
-
|
|
829
|
-
constructor(data?: PartialMessage<RtcStats_MediaPlayout>) {
|
|
830
|
-
super();
|
|
831
|
-
proto2.util.initPartial(data, this);
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
835
|
-
static readonly typeName = "livekit.proto.RtcStats.MediaPlayout";
|
|
836
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
837
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
|
|
838
|
-
{ no: 2, name: "audio_playout", kind: "message", T: AudioPlayoutStats, req: true },
|
|
839
|
-
]);
|
|
840
|
-
|
|
841
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_MediaPlayout {
|
|
842
|
-
return new RtcStats_MediaPlayout().fromBinary(bytes, options);
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_MediaPlayout {
|
|
846
|
-
return new RtcStats_MediaPlayout().fromJson(jsonValue, options);
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_MediaPlayout {
|
|
850
|
-
return new RtcStats_MediaPlayout().fromJsonString(jsonString, options);
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
static equals(a: RtcStats_MediaPlayout | PlainMessage<RtcStats_MediaPlayout> | undefined, b: RtcStats_MediaPlayout | PlainMessage<RtcStats_MediaPlayout> | undefined): boolean {
|
|
854
|
-
return proto2.util.equals(RtcStats_MediaPlayout, a, b);
|
|
855
|
-
}
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
/**
|
|
859
|
-
* @generated from message livekit.proto.RtcStats.PeerConnection
|
|
860
|
-
*/
|
|
861
|
-
export class RtcStats_PeerConnection extends Message<RtcStats_PeerConnection> {
|
|
862
|
-
/**
|
|
863
|
-
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
864
|
-
*/
|
|
865
|
-
rtc?: RtcStatsData;
|
|
866
|
-
|
|
867
|
-
/**
|
|
868
|
-
* @generated from field: required livekit.proto.PeerConnectionStats pc = 2;
|
|
869
|
-
*/
|
|
870
|
-
pc?: PeerConnectionStats;
|
|
871
|
-
|
|
872
|
-
constructor(data?: PartialMessage<RtcStats_PeerConnection>) {
|
|
873
|
-
super();
|
|
874
|
-
proto2.util.initPartial(data, this);
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
878
|
-
static readonly typeName = "livekit.proto.RtcStats.PeerConnection";
|
|
879
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
880
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
|
|
881
|
-
{ no: 2, name: "pc", kind: "message", T: PeerConnectionStats, req: true },
|
|
882
|
-
]);
|
|
883
|
-
|
|
884
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_PeerConnection {
|
|
885
|
-
return new RtcStats_PeerConnection().fromBinary(bytes, options);
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_PeerConnection {
|
|
889
|
-
return new RtcStats_PeerConnection().fromJson(jsonValue, options);
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_PeerConnection {
|
|
893
|
-
return new RtcStats_PeerConnection().fromJsonString(jsonString, options);
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
static equals(a: RtcStats_PeerConnection | PlainMessage<RtcStats_PeerConnection> | undefined, b: RtcStats_PeerConnection | PlainMessage<RtcStats_PeerConnection> | undefined): boolean {
|
|
897
|
-
return proto2.util.equals(RtcStats_PeerConnection, a, b);
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
/**
|
|
902
|
-
* @generated from message livekit.proto.RtcStats.DataChannel
|
|
903
|
-
*/
|
|
904
|
-
export class RtcStats_DataChannel extends Message<RtcStats_DataChannel> {
|
|
905
|
-
/**
|
|
906
|
-
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
907
|
-
*/
|
|
908
|
-
rtc?: RtcStatsData;
|
|
909
|
-
|
|
910
|
-
/**
|
|
911
|
-
* @generated from field: required livekit.proto.DataChannelStats dc = 2;
|
|
912
|
-
*/
|
|
913
|
-
dc?: DataChannelStats;
|
|
914
|
-
|
|
915
|
-
constructor(data?: PartialMessage<RtcStats_DataChannel>) {
|
|
916
|
-
super();
|
|
917
|
-
proto2.util.initPartial(data, this);
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
921
|
-
static readonly typeName = "livekit.proto.RtcStats.DataChannel";
|
|
922
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
923
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
|
|
924
|
-
{ no: 2, name: "dc", kind: "message", T: DataChannelStats, req: true },
|
|
925
|
-
]);
|
|
926
|
-
|
|
927
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_DataChannel {
|
|
928
|
-
return new RtcStats_DataChannel().fromBinary(bytes, options);
|
|
929
|
-
}
|
|
930
|
-
|
|
931
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_DataChannel {
|
|
932
|
-
return new RtcStats_DataChannel().fromJson(jsonValue, options);
|
|
933
|
-
}
|
|
934
|
-
|
|
935
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_DataChannel {
|
|
936
|
-
return new RtcStats_DataChannel().fromJsonString(jsonString, options);
|
|
937
|
-
}
|
|
938
|
-
|
|
939
|
-
static equals(a: RtcStats_DataChannel | PlainMessage<RtcStats_DataChannel> | undefined, b: RtcStats_DataChannel | PlainMessage<RtcStats_DataChannel> | undefined): boolean {
|
|
940
|
-
return proto2.util.equals(RtcStats_DataChannel, a, b);
|
|
941
|
-
}
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
/**
|
|
945
|
-
* @generated from message livekit.proto.RtcStats.Transport
|
|
946
|
-
*/
|
|
947
|
-
export class RtcStats_Transport extends Message<RtcStats_Transport> {
|
|
948
|
-
/**
|
|
949
|
-
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
950
|
-
*/
|
|
951
|
-
rtc?: RtcStatsData;
|
|
952
|
-
|
|
953
|
-
/**
|
|
954
|
-
* @generated from field: required livekit.proto.TransportStats transport = 2;
|
|
955
|
-
*/
|
|
956
|
-
transport?: TransportStats;
|
|
957
|
-
|
|
958
|
-
constructor(data?: PartialMessage<RtcStats_Transport>) {
|
|
959
|
-
super();
|
|
960
|
-
proto2.util.initPartial(data, this);
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
964
|
-
static readonly typeName = "livekit.proto.RtcStats.Transport";
|
|
965
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
966
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
|
|
967
|
-
{ no: 2, name: "transport", kind: "message", T: TransportStats, req: true },
|
|
968
|
-
]);
|
|
969
|
-
|
|
970
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_Transport {
|
|
971
|
-
return new RtcStats_Transport().fromBinary(bytes, options);
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_Transport {
|
|
975
|
-
return new RtcStats_Transport().fromJson(jsonValue, options);
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_Transport {
|
|
979
|
-
return new RtcStats_Transport().fromJsonString(jsonString, options);
|
|
980
|
-
}
|
|
981
|
-
|
|
982
|
-
static equals(a: RtcStats_Transport | PlainMessage<RtcStats_Transport> | undefined, b: RtcStats_Transport | PlainMessage<RtcStats_Transport> | undefined): boolean {
|
|
983
|
-
return proto2.util.equals(RtcStats_Transport, a, b);
|
|
984
|
-
}
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
/**
|
|
988
|
-
* @generated from message livekit.proto.RtcStats.CandidatePair
|
|
989
|
-
*/
|
|
990
|
-
export class RtcStats_CandidatePair extends Message<RtcStats_CandidatePair> {
|
|
991
|
-
/**
|
|
992
|
-
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
993
|
-
*/
|
|
994
|
-
rtc?: RtcStatsData;
|
|
995
|
-
|
|
996
|
-
/**
|
|
997
|
-
* @generated from field: required livekit.proto.CandidatePairStats candidate_pair = 2;
|
|
998
|
-
*/
|
|
999
|
-
candidatePair?: CandidatePairStats;
|
|
1000
|
-
|
|
1001
|
-
constructor(data?: PartialMessage<RtcStats_CandidatePair>) {
|
|
1002
|
-
super();
|
|
1003
|
-
proto2.util.initPartial(data, this);
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
1007
|
-
static readonly typeName = "livekit.proto.RtcStats.CandidatePair";
|
|
1008
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1009
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
|
|
1010
|
-
{ no: 2, name: "candidate_pair", kind: "message", T: CandidatePairStats, req: true },
|
|
1011
|
-
]);
|
|
1012
|
-
|
|
1013
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_CandidatePair {
|
|
1014
|
-
return new RtcStats_CandidatePair().fromBinary(bytes, options);
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_CandidatePair {
|
|
1018
|
-
return new RtcStats_CandidatePair().fromJson(jsonValue, options);
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_CandidatePair {
|
|
1022
|
-
return new RtcStats_CandidatePair().fromJsonString(jsonString, options);
|
|
1023
|
-
}
|
|
1024
|
-
|
|
1025
|
-
static equals(a: RtcStats_CandidatePair | PlainMessage<RtcStats_CandidatePair> | undefined, b: RtcStats_CandidatePair | PlainMessage<RtcStats_CandidatePair> | undefined): boolean {
|
|
1026
|
-
return proto2.util.equals(RtcStats_CandidatePair, a, b);
|
|
1027
|
-
}
|
|
1028
|
-
}
|
|
1029
|
-
|
|
1030
|
-
/**
|
|
1031
|
-
* @generated from message livekit.proto.RtcStats.LocalCandidate
|
|
1032
|
-
*/
|
|
1033
|
-
export class RtcStats_LocalCandidate extends Message<RtcStats_LocalCandidate> {
|
|
1034
|
-
/**
|
|
1035
|
-
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
1036
|
-
*/
|
|
1037
|
-
rtc?: RtcStatsData;
|
|
1038
|
-
|
|
1039
|
-
/**
|
|
1040
|
-
* @generated from field: required livekit.proto.IceCandidateStats candidate = 2;
|
|
1041
|
-
*/
|
|
1042
|
-
candidate?: IceCandidateStats;
|
|
1043
|
-
|
|
1044
|
-
constructor(data?: PartialMessage<RtcStats_LocalCandidate>) {
|
|
1045
|
-
super();
|
|
1046
|
-
proto2.util.initPartial(data, this);
|
|
1047
|
-
}
|
|
1048
|
-
|
|
1049
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
1050
|
-
static readonly typeName = "livekit.proto.RtcStats.LocalCandidate";
|
|
1051
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1052
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
|
|
1053
|
-
{ no: 2, name: "candidate", kind: "message", T: IceCandidateStats, req: true },
|
|
1054
|
-
]);
|
|
1055
|
-
|
|
1056
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_LocalCandidate {
|
|
1057
|
-
return new RtcStats_LocalCandidate().fromBinary(bytes, options);
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_LocalCandidate {
|
|
1061
|
-
return new RtcStats_LocalCandidate().fromJson(jsonValue, options);
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_LocalCandidate {
|
|
1065
|
-
return new RtcStats_LocalCandidate().fromJsonString(jsonString, options);
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
|
-
static equals(a: RtcStats_LocalCandidate | PlainMessage<RtcStats_LocalCandidate> | undefined, b: RtcStats_LocalCandidate | PlainMessage<RtcStats_LocalCandidate> | undefined): boolean {
|
|
1069
|
-
return proto2.util.equals(RtcStats_LocalCandidate, a, b);
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
|
|
1073
|
-
/**
|
|
1074
|
-
* @generated from message livekit.proto.RtcStats.RemoteCandidate
|
|
1075
|
-
*/
|
|
1076
|
-
export class RtcStats_RemoteCandidate extends Message<RtcStats_RemoteCandidate> {
|
|
1077
|
-
/**
|
|
1078
|
-
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
1079
|
-
*/
|
|
1080
|
-
rtc?: RtcStatsData;
|
|
1081
|
-
|
|
1082
|
-
/**
|
|
1083
|
-
* @generated from field: required livekit.proto.IceCandidateStats candidate = 2;
|
|
1084
|
-
*/
|
|
1085
|
-
candidate?: IceCandidateStats;
|
|
1086
|
-
|
|
1087
|
-
constructor(data?: PartialMessage<RtcStats_RemoteCandidate>) {
|
|
1088
|
-
super();
|
|
1089
|
-
proto2.util.initPartial(data, this);
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
1093
|
-
static readonly typeName = "livekit.proto.RtcStats.RemoteCandidate";
|
|
1094
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1095
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
|
|
1096
|
-
{ no: 2, name: "candidate", kind: "message", T: IceCandidateStats, req: true },
|
|
1097
|
-
]);
|
|
1098
|
-
|
|
1099
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_RemoteCandidate {
|
|
1100
|
-
return new RtcStats_RemoteCandidate().fromBinary(bytes, options);
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_RemoteCandidate {
|
|
1104
|
-
return new RtcStats_RemoteCandidate().fromJson(jsonValue, options);
|
|
1105
|
-
}
|
|
1106
|
-
|
|
1107
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_RemoteCandidate {
|
|
1108
|
-
return new RtcStats_RemoteCandidate().fromJsonString(jsonString, options);
|
|
1109
|
-
}
|
|
1110
|
-
|
|
1111
|
-
static equals(a: RtcStats_RemoteCandidate | PlainMessage<RtcStats_RemoteCandidate> | undefined, b: RtcStats_RemoteCandidate | PlainMessage<RtcStats_RemoteCandidate> | undefined): boolean {
|
|
1112
|
-
return proto2.util.equals(RtcStats_RemoteCandidate, a, b);
|
|
1113
|
-
}
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
|
-
/**
|
|
1117
|
-
* @generated from message livekit.proto.RtcStats.Certificate
|
|
1118
|
-
*/
|
|
1119
|
-
export class RtcStats_Certificate extends Message<RtcStats_Certificate> {
|
|
1120
|
-
/**
|
|
1121
|
-
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
1122
|
-
*/
|
|
1123
|
-
rtc?: RtcStatsData;
|
|
1124
|
-
|
|
1125
|
-
/**
|
|
1126
|
-
* @generated from field: required livekit.proto.CertificateStats certificate = 2;
|
|
1127
|
-
*/
|
|
1128
|
-
certificate?: CertificateStats;
|
|
1129
|
-
|
|
1130
|
-
constructor(data?: PartialMessage<RtcStats_Certificate>) {
|
|
1131
|
-
super();
|
|
1132
|
-
proto2.util.initPartial(data, this);
|
|
1133
|
-
}
|
|
1134
|
-
|
|
1135
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
1136
|
-
static readonly typeName = "livekit.proto.RtcStats.Certificate";
|
|
1137
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1138
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
|
|
1139
|
-
{ no: 2, name: "certificate", kind: "message", T: CertificateStats, req: true },
|
|
1140
|
-
]);
|
|
1141
|
-
|
|
1142
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_Certificate {
|
|
1143
|
-
return new RtcStats_Certificate().fromBinary(bytes, options);
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_Certificate {
|
|
1147
|
-
return new RtcStats_Certificate().fromJson(jsonValue, options);
|
|
1148
|
-
}
|
|
1149
|
-
|
|
1150
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_Certificate {
|
|
1151
|
-
return new RtcStats_Certificate().fromJsonString(jsonString, options);
|
|
1152
|
-
}
|
|
1153
|
-
|
|
1154
|
-
static equals(a: RtcStats_Certificate | PlainMessage<RtcStats_Certificate> | undefined, b: RtcStats_Certificate | PlainMessage<RtcStats_Certificate> | undefined): boolean {
|
|
1155
|
-
return proto2.util.equals(RtcStats_Certificate, a, b);
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
|
-
/**
|
|
1160
|
-
* @generated from message livekit.proto.RtcStats.Stream
|
|
1161
|
-
*/
|
|
1162
|
-
export class RtcStats_Stream extends Message<RtcStats_Stream> {
|
|
1163
|
-
/**
|
|
1164
|
-
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
1165
|
-
*/
|
|
1166
|
-
rtc?: RtcStatsData;
|
|
1167
|
-
|
|
1168
|
-
/**
|
|
1169
|
-
* @generated from field: required livekit.proto.StreamStats stream = 2;
|
|
1170
|
-
*/
|
|
1171
|
-
stream?: StreamStats;
|
|
1172
|
-
|
|
1173
|
-
constructor(data?: PartialMessage<RtcStats_Stream>) {
|
|
1174
|
-
super();
|
|
1175
|
-
proto2.util.initPartial(data, this);
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
1179
|
-
static readonly typeName = "livekit.proto.RtcStats.Stream";
|
|
1180
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1181
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData, req: true },
|
|
1182
|
-
{ no: 2, name: "stream", kind: "message", T: StreamStats, req: true },
|
|
1183
|
-
]);
|
|
1184
|
-
|
|
1185
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_Stream {
|
|
1186
|
-
return new RtcStats_Stream().fromBinary(bytes, options);
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_Stream {
|
|
1190
|
-
return new RtcStats_Stream().fromJson(jsonValue, options);
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_Stream {
|
|
1194
|
-
return new RtcStats_Stream().fromJsonString(jsonString, options);
|
|
1195
|
-
}
|
|
1196
|
-
|
|
1197
|
-
static equals(a: RtcStats_Stream | PlainMessage<RtcStats_Stream> | undefined, b: RtcStats_Stream | PlainMessage<RtcStats_Stream> | undefined): boolean {
|
|
1198
|
-
return proto2.util.equals(RtcStats_Stream, a, b);
|
|
1199
|
-
}
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
|
-
/**
|
|
1203
|
-
* Deprecated
|
|
1204
|
-
*
|
|
1205
|
-
* @generated from message livekit.proto.RtcStats.Track
|
|
1206
|
-
*/
|
|
1207
|
-
export class RtcStats_Track extends Message<RtcStats_Track> {
|
|
1208
|
-
constructor(data?: PartialMessage<RtcStats_Track>) {
|
|
1209
|
-
super();
|
|
1210
|
-
proto2.util.initPartial(data, this);
|
|
1211
|
-
}
|
|
1212
|
-
|
|
1213
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
1214
|
-
static readonly typeName = "livekit.proto.RtcStats.Track";
|
|
1215
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1216
|
-
]);
|
|
1217
|
-
|
|
1218
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_Track {
|
|
1219
|
-
return new RtcStats_Track().fromBinary(bytes, options);
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_Track {
|
|
1223
|
-
return new RtcStats_Track().fromJson(jsonValue, options);
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_Track {
|
|
1227
|
-
return new RtcStats_Track().fromJsonString(jsonString, options);
|
|
1228
|
-
}
|
|
1229
|
-
|
|
1230
|
-
static equals(a: RtcStats_Track | PlainMessage<RtcStats_Track> | undefined, b: RtcStats_Track | PlainMessage<RtcStats_Track> | undefined): boolean {
|
|
1231
|
-
return proto2.util.equals(RtcStats_Track, a, b);
|
|
1232
|
-
}
|
|
1233
|
-
}
|
|
1234
|
-
|
|
1235
|
-
/**
|
|
1236
|
-
* @generated from message livekit.proto.RtcStatsData
|
|
1237
|
-
*/
|
|
1238
|
-
export class RtcStatsData extends Message<RtcStatsData> {
|
|
1239
|
-
/**
|
|
1240
|
-
* @generated from field: required string id = 1;
|
|
1241
|
-
*/
|
|
1242
|
-
id?: string;
|
|
1243
|
-
|
|
1244
|
-
/**
|
|
1245
|
-
* @generated from field: required int64 timestamp = 2;
|
|
1246
|
-
*/
|
|
1247
|
-
timestamp?: bigint;
|
|
1248
|
-
|
|
1249
|
-
constructor(data?: PartialMessage<RtcStatsData>) {
|
|
1250
|
-
super();
|
|
1251
|
-
proto2.util.initPartial(data, this);
|
|
1252
|
-
}
|
|
1253
|
-
|
|
1254
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
1255
|
-
static readonly typeName = "livekit.proto.RtcStatsData";
|
|
1256
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1257
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
1258
|
-
{ no: 2, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, req: true },
|
|
1259
|
-
]);
|
|
1260
|
-
|
|
1261
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStatsData {
|
|
1262
|
-
return new RtcStatsData().fromBinary(bytes, options);
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStatsData {
|
|
1266
|
-
return new RtcStatsData().fromJson(jsonValue, options);
|
|
1267
|
-
}
|
|
1268
|
-
|
|
1269
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStatsData {
|
|
1270
|
-
return new RtcStatsData().fromJsonString(jsonString, options);
|
|
1271
|
-
}
|
|
1272
|
-
|
|
1273
|
-
static equals(a: RtcStatsData | PlainMessage<RtcStatsData> | undefined, b: RtcStatsData | PlainMessage<RtcStatsData> | undefined): boolean {
|
|
1274
|
-
return proto2.util.equals(RtcStatsData, a, b);
|
|
1275
|
-
}
|
|
1276
|
-
}
|
|
1277
|
-
|
|
1278
|
-
/**
|
|
1279
|
-
* @generated from message livekit.proto.CodecStats
|
|
1280
|
-
*/
|
|
1281
|
-
export class CodecStats extends Message<CodecStats> {
|
|
1282
|
-
/**
|
|
1283
|
-
* @generated from field: required uint32 payload_type = 1;
|
|
1284
|
-
*/
|
|
1285
|
-
payloadType?: number;
|
|
1286
|
-
|
|
1287
|
-
/**
|
|
1288
|
-
* @generated from field: required string transport_id = 2;
|
|
1289
|
-
*/
|
|
1290
|
-
transportId?: string;
|
|
1291
|
-
|
|
1292
|
-
/**
|
|
1293
|
-
* @generated from field: required string mime_type = 3;
|
|
1294
|
-
*/
|
|
1295
|
-
mimeType?: string;
|
|
1296
|
-
|
|
1297
|
-
/**
|
|
1298
|
-
* @generated from field: required uint32 clock_rate = 4;
|
|
1299
|
-
*/
|
|
1300
|
-
clockRate?: number;
|
|
1301
|
-
|
|
1302
|
-
/**
|
|
1303
|
-
* @generated from field: required uint32 channels = 5;
|
|
1304
|
-
*/
|
|
1305
|
-
channels?: number;
|
|
1306
|
-
|
|
1307
|
-
/**
|
|
1308
|
-
* @generated from field: required string sdp_fmtp_line = 6;
|
|
1309
|
-
*/
|
|
1310
|
-
sdpFmtpLine?: string;
|
|
1311
|
-
|
|
1312
|
-
constructor(data?: PartialMessage<CodecStats>) {
|
|
1313
|
-
super();
|
|
1314
|
-
proto2.util.initPartial(data, this);
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
1318
|
-
static readonly typeName = "livekit.proto.CodecStats";
|
|
1319
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1320
|
-
{ no: 1, name: "payload_type", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
1321
|
-
{ no: 2, name: "transport_id", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
1322
|
-
{ no: 3, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
1323
|
-
{ no: 4, name: "clock_rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
1324
|
-
{ no: 5, name: "channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
1325
|
-
{ no: 6, name: "sdp_fmtp_line", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
1326
|
-
]);
|
|
1327
|
-
|
|
1328
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CodecStats {
|
|
1329
|
-
return new CodecStats().fromBinary(bytes, options);
|
|
1330
|
-
}
|
|
1331
|
-
|
|
1332
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CodecStats {
|
|
1333
|
-
return new CodecStats().fromJson(jsonValue, options);
|
|
1334
|
-
}
|
|
1335
|
-
|
|
1336
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CodecStats {
|
|
1337
|
-
return new CodecStats().fromJsonString(jsonString, options);
|
|
1338
|
-
}
|
|
1339
|
-
|
|
1340
|
-
static equals(a: CodecStats | PlainMessage<CodecStats> | undefined, b: CodecStats | PlainMessage<CodecStats> | undefined): boolean {
|
|
1341
|
-
return proto2.util.equals(CodecStats, a, b);
|
|
1342
|
-
}
|
|
1343
|
-
}
|
|
1344
|
-
|
|
1345
|
-
/**
|
|
1346
|
-
* @generated from message livekit.proto.RtpStreamStats
|
|
1347
|
-
*/
|
|
1348
|
-
export class RtpStreamStats extends Message<RtpStreamStats> {
|
|
1349
|
-
/**
|
|
1350
|
-
* @generated from field: required uint32 ssrc = 1;
|
|
1351
|
-
*/
|
|
1352
|
-
ssrc?: number;
|
|
1353
|
-
|
|
1354
|
-
/**
|
|
1355
|
-
* @generated from field: required string kind = 2;
|
|
1356
|
-
*/
|
|
1357
|
-
kind?: string;
|
|
1358
|
-
|
|
1359
|
-
/**
|
|
1360
|
-
* @generated from field: required string transport_id = 3;
|
|
1361
|
-
*/
|
|
1362
|
-
transportId?: string;
|
|
1363
|
-
|
|
1364
|
-
/**
|
|
1365
|
-
* @generated from field: required string codec_id = 4;
|
|
1366
|
-
*/
|
|
1367
|
-
codecId?: string;
|
|
1368
|
-
|
|
1369
|
-
constructor(data?: PartialMessage<RtpStreamStats>) {
|
|
1370
|
-
super();
|
|
1371
|
-
proto2.util.initPartial(data, this);
|
|
1372
|
-
}
|
|
1373
|
-
|
|
1374
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
1375
|
-
static readonly typeName = "livekit.proto.RtpStreamStats";
|
|
1376
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1377
|
-
{ no: 1, name: "ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
1378
|
-
{ no: 2, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
1379
|
-
{ no: 3, name: "transport_id", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
1380
|
-
{ no: 4, name: "codec_id", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
1381
|
-
]);
|
|
1382
|
-
|
|
1383
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtpStreamStats {
|
|
1384
|
-
return new RtpStreamStats().fromBinary(bytes, options);
|
|
1385
|
-
}
|
|
1386
|
-
|
|
1387
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtpStreamStats {
|
|
1388
|
-
return new RtpStreamStats().fromJson(jsonValue, options);
|
|
1389
|
-
}
|
|
1390
|
-
|
|
1391
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtpStreamStats {
|
|
1392
|
-
return new RtpStreamStats().fromJsonString(jsonString, options);
|
|
1393
|
-
}
|
|
1394
|
-
|
|
1395
|
-
static equals(a: RtpStreamStats | PlainMessage<RtpStreamStats> | undefined, b: RtpStreamStats | PlainMessage<RtpStreamStats> | undefined): boolean {
|
|
1396
|
-
return proto2.util.equals(RtpStreamStats, a, b);
|
|
1397
|
-
}
|
|
1398
|
-
}
|
|
1399
|
-
|
|
1400
|
-
/**
|
|
1401
|
-
* @generated from message livekit.proto.ReceivedRtpStreamStats
|
|
1402
|
-
*/
|
|
1403
|
-
export class ReceivedRtpStreamStats extends Message<ReceivedRtpStreamStats> {
|
|
1404
|
-
/**
|
|
1405
|
-
* @generated from field: required uint64 packets_received = 1;
|
|
1406
|
-
*/
|
|
1407
|
-
packetsReceived?: bigint;
|
|
1408
|
-
|
|
1409
|
-
/**
|
|
1410
|
-
* @generated from field: required int64 packets_lost = 2;
|
|
1411
|
-
*/
|
|
1412
|
-
packetsLost?: bigint;
|
|
1413
|
-
|
|
1414
|
-
/**
|
|
1415
|
-
* @generated from field: required double jitter = 3;
|
|
1416
|
-
*/
|
|
1417
|
-
jitter?: number;
|
|
1418
|
-
|
|
1419
|
-
constructor(data?: PartialMessage<ReceivedRtpStreamStats>) {
|
|
1420
|
-
super();
|
|
1421
|
-
proto2.util.initPartial(data, this);
|
|
1422
|
-
}
|
|
1423
|
-
|
|
1424
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
1425
|
-
static readonly typeName = "livekit.proto.ReceivedRtpStreamStats";
|
|
1426
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1427
|
-
{ no: 1, name: "packets_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1428
|
-
{ no: 2, name: "packets_lost", kind: "scalar", T: 3 /* ScalarType.INT64 */, req: true },
|
|
1429
|
-
{ no: 3, name: "jitter", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
1430
|
-
]);
|
|
1431
|
-
|
|
1432
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReceivedRtpStreamStats {
|
|
1433
|
-
return new ReceivedRtpStreamStats().fromBinary(bytes, options);
|
|
1434
|
-
}
|
|
1435
|
-
|
|
1436
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReceivedRtpStreamStats {
|
|
1437
|
-
return new ReceivedRtpStreamStats().fromJson(jsonValue, options);
|
|
1438
|
-
}
|
|
1439
|
-
|
|
1440
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReceivedRtpStreamStats {
|
|
1441
|
-
return new ReceivedRtpStreamStats().fromJsonString(jsonString, options);
|
|
1442
|
-
}
|
|
1443
|
-
|
|
1444
|
-
static equals(a: ReceivedRtpStreamStats | PlainMessage<ReceivedRtpStreamStats> | undefined, b: ReceivedRtpStreamStats | PlainMessage<ReceivedRtpStreamStats> | undefined): boolean {
|
|
1445
|
-
return proto2.util.equals(ReceivedRtpStreamStats, a, b);
|
|
1446
|
-
}
|
|
1447
|
-
}
|
|
1448
|
-
|
|
1449
|
-
/**
|
|
1450
|
-
* @generated from message livekit.proto.InboundRtpStreamStats
|
|
1451
|
-
*/
|
|
1452
|
-
export class InboundRtpStreamStats extends Message<InboundRtpStreamStats> {
|
|
1453
|
-
/**
|
|
1454
|
-
* @generated from field: required string track_identifier = 1;
|
|
1455
|
-
*/
|
|
1456
|
-
trackIdentifier?: string;
|
|
1457
|
-
|
|
1458
|
-
/**
|
|
1459
|
-
* @generated from field: required string mid = 2;
|
|
1460
|
-
*/
|
|
1461
|
-
mid?: string;
|
|
1462
|
-
|
|
1463
|
-
/**
|
|
1464
|
-
* @generated from field: required string remote_id = 3;
|
|
1465
|
-
*/
|
|
1466
|
-
remoteId?: string;
|
|
1467
|
-
|
|
1468
|
-
/**
|
|
1469
|
-
* @generated from field: required uint32 frames_decoded = 4;
|
|
1470
|
-
*/
|
|
1471
|
-
framesDecoded?: number;
|
|
1472
|
-
|
|
1473
|
-
/**
|
|
1474
|
-
* @generated from field: required uint32 key_frames_decoded = 5;
|
|
1475
|
-
*/
|
|
1476
|
-
keyFramesDecoded?: number;
|
|
1477
|
-
|
|
1478
|
-
/**
|
|
1479
|
-
* @generated from field: required uint32 frames_rendered = 6;
|
|
1480
|
-
*/
|
|
1481
|
-
framesRendered?: number;
|
|
1482
|
-
|
|
1483
|
-
/**
|
|
1484
|
-
* @generated from field: required uint32 frames_dropped = 7;
|
|
1485
|
-
*/
|
|
1486
|
-
framesDropped?: number;
|
|
1487
|
-
|
|
1488
|
-
/**
|
|
1489
|
-
* @generated from field: required uint32 frame_width = 8;
|
|
1490
|
-
*/
|
|
1491
|
-
frameWidth?: number;
|
|
1492
|
-
|
|
1493
|
-
/**
|
|
1494
|
-
* @generated from field: required uint32 frame_height = 9;
|
|
1495
|
-
*/
|
|
1496
|
-
frameHeight?: number;
|
|
1497
|
-
|
|
1498
|
-
/**
|
|
1499
|
-
* @generated from field: required double frames_per_second = 10;
|
|
1500
|
-
*/
|
|
1501
|
-
framesPerSecond?: number;
|
|
1502
|
-
|
|
1503
|
-
/**
|
|
1504
|
-
* @generated from field: required uint64 qp_sum = 11;
|
|
1505
|
-
*/
|
|
1506
|
-
qpSum?: bigint;
|
|
1507
|
-
|
|
1508
|
-
/**
|
|
1509
|
-
* @generated from field: required double total_decode_time = 12;
|
|
1510
|
-
*/
|
|
1511
|
-
totalDecodeTime?: number;
|
|
1512
|
-
|
|
1513
|
-
/**
|
|
1514
|
-
* @generated from field: required double total_inter_frame_delay = 13;
|
|
1515
|
-
*/
|
|
1516
|
-
totalInterFrameDelay?: number;
|
|
1517
|
-
|
|
1518
|
-
/**
|
|
1519
|
-
* @generated from field: required double total_squared_inter_frame_delay = 14;
|
|
1520
|
-
*/
|
|
1521
|
-
totalSquaredInterFrameDelay?: number;
|
|
1522
|
-
|
|
1523
|
-
/**
|
|
1524
|
-
* @generated from field: required uint32 pause_count = 15;
|
|
1525
|
-
*/
|
|
1526
|
-
pauseCount?: number;
|
|
1527
|
-
|
|
1528
|
-
/**
|
|
1529
|
-
* @generated from field: required double total_pause_duration = 16;
|
|
1530
|
-
*/
|
|
1531
|
-
totalPauseDuration?: number;
|
|
1532
|
-
|
|
1533
|
-
/**
|
|
1534
|
-
* @generated from field: required uint32 freeze_count = 17;
|
|
1535
|
-
*/
|
|
1536
|
-
freezeCount?: number;
|
|
1537
|
-
|
|
1538
|
-
/**
|
|
1539
|
-
* @generated from field: required double total_freeze_duration = 18;
|
|
1540
|
-
*/
|
|
1541
|
-
totalFreezeDuration?: number;
|
|
1542
|
-
|
|
1543
|
-
/**
|
|
1544
|
-
* @generated from field: required double last_packet_received_timestamp = 19;
|
|
1545
|
-
*/
|
|
1546
|
-
lastPacketReceivedTimestamp?: number;
|
|
1547
|
-
|
|
1548
|
-
/**
|
|
1549
|
-
* @generated from field: required uint64 header_bytes_received = 20;
|
|
1550
|
-
*/
|
|
1551
|
-
headerBytesReceived?: bigint;
|
|
1552
|
-
|
|
1553
|
-
/**
|
|
1554
|
-
* @generated from field: required uint64 packets_discarded = 21;
|
|
1555
|
-
*/
|
|
1556
|
-
packetsDiscarded?: bigint;
|
|
1557
|
-
|
|
1558
|
-
/**
|
|
1559
|
-
* @generated from field: required uint64 fec_bytes_received = 22;
|
|
1560
|
-
*/
|
|
1561
|
-
fecBytesReceived?: bigint;
|
|
1562
|
-
|
|
1563
|
-
/**
|
|
1564
|
-
* @generated from field: required uint64 fec_packets_received = 23;
|
|
1565
|
-
*/
|
|
1566
|
-
fecPacketsReceived?: bigint;
|
|
1567
|
-
|
|
1568
|
-
/**
|
|
1569
|
-
* @generated from field: required uint64 fec_packets_discarded = 24;
|
|
1570
|
-
*/
|
|
1571
|
-
fecPacketsDiscarded?: bigint;
|
|
1572
|
-
|
|
1573
|
-
/**
|
|
1574
|
-
* @generated from field: required uint64 bytes_received = 25;
|
|
1575
|
-
*/
|
|
1576
|
-
bytesReceived?: bigint;
|
|
1577
|
-
|
|
1578
|
-
/**
|
|
1579
|
-
* @generated from field: required uint32 nack_count = 26;
|
|
1580
|
-
*/
|
|
1581
|
-
nackCount?: number;
|
|
1582
|
-
|
|
1583
|
-
/**
|
|
1584
|
-
* @generated from field: required uint32 fir_count = 27;
|
|
1585
|
-
*/
|
|
1586
|
-
firCount?: number;
|
|
1587
|
-
|
|
1588
|
-
/**
|
|
1589
|
-
* @generated from field: required uint32 pli_count = 28;
|
|
1590
|
-
*/
|
|
1591
|
-
pliCount?: number;
|
|
1592
|
-
|
|
1593
|
-
/**
|
|
1594
|
-
* @generated from field: required double total_processing_delay = 29;
|
|
1595
|
-
*/
|
|
1596
|
-
totalProcessingDelay?: number;
|
|
1597
|
-
|
|
1598
|
-
/**
|
|
1599
|
-
* @generated from field: required double estimated_playout_timestamp = 30;
|
|
1600
|
-
*/
|
|
1601
|
-
estimatedPlayoutTimestamp?: number;
|
|
1602
|
-
|
|
1603
|
-
/**
|
|
1604
|
-
* @generated from field: required double jitter_buffer_delay = 31;
|
|
1605
|
-
*/
|
|
1606
|
-
jitterBufferDelay?: number;
|
|
1607
|
-
|
|
1608
|
-
/**
|
|
1609
|
-
* @generated from field: required double jitter_buffer_target_delay = 32;
|
|
1610
|
-
*/
|
|
1611
|
-
jitterBufferTargetDelay?: number;
|
|
1612
|
-
|
|
1613
|
-
/**
|
|
1614
|
-
* @generated from field: required uint64 jitter_buffer_emitted_count = 33;
|
|
1615
|
-
*/
|
|
1616
|
-
jitterBufferEmittedCount?: bigint;
|
|
1617
|
-
|
|
1618
|
-
/**
|
|
1619
|
-
* @generated from field: required double jitter_buffer_minimum_delay = 34;
|
|
1620
|
-
*/
|
|
1621
|
-
jitterBufferMinimumDelay?: number;
|
|
1622
|
-
|
|
1623
|
-
/**
|
|
1624
|
-
* @generated from field: required uint64 total_samples_received = 35;
|
|
1625
|
-
*/
|
|
1626
|
-
totalSamplesReceived?: bigint;
|
|
1627
|
-
|
|
1628
|
-
/**
|
|
1629
|
-
* @generated from field: required uint64 concealed_samples = 36;
|
|
1630
|
-
*/
|
|
1631
|
-
concealedSamples?: bigint;
|
|
1632
|
-
|
|
1633
|
-
/**
|
|
1634
|
-
* @generated from field: required uint64 silent_concealed_samples = 37;
|
|
1635
|
-
*/
|
|
1636
|
-
silentConcealedSamples?: bigint;
|
|
1637
|
-
|
|
1638
|
-
/**
|
|
1639
|
-
* @generated from field: required uint64 concealment_events = 38;
|
|
1640
|
-
*/
|
|
1641
|
-
concealmentEvents?: bigint;
|
|
1642
|
-
|
|
1643
|
-
/**
|
|
1644
|
-
* @generated from field: required uint64 inserted_samples_for_deceleration = 39;
|
|
1645
|
-
*/
|
|
1646
|
-
insertedSamplesForDeceleration?: bigint;
|
|
1647
|
-
|
|
1648
|
-
/**
|
|
1649
|
-
* @generated from field: required uint64 removed_samples_for_acceleration = 40;
|
|
1650
|
-
*/
|
|
1651
|
-
removedSamplesForAcceleration?: bigint;
|
|
1652
|
-
|
|
1653
|
-
/**
|
|
1654
|
-
* @generated from field: required double audio_level = 41;
|
|
1655
|
-
*/
|
|
1656
|
-
audioLevel?: number;
|
|
1657
|
-
|
|
1658
|
-
/**
|
|
1659
|
-
* @generated from field: required double total_audio_energy = 42;
|
|
1660
|
-
*/
|
|
1661
|
-
totalAudioEnergy?: number;
|
|
1662
|
-
|
|
1663
|
-
/**
|
|
1664
|
-
* @generated from field: required double total_samples_duration = 43;
|
|
1665
|
-
*/
|
|
1666
|
-
totalSamplesDuration?: number;
|
|
1667
|
-
|
|
1668
|
-
/**
|
|
1669
|
-
* @generated from field: required uint64 frames_received = 44;
|
|
1670
|
-
*/
|
|
1671
|
-
framesReceived?: bigint;
|
|
1672
|
-
|
|
1673
|
-
/**
|
|
1674
|
-
* @generated from field: required string decoder_implementation = 45;
|
|
1675
|
-
*/
|
|
1676
|
-
decoderImplementation?: string;
|
|
1677
|
-
|
|
1678
|
-
/**
|
|
1679
|
-
* @generated from field: required string playout_id = 46;
|
|
1680
|
-
*/
|
|
1681
|
-
playoutId?: string;
|
|
1682
|
-
|
|
1683
|
-
/**
|
|
1684
|
-
* @generated from field: required bool power_efficient_decoder = 47;
|
|
1685
|
-
*/
|
|
1686
|
-
powerEfficientDecoder?: boolean;
|
|
1687
|
-
|
|
1688
|
-
/**
|
|
1689
|
-
* @generated from field: required uint64 frames_assembled_from_multiple_packets = 48;
|
|
1690
|
-
*/
|
|
1691
|
-
framesAssembledFromMultiplePackets?: bigint;
|
|
1692
|
-
|
|
1693
|
-
/**
|
|
1694
|
-
* @generated from field: required double total_assembly_time = 49;
|
|
1695
|
-
*/
|
|
1696
|
-
totalAssemblyTime?: number;
|
|
1697
|
-
|
|
1698
|
-
/**
|
|
1699
|
-
* @generated from field: required uint64 retransmitted_packets_received = 50;
|
|
1700
|
-
*/
|
|
1701
|
-
retransmittedPacketsReceived?: bigint;
|
|
1702
|
-
|
|
1703
|
-
/**
|
|
1704
|
-
* @generated from field: required uint64 retransmitted_bytes_received = 51;
|
|
1705
|
-
*/
|
|
1706
|
-
retransmittedBytesReceived?: bigint;
|
|
1707
|
-
|
|
1708
|
-
/**
|
|
1709
|
-
* @generated from field: required uint32 rtx_ssrc = 52;
|
|
1710
|
-
*/
|
|
1711
|
-
rtxSsrc?: number;
|
|
1712
|
-
|
|
1713
|
-
/**
|
|
1714
|
-
* @generated from field: required uint32 fec_ssrc = 53;
|
|
1715
|
-
*/
|
|
1716
|
-
fecSsrc?: number;
|
|
1717
|
-
|
|
1718
|
-
constructor(data?: PartialMessage<InboundRtpStreamStats>) {
|
|
1719
|
-
super();
|
|
1720
|
-
proto2.util.initPartial(data, this);
|
|
1721
|
-
}
|
|
1722
|
-
|
|
1723
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
1724
|
-
static readonly typeName = "livekit.proto.InboundRtpStreamStats";
|
|
1725
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1726
|
-
{ no: 1, name: "track_identifier", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
1727
|
-
{ no: 2, name: "mid", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
1728
|
-
{ no: 3, name: "remote_id", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
1729
|
-
{ no: 4, name: "frames_decoded", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
1730
|
-
{ no: 5, name: "key_frames_decoded", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
1731
|
-
{ no: 6, name: "frames_rendered", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
1732
|
-
{ no: 7, name: "frames_dropped", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
1733
|
-
{ no: 8, name: "frame_width", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
1734
|
-
{ no: 9, name: "frame_height", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
1735
|
-
{ no: 10, name: "frames_per_second", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
1736
|
-
{ no: 11, name: "qp_sum", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1737
|
-
{ no: 12, name: "total_decode_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
1738
|
-
{ no: 13, name: "total_inter_frame_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
1739
|
-
{ no: 14, name: "total_squared_inter_frame_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
1740
|
-
{ no: 15, name: "pause_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
1741
|
-
{ no: 16, name: "total_pause_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
1742
|
-
{ no: 17, name: "freeze_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
1743
|
-
{ no: 18, name: "total_freeze_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
1744
|
-
{ no: 19, name: "last_packet_received_timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
1745
|
-
{ no: 20, name: "header_bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1746
|
-
{ no: 21, name: "packets_discarded", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1747
|
-
{ no: 22, name: "fec_bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1748
|
-
{ no: 23, name: "fec_packets_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1749
|
-
{ no: 24, name: "fec_packets_discarded", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1750
|
-
{ no: 25, name: "bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1751
|
-
{ no: 26, name: "nack_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
1752
|
-
{ no: 27, name: "fir_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
1753
|
-
{ no: 28, name: "pli_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
1754
|
-
{ no: 29, name: "total_processing_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
1755
|
-
{ no: 30, name: "estimated_playout_timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
1756
|
-
{ no: 31, name: "jitter_buffer_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
1757
|
-
{ no: 32, name: "jitter_buffer_target_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
1758
|
-
{ no: 33, name: "jitter_buffer_emitted_count", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1759
|
-
{ no: 34, name: "jitter_buffer_minimum_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
1760
|
-
{ no: 35, name: "total_samples_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1761
|
-
{ no: 36, name: "concealed_samples", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1762
|
-
{ no: 37, name: "silent_concealed_samples", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1763
|
-
{ no: 38, name: "concealment_events", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1764
|
-
{ no: 39, name: "inserted_samples_for_deceleration", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1765
|
-
{ no: 40, name: "removed_samples_for_acceleration", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1766
|
-
{ no: 41, name: "audio_level", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
1767
|
-
{ no: 42, name: "total_audio_energy", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
1768
|
-
{ no: 43, name: "total_samples_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
1769
|
-
{ no: 44, name: "frames_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1770
|
-
{ no: 45, name: "decoder_implementation", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
1771
|
-
{ no: 46, name: "playout_id", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
1772
|
-
{ no: 47, name: "power_efficient_decoder", kind: "scalar", T: 8 /* ScalarType.BOOL */, req: true },
|
|
1773
|
-
{ no: 48, name: "frames_assembled_from_multiple_packets", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1774
|
-
{ no: 49, name: "total_assembly_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
1775
|
-
{ no: 50, name: "retransmitted_packets_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1776
|
-
{ no: 51, name: "retransmitted_bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1777
|
-
{ no: 52, name: "rtx_ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
1778
|
-
{ no: 53, name: "fec_ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
1779
|
-
]);
|
|
1780
|
-
|
|
1781
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InboundRtpStreamStats {
|
|
1782
|
-
return new InboundRtpStreamStats().fromBinary(bytes, options);
|
|
1783
|
-
}
|
|
1784
|
-
|
|
1785
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InboundRtpStreamStats {
|
|
1786
|
-
return new InboundRtpStreamStats().fromJson(jsonValue, options);
|
|
1787
|
-
}
|
|
1788
|
-
|
|
1789
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InboundRtpStreamStats {
|
|
1790
|
-
return new InboundRtpStreamStats().fromJsonString(jsonString, options);
|
|
1791
|
-
}
|
|
1792
|
-
|
|
1793
|
-
static equals(a: InboundRtpStreamStats | PlainMessage<InboundRtpStreamStats> | undefined, b: InboundRtpStreamStats | PlainMessage<InboundRtpStreamStats> | undefined): boolean {
|
|
1794
|
-
return proto2.util.equals(InboundRtpStreamStats, a, b);
|
|
1795
|
-
}
|
|
1796
|
-
}
|
|
1797
|
-
|
|
1798
|
-
/**
|
|
1799
|
-
* @generated from message livekit.proto.SentRtpStreamStats
|
|
1800
|
-
*/
|
|
1801
|
-
export class SentRtpStreamStats extends Message<SentRtpStreamStats> {
|
|
1802
|
-
/**
|
|
1803
|
-
* @generated from field: required uint64 packets_sent = 1;
|
|
1804
|
-
*/
|
|
1805
|
-
packetsSent?: bigint;
|
|
1806
|
-
|
|
1807
|
-
/**
|
|
1808
|
-
* @generated from field: required uint64 bytes_sent = 2;
|
|
1809
|
-
*/
|
|
1810
|
-
bytesSent?: bigint;
|
|
1811
|
-
|
|
1812
|
-
constructor(data?: PartialMessage<SentRtpStreamStats>) {
|
|
1813
|
-
super();
|
|
1814
|
-
proto2.util.initPartial(data, this);
|
|
1815
|
-
}
|
|
1816
|
-
|
|
1817
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
1818
|
-
static readonly typeName = "livekit.proto.SentRtpStreamStats";
|
|
1819
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1820
|
-
{ no: 1, name: "packets_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1821
|
-
{ no: 2, name: "bytes_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
1822
|
-
]);
|
|
1823
|
-
|
|
1824
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SentRtpStreamStats {
|
|
1825
|
-
return new SentRtpStreamStats().fromBinary(bytes, options);
|
|
1826
|
-
}
|
|
1827
|
-
|
|
1828
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SentRtpStreamStats {
|
|
1829
|
-
return new SentRtpStreamStats().fromJson(jsonValue, options);
|
|
1830
|
-
}
|
|
1831
|
-
|
|
1832
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SentRtpStreamStats {
|
|
1833
|
-
return new SentRtpStreamStats().fromJsonString(jsonString, options);
|
|
1834
|
-
}
|
|
1835
|
-
|
|
1836
|
-
static equals(a: SentRtpStreamStats | PlainMessage<SentRtpStreamStats> | undefined, b: SentRtpStreamStats | PlainMessage<SentRtpStreamStats> | undefined): boolean {
|
|
1837
|
-
return proto2.util.equals(SentRtpStreamStats, a, b);
|
|
1838
|
-
}
|
|
1839
|
-
}
|
|
1840
|
-
|
|
1841
|
-
/**
|
|
1842
|
-
* @generated from message livekit.proto.OutboundRtpStreamStats
|
|
1843
|
-
*/
|
|
1844
|
-
export class OutboundRtpStreamStats extends Message<OutboundRtpStreamStats> {
|
|
1845
|
-
/**
|
|
1846
|
-
* @generated from field: required string mid = 1;
|
|
1847
|
-
*/
|
|
1848
|
-
mid?: string;
|
|
1849
|
-
|
|
1850
|
-
/**
|
|
1851
|
-
* @generated from field: required string media_source_id = 2;
|
|
1852
|
-
*/
|
|
1853
|
-
mediaSourceId?: string;
|
|
1854
|
-
|
|
1855
|
-
/**
|
|
1856
|
-
* @generated from field: required string remote_id = 3;
|
|
1857
|
-
*/
|
|
1858
|
-
remoteId?: string;
|
|
1859
|
-
|
|
1860
|
-
/**
|
|
1861
|
-
* @generated from field: required string rid = 4;
|
|
1862
|
-
*/
|
|
1863
|
-
rid?: string;
|
|
1864
|
-
|
|
1865
|
-
/**
|
|
1866
|
-
* @generated from field: required uint64 header_bytes_sent = 5;
|
|
1867
|
-
*/
|
|
1868
|
-
headerBytesSent?: bigint;
|
|
1869
|
-
|
|
1870
|
-
/**
|
|
1871
|
-
* @generated from field: required uint64 retransmitted_packets_sent = 6;
|
|
1872
|
-
*/
|
|
1873
|
-
retransmittedPacketsSent?: bigint;
|
|
1874
|
-
|
|
1875
|
-
/**
|
|
1876
|
-
* @generated from field: required uint64 retransmitted_bytes_sent = 7;
|
|
1877
|
-
*/
|
|
1878
|
-
retransmittedBytesSent?: bigint;
|
|
1879
|
-
|
|
1880
|
-
/**
|
|
1881
|
-
* @generated from field: required uint32 rtx_ssrc = 8;
|
|
1882
|
-
*/
|
|
1883
|
-
rtxSsrc?: number;
|
|
1884
|
-
|
|
1885
|
-
/**
|
|
1886
|
-
* @generated from field: required double target_bitrate = 9;
|
|
1887
|
-
*/
|
|
1888
|
-
targetBitrate?: number;
|
|
1889
|
-
|
|
1890
|
-
/**
|
|
1891
|
-
* @generated from field: required uint64 total_encoded_bytes_target = 10;
|
|
1892
|
-
*/
|
|
1893
|
-
totalEncodedBytesTarget?: bigint;
|
|
1894
|
-
|
|
1895
|
-
/**
|
|
1896
|
-
* @generated from field: required uint32 frame_width = 11;
|
|
1897
|
-
*/
|
|
1898
|
-
frameWidth?: number;
|
|
1899
|
-
|
|
1900
|
-
/**
|
|
1901
|
-
* @generated from field: required uint32 frame_height = 12;
|
|
1902
|
-
*/
|
|
1903
|
-
frameHeight?: number;
|
|
1904
|
-
|
|
1905
|
-
/**
|
|
1906
|
-
* @generated from field: required double frames_per_second = 13;
|
|
1907
|
-
*/
|
|
1908
|
-
framesPerSecond?: number;
|
|
1909
|
-
|
|
1910
|
-
/**
|
|
1911
|
-
* @generated from field: required uint32 frames_sent = 14;
|
|
1912
|
-
*/
|
|
1913
|
-
framesSent?: number;
|
|
1914
|
-
|
|
1915
|
-
/**
|
|
1916
|
-
* @generated from field: required uint32 huge_frames_sent = 15;
|
|
1917
|
-
*/
|
|
1918
|
-
hugeFramesSent?: number;
|
|
1919
|
-
|
|
1920
|
-
/**
|
|
1921
|
-
* @generated from field: required uint32 frames_encoded = 16;
|
|
1922
|
-
*/
|
|
1923
|
-
framesEncoded?: number;
|
|
1924
|
-
|
|
1925
|
-
/**
|
|
1926
|
-
* @generated from field: required uint32 key_frames_encoded = 17;
|
|
1927
|
-
*/
|
|
1928
|
-
keyFramesEncoded?: number;
|
|
1929
|
-
|
|
1930
|
-
/**
|
|
1931
|
-
* @generated from field: required uint64 qp_sum = 18;
|
|
1932
|
-
*/
|
|
1933
|
-
qpSum?: bigint;
|
|
1934
|
-
|
|
1935
|
-
/**
|
|
1936
|
-
* @generated from field: required double total_encode_time = 19;
|
|
1937
|
-
*/
|
|
1938
|
-
totalEncodeTime?: number;
|
|
1939
|
-
|
|
1940
|
-
/**
|
|
1941
|
-
* @generated from field: required double total_packet_send_delay = 20;
|
|
1942
|
-
*/
|
|
1943
|
-
totalPacketSendDelay?: number;
|
|
1944
|
-
|
|
1945
|
-
/**
|
|
1946
|
-
* @generated from field: required livekit.proto.QualityLimitationReason quality_limitation_reason = 21;
|
|
1947
|
-
*/
|
|
1948
|
-
qualityLimitationReason?: QualityLimitationReason;
|
|
1949
|
-
|
|
1950
|
-
/**
|
|
1951
|
-
* @generated from field: map<string, double> quality_limitation_durations = 22;
|
|
1952
|
-
*/
|
|
1953
|
-
qualityLimitationDurations: { [key: string]: number } = {};
|
|
1954
|
-
|
|
1955
|
-
/**
|
|
1956
|
-
* @generated from field: required uint32 quality_limitation_resolution_changes = 23;
|
|
1957
|
-
*/
|
|
1958
|
-
qualityLimitationResolutionChanges?: number;
|
|
1959
|
-
|
|
1960
|
-
/**
|
|
1961
|
-
* @generated from field: required uint32 nack_count = 24;
|
|
1962
|
-
*/
|
|
1963
|
-
nackCount?: number;
|
|
1964
|
-
|
|
1965
|
-
/**
|
|
1966
|
-
* @generated from field: required uint32 fir_count = 25;
|
|
1967
|
-
*/
|
|
1968
|
-
firCount?: number;
|
|
1969
|
-
|
|
1970
|
-
/**
|
|
1971
|
-
* @generated from field: required uint32 pli_count = 26;
|
|
1972
|
-
*/
|
|
1973
|
-
pliCount?: number;
|
|
1974
|
-
|
|
1975
|
-
/**
|
|
1976
|
-
* @generated from field: required string encoder_implementation = 27;
|
|
1977
|
-
*/
|
|
1978
|
-
encoderImplementation?: string;
|
|
1979
|
-
|
|
1980
|
-
/**
|
|
1981
|
-
* @generated from field: required bool power_efficient_encoder = 28;
|
|
1982
|
-
*/
|
|
1983
|
-
powerEfficientEncoder?: boolean;
|
|
1984
|
-
|
|
1985
|
-
/**
|
|
1986
|
-
* @generated from field: required bool active = 29;
|
|
1987
|
-
*/
|
|
1988
|
-
active?: boolean;
|
|
1989
|
-
|
|
1990
|
-
/**
|
|
1991
|
-
* @generated from field: required string scalability_mode = 30;
|
|
1992
|
-
*/
|
|
1993
|
-
scalabilityMode?: string;
|
|
1994
|
-
|
|
1995
|
-
constructor(data?: PartialMessage<OutboundRtpStreamStats>) {
|
|
1996
|
-
super();
|
|
1997
|
-
proto2.util.initPartial(data, this);
|
|
1998
|
-
}
|
|
1999
|
-
|
|
2000
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
2001
|
-
static readonly typeName = "livekit.proto.OutboundRtpStreamStats";
|
|
2002
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
2003
|
-
{ no: 1, name: "mid", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2004
|
-
{ no: 2, name: "media_source_id", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2005
|
-
{ no: 3, name: "remote_id", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2006
|
-
{ no: 4, name: "rid", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2007
|
-
{ no: 5, name: "header_bytes_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2008
|
-
{ no: 6, name: "retransmitted_packets_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2009
|
-
{ no: 7, name: "retransmitted_bytes_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2010
|
-
{ no: 8, name: "rtx_ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2011
|
-
{ no: 9, name: "target_bitrate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2012
|
-
{ no: 10, name: "total_encoded_bytes_target", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2013
|
-
{ no: 11, name: "frame_width", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2014
|
-
{ no: 12, name: "frame_height", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2015
|
-
{ no: 13, name: "frames_per_second", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2016
|
-
{ no: 14, name: "frames_sent", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2017
|
-
{ no: 15, name: "huge_frames_sent", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2018
|
-
{ no: 16, name: "frames_encoded", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2019
|
-
{ no: 17, name: "key_frames_encoded", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2020
|
-
{ no: 18, name: "qp_sum", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2021
|
-
{ no: 19, name: "total_encode_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2022
|
-
{ no: 20, name: "total_packet_send_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2023
|
-
{ no: 21, name: "quality_limitation_reason", kind: "enum", T: proto2.getEnumType(QualityLimitationReason), req: true },
|
|
2024
|
-
{ no: 22, name: "quality_limitation_durations", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 1 /* ScalarType.DOUBLE */} },
|
|
2025
|
-
{ no: 23, name: "quality_limitation_resolution_changes", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2026
|
-
{ no: 24, name: "nack_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2027
|
-
{ no: 25, name: "fir_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2028
|
-
{ no: 26, name: "pli_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2029
|
-
{ no: 27, name: "encoder_implementation", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2030
|
-
{ no: 28, name: "power_efficient_encoder", kind: "scalar", T: 8 /* ScalarType.BOOL */, req: true },
|
|
2031
|
-
{ no: 29, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */, req: true },
|
|
2032
|
-
{ no: 30, name: "scalability_mode", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2033
|
-
]);
|
|
2034
|
-
|
|
2035
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OutboundRtpStreamStats {
|
|
2036
|
-
return new OutboundRtpStreamStats().fromBinary(bytes, options);
|
|
2037
|
-
}
|
|
2038
|
-
|
|
2039
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OutboundRtpStreamStats {
|
|
2040
|
-
return new OutboundRtpStreamStats().fromJson(jsonValue, options);
|
|
2041
|
-
}
|
|
2042
|
-
|
|
2043
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OutboundRtpStreamStats {
|
|
2044
|
-
return new OutboundRtpStreamStats().fromJsonString(jsonString, options);
|
|
2045
|
-
}
|
|
2046
|
-
|
|
2047
|
-
static equals(a: OutboundRtpStreamStats | PlainMessage<OutboundRtpStreamStats> | undefined, b: OutboundRtpStreamStats | PlainMessage<OutboundRtpStreamStats> | undefined): boolean {
|
|
2048
|
-
return proto2.util.equals(OutboundRtpStreamStats, a, b);
|
|
2049
|
-
}
|
|
2050
|
-
}
|
|
2051
|
-
|
|
2052
|
-
/**
|
|
2053
|
-
* @generated from message livekit.proto.RemoteInboundRtpStreamStats
|
|
2054
|
-
*/
|
|
2055
|
-
export class RemoteInboundRtpStreamStats extends Message<RemoteInboundRtpStreamStats> {
|
|
2056
|
-
/**
|
|
2057
|
-
* @generated from field: required string local_id = 1;
|
|
2058
|
-
*/
|
|
2059
|
-
localId?: string;
|
|
2060
|
-
|
|
2061
|
-
/**
|
|
2062
|
-
* @generated from field: required double round_trip_time = 2;
|
|
2063
|
-
*/
|
|
2064
|
-
roundTripTime?: number;
|
|
2065
|
-
|
|
2066
|
-
/**
|
|
2067
|
-
* @generated from field: required double total_round_trip_time = 3;
|
|
2068
|
-
*/
|
|
2069
|
-
totalRoundTripTime?: number;
|
|
2070
|
-
|
|
2071
|
-
/**
|
|
2072
|
-
* @generated from field: required double fraction_lost = 4;
|
|
2073
|
-
*/
|
|
2074
|
-
fractionLost?: number;
|
|
2075
|
-
|
|
2076
|
-
/**
|
|
2077
|
-
* @generated from field: required uint64 round_trip_time_measurements = 5;
|
|
2078
|
-
*/
|
|
2079
|
-
roundTripTimeMeasurements?: bigint;
|
|
2080
|
-
|
|
2081
|
-
constructor(data?: PartialMessage<RemoteInboundRtpStreamStats>) {
|
|
2082
|
-
super();
|
|
2083
|
-
proto2.util.initPartial(data, this);
|
|
2084
|
-
}
|
|
2085
|
-
|
|
2086
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
2087
|
-
static readonly typeName = "livekit.proto.RemoteInboundRtpStreamStats";
|
|
2088
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
2089
|
-
{ no: 1, name: "local_id", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2090
|
-
{ no: 2, name: "round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2091
|
-
{ no: 3, name: "total_round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2092
|
-
{ no: 4, name: "fraction_lost", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2093
|
-
{ no: 5, name: "round_trip_time_measurements", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2094
|
-
]);
|
|
2095
|
-
|
|
2096
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RemoteInboundRtpStreamStats {
|
|
2097
|
-
return new RemoteInboundRtpStreamStats().fromBinary(bytes, options);
|
|
2098
|
-
}
|
|
2099
|
-
|
|
2100
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RemoteInboundRtpStreamStats {
|
|
2101
|
-
return new RemoteInboundRtpStreamStats().fromJson(jsonValue, options);
|
|
2102
|
-
}
|
|
2103
|
-
|
|
2104
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RemoteInboundRtpStreamStats {
|
|
2105
|
-
return new RemoteInboundRtpStreamStats().fromJsonString(jsonString, options);
|
|
2106
|
-
}
|
|
2107
|
-
|
|
2108
|
-
static equals(a: RemoteInboundRtpStreamStats | PlainMessage<RemoteInboundRtpStreamStats> | undefined, b: RemoteInboundRtpStreamStats | PlainMessage<RemoteInboundRtpStreamStats> | undefined): boolean {
|
|
2109
|
-
return proto2.util.equals(RemoteInboundRtpStreamStats, a, b);
|
|
2110
|
-
}
|
|
2111
|
-
}
|
|
2112
|
-
|
|
2113
|
-
/**
|
|
2114
|
-
* @generated from message livekit.proto.RemoteOutboundRtpStreamStats
|
|
2115
|
-
*/
|
|
2116
|
-
export class RemoteOutboundRtpStreamStats extends Message<RemoteOutboundRtpStreamStats> {
|
|
2117
|
-
/**
|
|
2118
|
-
* @generated from field: required string local_id = 1;
|
|
2119
|
-
*/
|
|
2120
|
-
localId?: string;
|
|
2121
|
-
|
|
2122
|
-
/**
|
|
2123
|
-
* @generated from field: required double remote_timestamp = 2;
|
|
2124
|
-
*/
|
|
2125
|
-
remoteTimestamp?: number;
|
|
2126
|
-
|
|
2127
|
-
/**
|
|
2128
|
-
* @generated from field: required uint64 reports_sent = 3;
|
|
2129
|
-
*/
|
|
2130
|
-
reportsSent?: bigint;
|
|
2131
|
-
|
|
2132
|
-
/**
|
|
2133
|
-
* @generated from field: required double round_trip_time = 4;
|
|
2134
|
-
*/
|
|
2135
|
-
roundTripTime?: number;
|
|
2136
|
-
|
|
2137
|
-
/**
|
|
2138
|
-
* @generated from field: required double total_round_trip_time = 5;
|
|
2139
|
-
*/
|
|
2140
|
-
totalRoundTripTime?: number;
|
|
2141
|
-
|
|
2142
|
-
/**
|
|
2143
|
-
* @generated from field: required uint64 round_trip_time_measurements = 6;
|
|
2144
|
-
*/
|
|
2145
|
-
roundTripTimeMeasurements?: bigint;
|
|
2146
|
-
|
|
2147
|
-
constructor(data?: PartialMessage<RemoteOutboundRtpStreamStats>) {
|
|
2148
|
-
super();
|
|
2149
|
-
proto2.util.initPartial(data, this);
|
|
2150
|
-
}
|
|
2151
|
-
|
|
2152
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
2153
|
-
static readonly typeName = "livekit.proto.RemoteOutboundRtpStreamStats";
|
|
2154
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
2155
|
-
{ no: 1, name: "local_id", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2156
|
-
{ no: 2, name: "remote_timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2157
|
-
{ no: 3, name: "reports_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2158
|
-
{ no: 4, name: "round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2159
|
-
{ no: 5, name: "total_round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2160
|
-
{ no: 6, name: "round_trip_time_measurements", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2161
|
-
]);
|
|
2162
|
-
|
|
2163
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RemoteOutboundRtpStreamStats {
|
|
2164
|
-
return new RemoteOutboundRtpStreamStats().fromBinary(bytes, options);
|
|
2165
|
-
}
|
|
2166
|
-
|
|
2167
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RemoteOutboundRtpStreamStats {
|
|
2168
|
-
return new RemoteOutboundRtpStreamStats().fromJson(jsonValue, options);
|
|
2169
|
-
}
|
|
2170
|
-
|
|
2171
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RemoteOutboundRtpStreamStats {
|
|
2172
|
-
return new RemoteOutboundRtpStreamStats().fromJsonString(jsonString, options);
|
|
2173
|
-
}
|
|
2174
|
-
|
|
2175
|
-
static equals(a: RemoteOutboundRtpStreamStats | PlainMessage<RemoteOutboundRtpStreamStats> | undefined, b: RemoteOutboundRtpStreamStats | PlainMessage<RemoteOutboundRtpStreamStats> | undefined): boolean {
|
|
2176
|
-
return proto2.util.equals(RemoteOutboundRtpStreamStats, a, b);
|
|
2177
|
-
}
|
|
2178
|
-
}
|
|
2179
|
-
|
|
2180
|
-
/**
|
|
2181
|
-
* @generated from message livekit.proto.MediaSourceStats
|
|
2182
|
-
*/
|
|
2183
|
-
export class MediaSourceStats extends Message<MediaSourceStats> {
|
|
2184
|
-
/**
|
|
2185
|
-
* @generated from field: required string track_identifier = 1;
|
|
2186
|
-
*/
|
|
2187
|
-
trackIdentifier?: string;
|
|
2188
|
-
|
|
2189
|
-
/**
|
|
2190
|
-
* @generated from field: required string kind = 2;
|
|
2191
|
-
*/
|
|
2192
|
-
kind?: string;
|
|
2193
|
-
|
|
2194
|
-
constructor(data?: PartialMessage<MediaSourceStats>) {
|
|
2195
|
-
super();
|
|
2196
|
-
proto2.util.initPartial(data, this);
|
|
2197
|
-
}
|
|
2198
|
-
|
|
2199
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
2200
|
-
static readonly typeName = "livekit.proto.MediaSourceStats";
|
|
2201
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
2202
|
-
{ no: 1, name: "track_identifier", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2203
|
-
{ no: 2, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2204
|
-
]);
|
|
2205
|
-
|
|
2206
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaSourceStats {
|
|
2207
|
-
return new MediaSourceStats().fromBinary(bytes, options);
|
|
2208
|
-
}
|
|
2209
|
-
|
|
2210
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaSourceStats {
|
|
2211
|
-
return new MediaSourceStats().fromJson(jsonValue, options);
|
|
2212
|
-
}
|
|
2213
|
-
|
|
2214
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaSourceStats {
|
|
2215
|
-
return new MediaSourceStats().fromJsonString(jsonString, options);
|
|
2216
|
-
}
|
|
2217
|
-
|
|
2218
|
-
static equals(a: MediaSourceStats | PlainMessage<MediaSourceStats> | undefined, b: MediaSourceStats | PlainMessage<MediaSourceStats> | undefined): boolean {
|
|
2219
|
-
return proto2.util.equals(MediaSourceStats, a, b);
|
|
2220
|
-
}
|
|
2221
|
-
}
|
|
2222
|
-
|
|
2223
|
-
/**
|
|
2224
|
-
* @generated from message livekit.proto.AudioSourceStats
|
|
2225
|
-
*/
|
|
2226
|
-
export class AudioSourceStats extends Message<AudioSourceStats> {
|
|
2227
|
-
/**
|
|
2228
|
-
* @generated from field: required double audio_level = 1;
|
|
2229
|
-
*/
|
|
2230
|
-
audioLevel?: number;
|
|
2231
|
-
|
|
2232
|
-
/**
|
|
2233
|
-
* @generated from field: required double total_audio_energy = 2;
|
|
2234
|
-
*/
|
|
2235
|
-
totalAudioEnergy?: number;
|
|
2236
|
-
|
|
2237
|
-
/**
|
|
2238
|
-
* @generated from field: required double total_samples_duration = 3;
|
|
2239
|
-
*/
|
|
2240
|
-
totalSamplesDuration?: number;
|
|
2241
|
-
|
|
2242
|
-
/**
|
|
2243
|
-
* @generated from field: required double echo_return_loss = 4;
|
|
2244
|
-
*/
|
|
2245
|
-
echoReturnLoss?: number;
|
|
2246
|
-
|
|
2247
|
-
/**
|
|
2248
|
-
* @generated from field: required double echo_return_loss_enhancement = 5;
|
|
2249
|
-
*/
|
|
2250
|
-
echoReturnLossEnhancement?: number;
|
|
2251
|
-
|
|
2252
|
-
/**
|
|
2253
|
-
* @generated from field: required double dropped_samples_duration = 6;
|
|
2254
|
-
*/
|
|
2255
|
-
droppedSamplesDuration?: number;
|
|
2256
|
-
|
|
2257
|
-
/**
|
|
2258
|
-
* @generated from field: required uint32 dropped_samples_events = 7;
|
|
2259
|
-
*/
|
|
2260
|
-
droppedSamplesEvents?: number;
|
|
2261
|
-
|
|
2262
|
-
/**
|
|
2263
|
-
* @generated from field: required double total_capture_delay = 8;
|
|
2264
|
-
*/
|
|
2265
|
-
totalCaptureDelay?: number;
|
|
2266
|
-
|
|
2267
|
-
/**
|
|
2268
|
-
* @generated from field: required uint64 total_samples_captured = 9;
|
|
2269
|
-
*/
|
|
2270
|
-
totalSamplesCaptured?: bigint;
|
|
2271
|
-
|
|
2272
|
-
constructor(data?: PartialMessage<AudioSourceStats>) {
|
|
2273
|
-
super();
|
|
2274
|
-
proto2.util.initPartial(data, this);
|
|
2275
|
-
}
|
|
2276
|
-
|
|
2277
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
2278
|
-
static readonly typeName = "livekit.proto.AudioSourceStats";
|
|
2279
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
2280
|
-
{ no: 1, name: "audio_level", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2281
|
-
{ no: 2, name: "total_audio_energy", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2282
|
-
{ no: 3, name: "total_samples_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2283
|
-
{ no: 4, name: "echo_return_loss", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2284
|
-
{ no: 5, name: "echo_return_loss_enhancement", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2285
|
-
{ no: 6, name: "dropped_samples_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2286
|
-
{ no: 7, name: "dropped_samples_events", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2287
|
-
{ no: 8, name: "total_capture_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2288
|
-
{ no: 9, name: "total_samples_captured", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2289
|
-
]);
|
|
2290
|
-
|
|
2291
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioSourceStats {
|
|
2292
|
-
return new AudioSourceStats().fromBinary(bytes, options);
|
|
2293
|
-
}
|
|
2294
|
-
|
|
2295
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioSourceStats {
|
|
2296
|
-
return new AudioSourceStats().fromJson(jsonValue, options);
|
|
2297
|
-
}
|
|
2298
|
-
|
|
2299
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioSourceStats {
|
|
2300
|
-
return new AudioSourceStats().fromJsonString(jsonString, options);
|
|
2301
|
-
}
|
|
2302
|
-
|
|
2303
|
-
static equals(a: AudioSourceStats | PlainMessage<AudioSourceStats> | undefined, b: AudioSourceStats | PlainMessage<AudioSourceStats> | undefined): boolean {
|
|
2304
|
-
return proto2.util.equals(AudioSourceStats, a, b);
|
|
2305
|
-
}
|
|
2306
|
-
}
|
|
2307
|
-
|
|
2308
|
-
/**
|
|
2309
|
-
* @generated from message livekit.proto.VideoSourceStats
|
|
2310
|
-
*/
|
|
2311
|
-
export class VideoSourceStats extends Message<VideoSourceStats> {
|
|
2312
|
-
/**
|
|
2313
|
-
* @generated from field: required uint32 width = 1;
|
|
2314
|
-
*/
|
|
2315
|
-
width?: number;
|
|
2316
|
-
|
|
2317
|
-
/**
|
|
2318
|
-
* @generated from field: required uint32 height = 2;
|
|
2319
|
-
*/
|
|
2320
|
-
height?: number;
|
|
2321
|
-
|
|
2322
|
-
/**
|
|
2323
|
-
* @generated from field: required uint32 frames = 3;
|
|
2324
|
-
*/
|
|
2325
|
-
frames?: number;
|
|
2326
|
-
|
|
2327
|
-
/**
|
|
2328
|
-
* @generated from field: required double frames_per_second = 4;
|
|
2329
|
-
*/
|
|
2330
|
-
framesPerSecond?: number;
|
|
2331
|
-
|
|
2332
|
-
constructor(data?: PartialMessage<VideoSourceStats>) {
|
|
2333
|
-
super();
|
|
2334
|
-
proto2.util.initPartial(data, this);
|
|
2335
|
-
}
|
|
2336
|
-
|
|
2337
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
2338
|
-
static readonly typeName = "livekit.proto.VideoSourceStats";
|
|
2339
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
2340
|
-
{ no: 1, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2341
|
-
{ no: 2, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2342
|
-
{ no: 3, name: "frames", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2343
|
-
{ no: 4, name: "frames_per_second", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2344
|
-
]);
|
|
2345
|
-
|
|
2346
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoSourceStats {
|
|
2347
|
-
return new VideoSourceStats().fromBinary(bytes, options);
|
|
2348
|
-
}
|
|
2349
|
-
|
|
2350
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoSourceStats {
|
|
2351
|
-
return new VideoSourceStats().fromJson(jsonValue, options);
|
|
2352
|
-
}
|
|
2353
|
-
|
|
2354
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoSourceStats {
|
|
2355
|
-
return new VideoSourceStats().fromJsonString(jsonString, options);
|
|
2356
|
-
}
|
|
2357
|
-
|
|
2358
|
-
static equals(a: VideoSourceStats | PlainMessage<VideoSourceStats> | undefined, b: VideoSourceStats | PlainMessage<VideoSourceStats> | undefined): boolean {
|
|
2359
|
-
return proto2.util.equals(VideoSourceStats, a, b);
|
|
2360
|
-
}
|
|
2361
|
-
}
|
|
2362
|
-
|
|
2363
|
-
/**
|
|
2364
|
-
* @generated from message livekit.proto.AudioPlayoutStats
|
|
2365
|
-
*/
|
|
2366
|
-
export class AudioPlayoutStats extends Message<AudioPlayoutStats> {
|
|
2367
|
-
/**
|
|
2368
|
-
* @generated from field: required string kind = 1;
|
|
2369
|
-
*/
|
|
2370
|
-
kind?: string;
|
|
2371
|
-
|
|
2372
|
-
/**
|
|
2373
|
-
* @generated from field: required double synthesized_samples_duration = 2;
|
|
2374
|
-
*/
|
|
2375
|
-
synthesizedSamplesDuration?: number;
|
|
2376
|
-
|
|
2377
|
-
/**
|
|
2378
|
-
* @generated from field: required uint32 synthesized_samples_events = 3;
|
|
2379
|
-
*/
|
|
2380
|
-
synthesizedSamplesEvents?: number;
|
|
2381
|
-
|
|
2382
|
-
/**
|
|
2383
|
-
* @generated from field: required double total_samples_duration = 4;
|
|
2384
|
-
*/
|
|
2385
|
-
totalSamplesDuration?: number;
|
|
2386
|
-
|
|
2387
|
-
/**
|
|
2388
|
-
* @generated from field: required double total_playout_delay = 5;
|
|
2389
|
-
*/
|
|
2390
|
-
totalPlayoutDelay?: number;
|
|
2391
|
-
|
|
2392
|
-
/**
|
|
2393
|
-
* @generated from field: required uint64 total_samples_count = 6;
|
|
2394
|
-
*/
|
|
2395
|
-
totalSamplesCount?: bigint;
|
|
2396
|
-
|
|
2397
|
-
constructor(data?: PartialMessage<AudioPlayoutStats>) {
|
|
2398
|
-
super();
|
|
2399
|
-
proto2.util.initPartial(data, this);
|
|
2400
|
-
}
|
|
2401
|
-
|
|
2402
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
2403
|
-
static readonly typeName = "livekit.proto.AudioPlayoutStats";
|
|
2404
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
2405
|
-
{ no: 1, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2406
|
-
{ no: 2, name: "synthesized_samples_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2407
|
-
{ no: 3, name: "synthesized_samples_events", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2408
|
-
{ no: 4, name: "total_samples_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2409
|
-
{ no: 5, name: "total_playout_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2410
|
-
{ no: 6, name: "total_samples_count", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2411
|
-
]);
|
|
2412
|
-
|
|
2413
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioPlayoutStats {
|
|
2414
|
-
return new AudioPlayoutStats().fromBinary(bytes, options);
|
|
2415
|
-
}
|
|
2416
|
-
|
|
2417
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioPlayoutStats {
|
|
2418
|
-
return new AudioPlayoutStats().fromJson(jsonValue, options);
|
|
2419
|
-
}
|
|
2420
|
-
|
|
2421
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioPlayoutStats {
|
|
2422
|
-
return new AudioPlayoutStats().fromJsonString(jsonString, options);
|
|
2423
|
-
}
|
|
2424
|
-
|
|
2425
|
-
static equals(a: AudioPlayoutStats | PlainMessage<AudioPlayoutStats> | undefined, b: AudioPlayoutStats | PlainMessage<AudioPlayoutStats> | undefined): boolean {
|
|
2426
|
-
return proto2.util.equals(AudioPlayoutStats, a, b);
|
|
2427
|
-
}
|
|
2428
|
-
}
|
|
2429
|
-
|
|
2430
|
-
/**
|
|
2431
|
-
* @generated from message livekit.proto.PeerConnectionStats
|
|
2432
|
-
*/
|
|
2433
|
-
export class PeerConnectionStats extends Message<PeerConnectionStats> {
|
|
2434
|
-
/**
|
|
2435
|
-
* @generated from field: required uint32 data_channels_opened = 1;
|
|
2436
|
-
*/
|
|
2437
|
-
dataChannelsOpened?: number;
|
|
2438
|
-
|
|
2439
|
-
/**
|
|
2440
|
-
* @generated from field: required uint32 data_channels_closed = 2;
|
|
2441
|
-
*/
|
|
2442
|
-
dataChannelsClosed?: number;
|
|
2443
|
-
|
|
2444
|
-
constructor(data?: PartialMessage<PeerConnectionStats>) {
|
|
2445
|
-
super();
|
|
2446
|
-
proto2.util.initPartial(data, this);
|
|
2447
|
-
}
|
|
2448
|
-
|
|
2449
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
2450
|
-
static readonly typeName = "livekit.proto.PeerConnectionStats";
|
|
2451
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
2452
|
-
{ no: 1, name: "data_channels_opened", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2453
|
-
{ no: 2, name: "data_channels_closed", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2454
|
-
]);
|
|
2455
|
-
|
|
2456
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PeerConnectionStats {
|
|
2457
|
-
return new PeerConnectionStats().fromBinary(bytes, options);
|
|
2458
|
-
}
|
|
2459
|
-
|
|
2460
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PeerConnectionStats {
|
|
2461
|
-
return new PeerConnectionStats().fromJson(jsonValue, options);
|
|
2462
|
-
}
|
|
2463
|
-
|
|
2464
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PeerConnectionStats {
|
|
2465
|
-
return new PeerConnectionStats().fromJsonString(jsonString, options);
|
|
2466
|
-
}
|
|
2467
|
-
|
|
2468
|
-
static equals(a: PeerConnectionStats | PlainMessage<PeerConnectionStats> | undefined, b: PeerConnectionStats | PlainMessage<PeerConnectionStats> | undefined): boolean {
|
|
2469
|
-
return proto2.util.equals(PeerConnectionStats, a, b);
|
|
2470
|
-
}
|
|
2471
|
-
}
|
|
2472
|
-
|
|
2473
|
-
/**
|
|
2474
|
-
* @generated from message livekit.proto.DataChannelStats
|
|
2475
|
-
*/
|
|
2476
|
-
export class DataChannelStats extends Message<DataChannelStats> {
|
|
2477
|
-
/**
|
|
2478
|
-
* @generated from field: required string label = 1;
|
|
2479
|
-
*/
|
|
2480
|
-
label?: string;
|
|
2481
|
-
|
|
2482
|
-
/**
|
|
2483
|
-
* @generated from field: required string protocol = 2;
|
|
2484
|
-
*/
|
|
2485
|
-
protocol?: string;
|
|
2486
|
-
|
|
2487
|
-
/**
|
|
2488
|
-
* @generated from field: required int32 data_channel_identifier = 3;
|
|
2489
|
-
*/
|
|
2490
|
-
dataChannelIdentifier?: number;
|
|
2491
|
-
|
|
2492
|
-
/**
|
|
2493
|
-
* @generated from field: optional livekit.proto.DataChannelState state = 4;
|
|
2494
|
-
*/
|
|
2495
|
-
state?: DataChannelState;
|
|
2496
|
-
|
|
2497
|
-
/**
|
|
2498
|
-
* @generated from field: required uint32 messages_sent = 5;
|
|
2499
|
-
*/
|
|
2500
|
-
messagesSent?: number;
|
|
2501
|
-
|
|
2502
|
-
/**
|
|
2503
|
-
* @generated from field: required uint64 bytes_sent = 6;
|
|
2504
|
-
*/
|
|
2505
|
-
bytesSent?: bigint;
|
|
2506
|
-
|
|
2507
|
-
/**
|
|
2508
|
-
* @generated from field: required uint32 messages_received = 7;
|
|
2509
|
-
*/
|
|
2510
|
-
messagesReceived?: number;
|
|
2511
|
-
|
|
2512
|
-
/**
|
|
2513
|
-
* @generated from field: required uint64 bytes_received = 8;
|
|
2514
|
-
*/
|
|
2515
|
-
bytesReceived?: bigint;
|
|
2516
|
-
|
|
2517
|
-
constructor(data?: PartialMessage<DataChannelStats>) {
|
|
2518
|
-
super();
|
|
2519
|
-
proto2.util.initPartial(data, this);
|
|
2520
|
-
}
|
|
2521
|
-
|
|
2522
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
2523
|
-
static readonly typeName = "livekit.proto.DataChannelStats";
|
|
2524
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
2525
|
-
{ no: 1, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2526
|
-
{ no: 2, name: "protocol", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2527
|
-
{ no: 3, name: "data_channel_identifier", kind: "scalar", T: 5 /* ScalarType.INT32 */, req: true },
|
|
2528
|
-
{ no: 4, name: "state", kind: "enum", T: proto2.getEnumType(DataChannelState), opt: true },
|
|
2529
|
-
{ no: 5, name: "messages_sent", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2530
|
-
{ no: 6, name: "bytes_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2531
|
-
{ no: 7, name: "messages_received", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2532
|
-
{ no: 8, name: "bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2533
|
-
]);
|
|
2534
|
-
|
|
2535
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataChannelStats {
|
|
2536
|
-
return new DataChannelStats().fromBinary(bytes, options);
|
|
2537
|
-
}
|
|
2538
|
-
|
|
2539
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataChannelStats {
|
|
2540
|
-
return new DataChannelStats().fromJson(jsonValue, options);
|
|
2541
|
-
}
|
|
2542
|
-
|
|
2543
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataChannelStats {
|
|
2544
|
-
return new DataChannelStats().fromJsonString(jsonString, options);
|
|
2545
|
-
}
|
|
2546
|
-
|
|
2547
|
-
static equals(a: DataChannelStats | PlainMessage<DataChannelStats> | undefined, b: DataChannelStats | PlainMessage<DataChannelStats> | undefined): boolean {
|
|
2548
|
-
return proto2.util.equals(DataChannelStats, a, b);
|
|
2549
|
-
}
|
|
2550
|
-
}
|
|
2551
|
-
|
|
2552
|
-
/**
|
|
2553
|
-
* @generated from message livekit.proto.TransportStats
|
|
2554
|
-
*/
|
|
2555
|
-
export class TransportStats extends Message<TransportStats> {
|
|
2556
|
-
/**
|
|
2557
|
-
* @generated from field: required uint64 packets_sent = 1;
|
|
2558
|
-
*/
|
|
2559
|
-
packetsSent?: bigint;
|
|
2560
|
-
|
|
2561
|
-
/**
|
|
2562
|
-
* @generated from field: required uint64 packets_received = 2;
|
|
2563
|
-
*/
|
|
2564
|
-
packetsReceived?: bigint;
|
|
2565
|
-
|
|
2566
|
-
/**
|
|
2567
|
-
* @generated from field: required uint64 bytes_sent = 3;
|
|
2568
|
-
*/
|
|
2569
|
-
bytesSent?: bigint;
|
|
2570
|
-
|
|
2571
|
-
/**
|
|
2572
|
-
* @generated from field: required uint64 bytes_received = 4;
|
|
2573
|
-
*/
|
|
2574
|
-
bytesReceived?: bigint;
|
|
2575
|
-
|
|
2576
|
-
/**
|
|
2577
|
-
* @generated from field: required livekit.proto.IceRole ice_role = 5;
|
|
2578
|
-
*/
|
|
2579
|
-
iceRole?: IceRole;
|
|
2580
|
-
|
|
2581
|
-
/**
|
|
2582
|
-
* @generated from field: required string ice_local_username_fragment = 6;
|
|
2583
|
-
*/
|
|
2584
|
-
iceLocalUsernameFragment?: string;
|
|
2585
|
-
|
|
2586
|
-
/**
|
|
2587
|
-
* @generated from field: optional livekit.proto.DtlsTransportState dtls_state = 7;
|
|
2588
|
-
*/
|
|
2589
|
-
dtlsState?: DtlsTransportState;
|
|
2590
|
-
|
|
2591
|
-
/**
|
|
2592
|
-
* @generated from field: optional livekit.proto.IceTransportState ice_state = 8;
|
|
2593
|
-
*/
|
|
2594
|
-
iceState?: IceTransportState;
|
|
2595
|
-
|
|
2596
|
-
/**
|
|
2597
|
-
* @generated from field: required string selected_candidate_pair_id = 9;
|
|
2598
|
-
*/
|
|
2599
|
-
selectedCandidatePairId?: string;
|
|
2600
|
-
|
|
2601
|
-
/**
|
|
2602
|
-
* @generated from field: required string local_certificate_id = 10;
|
|
2603
|
-
*/
|
|
2604
|
-
localCertificateId?: string;
|
|
2605
|
-
|
|
2606
|
-
/**
|
|
2607
|
-
* @generated from field: required string remote_certificate_id = 11;
|
|
2608
|
-
*/
|
|
2609
|
-
remoteCertificateId?: string;
|
|
2610
|
-
|
|
2611
|
-
/**
|
|
2612
|
-
* @generated from field: required string tls_version = 12;
|
|
2613
|
-
*/
|
|
2614
|
-
tlsVersion?: string;
|
|
2615
|
-
|
|
2616
|
-
/**
|
|
2617
|
-
* @generated from field: required string dtls_cipher = 13;
|
|
2618
|
-
*/
|
|
2619
|
-
dtlsCipher?: string;
|
|
2620
|
-
|
|
2621
|
-
/**
|
|
2622
|
-
* @generated from field: required livekit.proto.DtlsRole dtls_role = 14;
|
|
2623
|
-
*/
|
|
2624
|
-
dtlsRole?: DtlsRole;
|
|
2625
|
-
|
|
2626
|
-
/**
|
|
2627
|
-
* @generated from field: required string srtp_cipher = 15;
|
|
2628
|
-
*/
|
|
2629
|
-
srtpCipher?: string;
|
|
2630
|
-
|
|
2631
|
-
/**
|
|
2632
|
-
* @generated from field: required uint32 selected_candidate_pair_changes = 16;
|
|
2633
|
-
*/
|
|
2634
|
-
selectedCandidatePairChanges?: number;
|
|
2635
|
-
|
|
2636
|
-
constructor(data?: PartialMessage<TransportStats>) {
|
|
2637
|
-
super();
|
|
2638
|
-
proto2.util.initPartial(data, this);
|
|
2639
|
-
}
|
|
2640
|
-
|
|
2641
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
2642
|
-
static readonly typeName = "livekit.proto.TransportStats";
|
|
2643
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
2644
|
-
{ no: 1, name: "packets_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2645
|
-
{ no: 2, name: "packets_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2646
|
-
{ no: 3, name: "bytes_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2647
|
-
{ no: 4, name: "bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2648
|
-
{ no: 5, name: "ice_role", kind: "enum", T: proto2.getEnumType(IceRole), req: true },
|
|
2649
|
-
{ no: 6, name: "ice_local_username_fragment", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2650
|
-
{ no: 7, name: "dtls_state", kind: "enum", T: proto2.getEnumType(DtlsTransportState), opt: true },
|
|
2651
|
-
{ no: 8, name: "ice_state", kind: "enum", T: proto2.getEnumType(IceTransportState), opt: true },
|
|
2652
|
-
{ no: 9, name: "selected_candidate_pair_id", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2653
|
-
{ no: 10, name: "local_certificate_id", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2654
|
-
{ no: 11, name: "remote_certificate_id", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2655
|
-
{ no: 12, name: "tls_version", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2656
|
-
{ no: 13, name: "dtls_cipher", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2657
|
-
{ no: 14, name: "dtls_role", kind: "enum", T: proto2.getEnumType(DtlsRole), req: true },
|
|
2658
|
-
{ no: 15, name: "srtp_cipher", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2659
|
-
{ no: 16, name: "selected_candidate_pair_changes", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2660
|
-
]);
|
|
2661
|
-
|
|
2662
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TransportStats {
|
|
2663
|
-
return new TransportStats().fromBinary(bytes, options);
|
|
2664
|
-
}
|
|
2665
|
-
|
|
2666
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TransportStats {
|
|
2667
|
-
return new TransportStats().fromJson(jsonValue, options);
|
|
2668
|
-
}
|
|
2669
|
-
|
|
2670
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TransportStats {
|
|
2671
|
-
return new TransportStats().fromJsonString(jsonString, options);
|
|
2672
|
-
}
|
|
2673
|
-
|
|
2674
|
-
static equals(a: TransportStats | PlainMessage<TransportStats> | undefined, b: TransportStats | PlainMessage<TransportStats> | undefined): boolean {
|
|
2675
|
-
return proto2.util.equals(TransportStats, a, b);
|
|
2676
|
-
}
|
|
2677
|
-
}
|
|
2678
|
-
|
|
2679
|
-
/**
|
|
2680
|
-
* @generated from message livekit.proto.CandidatePairStats
|
|
2681
|
-
*/
|
|
2682
|
-
export class CandidatePairStats extends Message<CandidatePairStats> {
|
|
2683
|
-
/**
|
|
2684
|
-
* @generated from field: required string transport_id = 1;
|
|
2685
|
-
*/
|
|
2686
|
-
transportId?: string;
|
|
2687
|
-
|
|
2688
|
-
/**
|
|
2689
|
-
* @generated from field: required string local_candidate_id = 2;
|
|
2690
|
-
*/
|
|
2691
|
-
localCandidateId?: string;
|
|
2692
|
-
|
|
2693
|
-
/**
|
|
2694
|
-
* @generated from field: required string remote_candidate_id = 3;
|
|
2695
|
-
*/
|
|
2696
|
-
remoteCandidateId?: string;
|
|
2697
|
-
|
|
2698
|
-
/**
|
|
2699
|
-
* @generated from field: optional livekit.proto.IceCandidatePairState state = 4;
|
|
2700
|
-
*/
|
|
2701
|
-
state?: IceCandidatePairState;
|
|
2702
|
-
|
|
2703
|
-
/**
|
|
2704
|
-
* @generated from field: required bool nominated = 5;
|
|
2705
|
-
*/
|
|
2706
|
-
nominated?: boolean;
|
|
2707
|
-
|
|
2708
|
-
/**
|
|
2709
|
-
* @generated from field: required uint64 packets_sent = 6;
|
|
2710
|
-
*/
|
|
2711
|
-
packetsSent?: bigint;
|
|
2712
|
-
|
|
2713
|
-
/**
|
|
2714
|
-
* @generated from field: required uint64 packets_received = 7;
|
|
2715
|
-
*/
|
|
2716
|
-
packetsReceived?: bigint;
|
|
2717
|
-
|
|
2718
|
-
/**
|
|
2719
|
-
* @generated from field: required uint64 bytes_sent = 8;
|
|
2720
|
-
*/
|
|
2721
|
-
bytesSent?: bigint;
|
|
2722
|
-
|
|
2723
|
-
/**
|
|
2724
|
-
* @generated from field: required uint64 bytes_received = 9;
|
|
2725
|
-
*/
|
|
2726
|
-
bytesReceived?: bigint;
|
|
2727
|
-
|
|
2728
|
-
/**
|
|
2729
|
-
* @generated from field: required double last_packet_sent_timestamp = 10;
|
|
2730
|
-
*/
|
|
2731
|
-
lastPacketSentTimestamp?: number;
|
|
2732
|
-
|
|
2733
|
-
/**
|
|
2734
|
-
* @generated from field: required double last_packet_received_timestamp = 11;
|
|
2735
|
-
*/
|
|
2736
|
-
lastPacketReceivedTimestamp?: number;
|
|
2737
|
-
|
|
2738
|
-
/**
|
|
2739
|
-
* @generated from field: required double total_round_trip_time = 12;
|
|
2740
|
-
*/
|
|
2741
|
-
totalRoundTripTime?: number;
|
|
2742
|
-
|
|
2743
|
-
/**
|
|
2744
|
-
* @generated from field: required double current_round_trip_time = 13;
|
|
2745
|
-
*/
|
|
2746
|
-
currentRoundTripTime?: number;
|
|
2747
|
-
|
|
2748
|
-
/**
|
|
2749
|
-
* @generated from field: required double available_outgoing_bitrate = 14;
|
|
2750
|
-
*/
|
|
2751
|
-
availableOutgoingBitrate?: number;
|
|
2752
|
-
|
|
2753
|
-
/**
|
|
2754
|
-
* @generated from field: required double available_incoming_bitrate = 15;
|
|
2755
|
-
*/
|
|
2756
|
-
availableIncomingBitrate?: number;
|
|
2757
|
-
|
|
2758
|
-
/**
|
|
2759
|
-
* @generated from field: required uint64 requests_received = 16;
|
|
2760
|
-
*/
|
|
2761
|
-
requestsReceived?: bigint;
|
|
2762
|
-
|
|
2763
|
-
/**
|
|
2764
|
-
* @generated from field: required uint64 requests_sent = 17;
|
|
2765
|
-
*/
|
|
2766
|
-
requestsSent?: bigint;
|
|
2767
|
-
|
|
2768
|
-
/**
|
|
2769
|
-
* @generated from field: required uint64 responses_received = 18;
|
|
2770
|
-
*/
|
|
2771
|
-
responsesReceived?: bigint;
|
|
2772
|
-
|
|
2773
|
-
/**
|
|
2774
|
-
* @generated from field: required uint64 responses_sent = 19;
|
|
2775
|
-
*/
|
|
2776
|
-
responsesSent?: bigint;
|
|
2777
|
-
|
|
2778
|
-
/**
|
|
2779
|
-
* @generated from field: required uint64 consent_requests_sent = 20;
|
|
2780
|
-
*/
|
|
2781
|
-
consentRequestsSent?: bigint;
|
|
2782
|
-
|
|
2783
|
-
/**
|
|
2784
|
-
* @generated from field: required uint32 packets_discarded_on_send = 21;
|
|
2785
|
-
*/
|
|
2786
|
-
packetsDiscardedOnSend?: number;
|
|
2787
|
-
|
|
2788
|
-
/**
|
|
2789
|
-
* @generated from field: required uint64 bytes_discarded_on_send = 22;
|
|
2790
|
-
*/
|
|
2791
|
-
bytesDiscardedOnSend?: bigint;
|
|
2792
|
-
|
|
2793
|
-
constructor(data?: PartialMessage<CandidatePairStats>) {
|
|
2794
|
-
super();
|
|
2795
|
-
proto2.util.initPartial(data, this);
|
|
2796
|
-
}
|
|
2797
|
-
|
|
2798
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
2799
|
-
static readonly typeName = "livekit.proto.CandidatePairStats";
|
|
2800
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
2801
|
-
{ no: 1, name: "transport_id", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2802
|
-
{ no: 2, name: "local_candidate_id", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2803
|
-
{ no: 3, name: "remote_candidate_id", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2804
|
-
{ no: 4, name: "state", kind: "enum", T: proto2.getEnumType(IceCandidatePairState), opt: true },
|
|
2805
|
-
{ no: 5, name: "nominated", kind: "scalar", T: 8 /* ScalarType.BOOL */, req: true },
|
|
2806
|
-
{ no: 6, name: "packets_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2807
|
-
{ no: 7, name: "packets_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2808
|
-
{ no: 8, name: "bytes_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2809
|
-
{ no: 9, name: "bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2810
|
-
{ no: 10, name: "last_packet_sent_timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2811
|
-
{ no: 11, name: "last_packet_received_timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2812
|
-
{ no: 12, name: "total_round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2813
|
-
{ no: 13, name: "current_round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2814
|
-
{ no: 14, name: "available_outgoing_bitrate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2815
|
-
{ no: 15, name: "available_incoming_bitrate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, req: true },
|
|
2816
|
-
{ no: 16, name: "requests_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2817
|
-
{ no: 17, name: "requests_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2818
|
-
{ no: 18, name: "responses_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2819
|
-
{ no: 19, name: "responses_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2820
|
-
{ no: 20, name: "consent_requests_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2821
|
-
{ no: 21, name: "packets_discarded_on_send", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
2822
|
-
{ no: 22, name: "bytes_discarded_on_send", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
2823
|
-
]);
|
|
2824
|
-
|
|
2825
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CandidatePairStats {
|
|
2826
|
-
return new CandidatePairStats().fromBinary(bytes, options);
|
|
2827
|
-
}
|
|
2828
|
-
|
|
2829
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CandidatePairStats {
|
|
2830
|
-
return new CandidatePairStats().fromJson(jsonValue, options);
|
|
2831
|
-
}
|
|
2832
|
-
|
|
2833
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CandidatePairStats {
|
|
2834
|
-
return new CandidatePairStats().fromJsonString(jsonString, options);
|
|
2835
|
-
}
|
|
2836
|
-
|
|
2837
|
-
static equals(a: CandidatePairStats | PlainMessage<CandidatePairStats> | undefined, b: CandidatePairStats | PlainMessage<CandidatePairStats> | undefined): boolean {
|
|
2838
|
-
return proto2.util.equals(CandidatePairStats, a, b);
|
|
2839
|
-
}
|
|
2840
|
-
}
|
|
2841
|
-
|
|
2842
|
-
/**
|
|
2843
|
-
* @generated from message livekit.proto.IceCandidateStats
|
|
2844
|
-
*/
|
|
2845
|
-
export class IceCandidateStats extends Message<IceCandidateStats> {
|
|
2846
|
-
/**
|
|
2847
|
-
* @generated from field: required string transport_id = 1;
|
|
2848
|
-
*/
|
|
2849
|
-
transportId?: string;
|
|
2850
|
-
|
|
2851
|
-
/**
|
|
2852
|
-
* @generated from field: required string address = 2;
|
|
2853
|
-
*/
|
|
2854
|
-
address?: string;
|
|
2855
|
-
|
|
2856
|
-
/**
|
|
2857
|
-
* @generated from field: required int32 port = 3;
|
|
2858
|
-
*/
|
|
2859
|
-
port?: number;
|
|
2860
|
-
|
|
2861
|
-
/**
|
|
2862
|
-
* @generated from field: required string protocol = 4;
|
|
2863
|
-
*/
|
|
2864
|
-
protocol?: string;
|
|
2865
|
-
|
|
2866
|
-
/**
|
|
2867
|
-
* @generated from field: optional livekit.proto.IceCandidateType candidate_type = 5;
|
|
2868
|
-
*/
|
|
2869
|
-
candidateType?: IceCandidateType;
|
|
2870
|
-
|
|
2871
|
-
/**
|
|
2872
|
-
* @generated from field: required int32 priority = 6;
|
|
2873
|
-
*/
|
|
2874
|
-
priority?: number;
|
|
2875
|
-
|
|
2876
|
-
/**
|
|
2877
|
-
* @generated from field: required string url = 7;
|
|
2878
|
-
*/
|
|
2879
|
-
url?: string;
|
|
2880
|
-
|
|
2881
|
-
/**
|
|
2882
|
-
* @generated from field: optional livekit.proto.IceServerTransportProtocol relay_protocol = 8;
|
|
2883
|
-
*/
|
|
2884
|
-
relayProtocol?: IceServerTransportProtocol;
|
|
2885
|
-
|
|
2886
|
-
/**
|
|
2887
|
-
* @generated from field: required string foundation = 9;
|
|
2888
|
-
*/
|
|
2889
|
-
foundation?: string;
|
|
2890
|
-
|
|
2891
|
-
/**
|
|
2892
|
-
* @generated from field: required string related_address = 10;
|
|
2893
|
-
*/
|
|
2894
|
-
relatedAddress?: string;
|
|
2895
|
-
|
|
2896
|
-
/**
|
|
2897
|
-
* @generated from field: required int32 related_port = 11;
|
|
2898
|
-
*/
|
|
2899
|
-
relatedPort?: number;
|
|
2900
|
-
|
|
2901
|
-
/**
|
|
2902
|
-
* @generated from field: required string username_fragment = 12;
|
|
2903
|
-
*/
|
|
2904
|
-
usernameFragment?: string;
|
|
2905
|
-
|
|
2906
|
-
/**
|
|
2907
|
-
* @generated from field: optional livekit.proto.IceTcpCandidateType tcp_type = 13;
|
|
2908
|
-
*/
|
|
2909
|
-
tcpType?: IceTcpCandidateType;
|
|
2910
|
-
|
|
2911
|
-
constructor(data?: PartialMessage<IceCandidateStats>) {
|
|
2912
|
-
super();
|
|
2913
|
-
proto2.util.initPartial(data, this);
|
|
2914
|
-
}
|
|
2915
|
-
|
|
2916
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
2917
|
-
static readonly typeName = "livekit.proto.IceCandidateStats";
|
|
2918
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
2919
|
-
{ no: 1, name: "transport_id", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2920
|
-
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2921
|
-
{ no: 3, name: "port", kind: "scalar", T: 5 /* ScalarType.INT32 */, req: true },
|
|
2922
|
-
{ no: 4, name: "protocol", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2923
|
-
{ no: 5, name: "candidate_type", kind: "enum", T: proto2.getEnumType(IceCandidateType), opt: true },
|
|
2924
|
-
{ no: 6, name: "priority", kind: "scalar", T: 5 /* ScalarType.INT32 */, req: true },
|
|
2925
|
-
{ no: 7, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2926
|
-
{ no: 8, name: "relay_protocol", kind: "enum", T: proto2.getEnumType(IceServerTransportProtocol), opt: true },
|
|
2927
|
-
{ no: 9, name: "foundation", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2928
|
-
{ no: 10, name: "related_address", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2929
|
-
{ no: 11, name: "related_port", kind: "scalar", T: 5 /* ScalarType.INT32 */, req: true },
|
|
2930
|
-
{ no: 12, name: "username_fragment", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2931
|
-
{ no: 13, name: "tcp_type", kind: "enum", T: proto2.getEnumType(IceTcpCandidateType), opt: true },
|
|
2932
|
-
]);
|
|
2933
|
-
|
|
2934
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IceCandidateStats {
|
|
2935
|
-
return new IceCandidateStats().fromBinary(bytes, options);
|
|
2936
|
-
}
|
|
2937
|
-
|
|
2938
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IceCandidateStats {
|
|
2939
|
-
return new IceCandidateStats().fromJson(jsonValue, options);
|
|
2940
|
-
}
|
|
2941
|
-
|
|
2942
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IceCandidateStats {
|
|
2943
|
-
return new IceCandidateStats().fromJsonString(jsonString, options);
|
|
2944
|
-
}
|
|
2945
|
-
|
|
2946
|
-
static equals(a: IceCandidateStats | PlainMessage<IceCandidateStats> | undefined, b: IceCandidateStats | PlainMessage<IceCandidateStats> | undefined): boolean {
|
|
2947
|
-
return proto2.util.equals(IceCandidateStats, a, b);
|
|
2948
|
-
}
|
|
2949
|
-
}
|
|
2950
|
-
|
|
2951
|
-
/**
|
|
2952
|
-
* @generated from message livekit.proto.CertificateStats
|
|
2953
|
-
*/
|
|
2954
|
-
export class CertificateStats extends Message<CertificateStats> {
|
|
2955
|
-
/**
|
|
2956
|
-
* @generated from field: required string fingerprint = 1;
|
|
2957
|
-
*/
|
|
2958
|
-
fingerprint?: string;
|
|
2959
|
-
|
|
2960
|
-
/**
|
|
2961
|
-
* @generated from field: required string fingerprint_algorithm = 2;
|
|
2962
|
-
*/
|
|
2963
|
-
fingerprintAlgorithm?: string;
|
|
2964
|
-
|
|
2965
|
-
/**
|
|
2966
|
-
* @generated from field: required string base64_certificate = 3;
|
|
2967
|
-
*/
|
|
2968
|
-
base64Certificate?: string;
|
|
2969
|
-
|
|
2970
|
-
/**
|
|
2971
|
-
* @generated from field: required string issuer_certificate_id = 4;
|
|
2972
|
-
*/
|
|
2973
|
-
issuerCertificateId?: string;
|
|
2974
|
-
|
|
2975
|
-
constructor(data?: PartialMessage<CertificateStats>) {
|
|
2976
|
-
super();
|
|
2977
|
-
proto2.util.initPartial(data, this);
|
|
2978
|
-
}
|
|
2979
|
-
|
|
2980
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
2981
|
-
static readonly typeName = "livekit.proto.CertificateStats";
|
|
2982
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
2983
|
-
{ no: 1, name: "fingerprint", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2984
|
-
{ no: 2, name: "fingerprint_algorithm", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2985
|
-
{ no: 3, name: "base64_certificate", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2986
|
-
{ no: 4, name: "issuer_certificate_id", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
2987
|
-
]);
|
|
2988
|
-
|
|
2989
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CertificateStats {
|
|
2990
|
-
return new CertificateStats().fromBinary(bytes, options);
|
|
2991
|
-
}
|
|
2992
|
-
|
|
2993
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CertificateStats {
|
|
2994
|
-
return new CertificateStats().fromJson(jsonValue, options);
|
|
2995
|
-
}
|
|
2996
|
-
|
|
2997
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CertificateStats {
|
|
2998
|
-
return new CertificateStats().fromJsonString(jsonString, options);
|
|
2999
|
-
}
|
|
3000
|
-
|
|
3001
|
-
static equals(a: CertificateStats | PlainMessage<CertificateStats> | undefined, b: CertificateStats | PlainMessage<CertificateStats> | undefined): boolean {
|
|
3002
|
-
return proto2.util.equals(CertificateStats, a, b);
|
|
3003
|
-
}
|
|
3004
|
-
}
|
|
3005
|
-
|
|
3006
|
-
/**
|
|
3007
|
-
* @generated from message livekit.proto.StreamStats
|
|
3008
|
-
*/
|
|
3009
|
-
export class StreamStats extends Message<StreamStats> {
|
|
3010
|
-
/**
|
|
3011
|
-
* @generated from field: required string id = 1;
|
|
3012
|
-
*/
|
|
3013
|
-
id?: string;
|
|
3014
|
-
|
|
3015
|
-
/**
|
|
3016
|
-
* required int64 timestamp = 3;
|
|
3017
|
-
*
|
|
3018
|
-
* @generated from field: required string stream_identifier = 2;
|
|
3019
|
-
*/
|
|
3020
|
-
streamIdentifier?: string;
|
|
3021
|
-
|
|
3022
|
-
constructor(data?: PartialMessage<StreamStats>) {
|
|
3023
|
-
super();
|
|
3024
|
-
proto2.util.initPartial(data, this);
|
|
3025
|
-
}
|
|
3026
|
-
|
|
3027
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
3028
|
-
static readonly typeName = "livekit.proto.StreamStats";
|
|
3029
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
3030
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
3031
|
-
{ no: 2, name: "stream_identifier", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
|
|
3032
|
-
]);
|
|
3033
|
-
|
|
3034
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamStats {
|
|
3035
|
-
return new StreamStats().fromBinary(bytes, options);
|
|
3036
|
-
}
|
|
3037
|
-
|
|
3038
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamStats {
|
|
3039
|
-
return new StreamStats().fromJson(jsonValue, options);
|
|
3040
|
-
}
|
|
3041
|
-
|
|
3042
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamStats {
|
|
3043
|
-
return new StreamStats().fromJsonString(jsonString, options);
|
|
3044
|
-
}
|
|
3045
|
-
|
|
3046
|
-
static equals(a: StreamStats | PlainMessage<StreamStats> | undefined, b: StreamStats | PlainMessage<StreamStats> | undefined): boolean {
|
|
3047
|
-
return proto2.util.equals(StreamStats, a, b);
|
|
3048
|
-
}
|
|
3049
|
-
}
|
|
3050
|
-
|