livekit-client 1.9.1 → 1.9.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/livekit-client.esm.mjs +3338 -3037
- package/dist/livekit-client.esm.mjs.map +1 -1
- package/dist/livekit-client.umd.js +1 -1
- package/dist/livekit-client.umd.js.map +1 -1
- package/dist/src/api/SignalClient.d.ts +98 -97
- package/dist/src/api/SignalClient.d.ts.map +1 -1
- package/dist/src/connectionHelper/ConnectionCheck.d.ts +25 -24
- package/dist/src/connectionHelper/ConnectionCheck.d.ts.map +1 -1
- package/dist/src/connectionHelper/checks/Checker.d.ts +58 -58
- package/dist/src/connectionHelper/checks/publishAudio.d.ts +5 -5
- package/dist/src/connectionHelper/checks/publishVideo.d.ts +5 -5
- package/dist/src/connectionHelper/checks/reconnect.d.ts +5 -5
- package/dist/src/connectionHelper/checks/turn.d.ts +5 -5
- package/dist/src/connectionHelper/checks/webrtc.d.ts +5 -5
- package/dist/src/connectionHelper/checks/websocket.d.ts +5 -5
- package/dist/src/index.d.ts +34 -31
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/logger.d.ts +25 -25
- package/dist/src/options.d.ts +98 -98
- package/dist/src/proto/google/protobuf/timestamp.d.ts +145 -145
- package/dist/src/proto/livekit_models.d.ts +2300 -2300
- package/dist/src/proto/livekit_rtc.d.ts +14032 -14032
- package/dist/src/room/DefaultReconnectPolicy.d.ts +7 -7
- package/dist/src/room/DeviceManager.d.ts +8 -8
- package/dist/src/room/PCTransport.d.ts +37 -37
- package/dist/src/room/PCTransport.d.ts.map +1 -1
- package/dist/src/room/RTCEngine.d.ts +126 -120
- package/dist/src/room/RTCEngine.d.ts.map +1 -1
- package/dist/src/room/ReconnectPolicy.d.ts +23 -23
- package/dist/src/room/RegionUrlProvider.d.ts +13 -13
- package/dist/src/room/Room.d.ts +232 -229
- package/dist/src/room/Room.d.ts.map +1 -1
- package/dist/src/room/defaults.d.ts +7 -7
- package/dist/src/room/defaults.d.ts.map +1 -1
- package/dist/src/room/errors.d.ts +42 -42
- package/dist/src/room/events.d.ts +455 -455
- package/dist/src/room/participant/LocalParticipant.d.ts +170 -170
- package/dist/src/room/participant/LocalParticipant.d.ts.map +1 -1
- package/dist/src/room/participant/Participant.d.ts +93 -93
- package/dist/src/room/participant/ParticipantTrackPermission.d.ts +25 -25
- package/dist/src/room/participant/RemoteParticipant.d.ts +52 -51
- package/dist/src/room/participant/RemoteParticipant.d.ts.map +1 -1
- package/dist/src/room/participant/publishUtils.d.ts +19 -18
- package/dist/src/room/participant/publishUtils.d.ts.map +1 -1
- package/dist/src/room/stats.d.ts +66 -66
- package/dist/src/room/timers.d.ts +12 -12
- package/dist/src/room/track/LocalAudioTrack.d.ts +24 -24
- package/dist/src/room/track/LocalAudioTrack.d.ts.map +1 -1
- package/dist/src/room/track/LocalTrack.d.ts +43 -43
- package/dist/src/room/track/LocalTrackPublication.d.ts +37 -37
- package/dist/src/room/track/LocalVideoTrack.d.ts +53 -53
- package/dist/src/room/track/LocalVideoTrack.d.ts.map +1 -1
- package/dist/src/room/track/RemoteAudioTrack.d.ts +52 -52
- package/dist/src/room/track/RemoteAudioTrack.d.ts.map +1 -1
- package/dist/src/room/track/RemoteTrack.d.ts +14 -14
- package/dist/src/room/track/RemoteTrackPublication.d.ts +60 -60
- package/dist/src/room/track/RemoteVideoTrack.d.ts +52 -52
- package/dist/src/room/track/RemoteVideoTrack.d.ts.map +1 -1
- package/dist/src/room/track/Track.d.ts +124 -124
- package/dist/src/room/track/TrackPublication.d.ts +67 -67
- package/dist/src/room/track/create.d.ts +23 -23
- package/dist/src/room/track/create.d.ts.map +1 -1
- package/dist/src/room/track/options.d.ts +255 -247
- package/dist/src/room/track/options.d.ts.map +1 -1
- package/dist/src/room/track/types.d.ts +22 -22
- package/dist/src/room/track/utils.d.ts +13 -13
- package/dist/src/room/types.d.ts +25 -25
- package/dist/src/room/utils.d.ts +86 -85
- package/dist/src/room/utils.d.ts.map +1 -1
- package/dist/src/test/MockMediaStreamTrack.d.ts +25 -25
- package/dist/src/test/mocks.d.ts +10 -10
- package/dist/src/version.d.ts +2 -2
- package/dist/ts4.2/src/api/SignalClient.d.ts +1 -0
- package/dist/ts4.2/src/connectionHelper/ConnectionCheck.d.ts +2 -1
- package/dist/ts4.2/src/index.d.ts +8 -6
- package/dist/ts4.2/src/room/PCTransport.d.ts +1 -1
- package/dist/ts4.2/src/room/RTCEngine.d.ts +7 -1
- package/dist/ts4.2/src/room/Room.d.ts +3 -0
- package/dist/ts4.2/src/room/defaults.d.ts +1 -1
- package/dist/ts4.2/src/room/participant/LocalParticipant.d.ts +4 -4
- package/dist/ts4.2/src/room/participant/RemoteParticipant.d.ts +2 -1
- package/dist/ts4.2/src/room/participant/publishUtils.d.ts +2 -1
- package/dist/ts4.2/src/room/track/LocalAudioTrack.d.ts +1 -1
- package/dist/ts4.2/src/room/track/LocalVideoTrack.d.ts +1 -1
- package/dist/ts4.2/src/room/track/RemoteAudioTrack.d.ts +1 -1
- package/dist/ts4.2/src/room/track/create.d.ts +1 -1
- package/dist/ts4.2/src/room/track/options.d.ts +10 -2
- package/dist/ts4.2/src/room/utils.d.ts +1 -0
- package/package.json +12 -12
- package/src/api/SignalClient.ts +19 -16
- package/src/connectionHelper/ConnectionCheck.ts +2 -1
- package/src/index.ts +13 -8
- package/src/room/PCTransport.ts +9 -5
- package/src/room/RTCEngine.ts +44 -4
- package/src/room/Room.ts +87 -42
- package/src/room/defaults.ts +6 -4
- package/src/room/participant/LocalParticipant.ts +10 -9
- package/src/room/participant/RemoteParticipant.ts +2 -1
- package/src/room/participant/publishUtils.ts +7 -5
- package/src/room/track/LocalAudioTrack.ts +2 -1
- package/src/room/track/LocalVideoTrack.ts +3 -2
- package/src/room/track/RemoteAudioTrack.ts +2 -1
- package/src/room/track/RemoteVideoTrack.ts +4 -8
- package/src/room/track/create.ts +2 -2
- package/src/room/track/options.ts +23 -7
- package/src/room/utils.ts +15 -2
@@ -1,2301 +1,2301 @@
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
2
|
-
export declare const protobufPackage = "livekit";
|
3
|
-
export declare enum AudioCodec {
|
4
|
-
DEFAULT_AC = 0,
|
5
|
-
OPUS = 1,
|
6
|
-
AAC = 2,
|
7
|
-
UNRECOGNIZED = -1
|
8
|
-
}
|
9
|
-
export declare function audioCodecFromJSON(object: any): AudioCodec;
|
10
|
-
export declare function audioCodecToJSON(object: AudioCodec): string;
|
11
|
-
export declare enum VideoCodec {
|
12
|
-
DEFAULT_VC = 0,
|
13
|
-
H264_BASELINE = 1,
|
14
|
-
H264_MAIN = 2,
|
15
|
-
H264_HIGH = 3,
|
16
|
-
VP8 = 4,
|
17
|
-
UNRECOGNIZED = -1
|
18
|
-
}
|
19
|
-
export declare function videoCodecFromJSON(object: any): VideoCodec;
|
20
|
-
export declare function videoCodecToJSON(object: VideoCodec): string;
|
21
|
-
export declare enum TrackType {
|
22
|
-
AUDIO = 0,
|
23
|
-
VIDEO = 1,
|
24
|
-
DATA = 2,
|
25
|
-
UNRECOGNIZED = -1
|
26
|
-
}
|
27
|
-
export declare function trackTypeFromJSON(object: any): TrackType;
|
28
|
-
export declare function trackTypeToJSON(object: TrackType): string;
|
29
|
-
export declare enum TrackSource {
|
30
|
-
UNKNOWN = 0,
|
31
|
-
CAMERA = 1,
|
32
|
-
MICROPHONE = 2,
|
33
|
-
SCREEN_SHARE = 3,
|
34
|
-
SCREEN_SHARE_AUDIO = 4,
|
35
|
-
UNRECOGNIZED = -1
|
36
|
-
}
|
37
|
-
export declare function trackSourceFromJSON(object: any): TrackSource;
|
38
|
-
export declare function trackSourceToJSON(object: TrackSource): string;
|
39
|
-
export declare enum VideoQuality {
|
40
|
-
LOW = 0,
|
41
|
-
MEDIUM = 1,
|
42
|
-
HIGH = 2,
|
43
|
-
OFF = 3,
|
44
|
-
UNRECOGNIZED = -1
|
45
|
-
}
|
46
|
-
export declare function videoQualityFromJSON(object: any): VideoQuality;
|
47
|
-
export declare function videoQualityToJSON(object: VideoQuality): string;
|
48
|
-
export declare enum ConnectionQuality {
|
49
|
-
POOR = 0,
|
50
|
-
GOOD = 1,
|
51
|
-
EXCELLENT = 2,
|
52
|
-
UNRECOGNIZED = -1
|
53
|
-
}
|
54
|
-
export declare function connectionQualityFromJSON(object: any): ConnectionQuality;
|
55
|
-
export declare function connectionQualityToJSON(object: ConnectionQuality): string;
|
56
|
-
export declare enum ClientConfigSetting {
|
57
|
-
UNSET = 0,
|
58
|
-
DISABLED = 1,
|
59
|
-
ENABLED = 2,
|
60
|
-
UNRECOGNIZED = -1
|
61
|
-
}
|
62
|
-
export declare function clientConfigSettingFromJSON(object: any): ClientConfigSetting;
|
63
|
-
export declare function clientConfigSettingToJSON(object: ClientConfigSetting): string;
|
64
|
-
export declare enum DisconnectReason {
|
65
|
-
UNKNOWN_REASON = 0,
|
66
|
-
CLIENT_INITIATED = 1,
|
67
|
-
DUPLICATE_IDENTITY = 2,
|
68
|
-
SERVER_SHUTDOWN = 3,
|
69
|
-
PARTICIPANT_REMOVED = 4,
|
70
|
-
ROOM_DELETED = 5,
|
71
|
-
STATE_MISMATCH = 6,
|
72
|
-
JOIN_FAILURE = 7,
|
73
|
-
UNRECOGNIZED = -1
|
74
|
-
}
|
75
|
-
export declare function disconnectReasonFromJSON(object: any): DisconnectReason;
|
76
|
-
export declare function disconnectReasonToJSON(object: DisconnectReason): string;
|
77
|
-
export declare enum ReconnectReason {
|
78
|
-
RR_UNKOWN = 0,
|
79
|
-
RR_SIGNAL_DISCONNECTED = 1,
|
80
|
-
RR_PUBLISHER_FAILED = 2,
|
81
|
-
RR_SUBSCRIBER_FAILED = 3,
|
82
|
-
RR_SWITCH_CANDIDATE = 4,
|
83
|
-
UNRECOGNIZED = -1
|
84
|
-
}
|
85
|
-
export declare function reconnectReasonFromJSON(object: any): ReconnectReason;
|
86
|
-
export declare function reconnectReasonToJSON(object: ReconnectReason): string;
|
87
|
-
export interface Room {
|
88
|
-
sid: string;
|
89
|
-
name: string;
|
90
|
-
emptyTimeout: number;
|
91
|
-
maxParticipants: number;
|
92
|
-
creationTime: number;
|
93
|
-
turnPassword: string;
|
94
|
-
enabledCodecs: Codec[];
|
95
|
-
metadata: string;
|
96
|
-
numParticipants: number;
|
97
|
-
numPublishers: number;
|
98
|
-
activeRecording: boolean;
|
99
|
-
}
|
100
|
-
export interface Codec {
|
101
|
-
mime: string;
|
102
|
-
fmtpLine: string;
|
103
|
-
}
|
104
|
-
export interface ParticipantPermission {
|
105
|
-
/** allow participant to subscribe to other tracks in the room */
|
106
|
-
canSubscribe: boolean;
|
107
|
-
/** allow participant to publish new tracks to room */
|
108
|
-
canPublish: boolean;
|
109
|
-
/** allow participant to publish data */
|
110
|
-
canPublishData: boolean;
|
111
|
-
/** sources that are allowed to be published */
|
112
|
-
canPublishSources: TrackSource[];
|
113
|
-
/** indicates that it's hidden to others */
|
114
|
-
hidden: boolean;
|
115
|
-
/** indicates it's a recorder instance */
|
116
|
-
recorder: boolean;
|
117
|
-
/** indicates that participant can update own metadata */
|
118
|
-
canUpdateMetadata: boolean;
|
119
|
-
}
|
120
|
-
export interface ParticipantInfo {
|
121
|
-
sid: string;
|
122
|
-
identity: string;
|
123
|
-
state: ParticipantInfo_State;
|
124
|
-
tracks: TrackInfo[];
|
125
|
-
metadata: string;
|
126
|
-
/** timestamp when participant joined room, in seconds */
|
127
|
-
joinedAt: number;
|
128
|
-
name: string;
|
129
|
-
version: number;
|
130
|
-
permission?: ParticipantPermission;
|
131
|
-
region: string;
|
132
|
-
/**
|
133
|
-
* indicates the participant has an active publisher connection
|
134
|
-
* and can publish to the server
|
135
|
-
*/
|
136
|
-
isPublisher: boolean;
|
137
|
-
}
|
138
|
-
export declare enum ParticipantInfo_State {
|
139
|
-
/** JOINING - websocket' connected, but not offered yet */
|
140
|
-
JOINING = 0,
|
141
|
-
/** JOINED - server received client offer */
|
142
|
-
JOINED = 1,
|
143
|
-
/** ACTIVE - ICE connectivity established */
|
144
|
-
ACTIVE = 2,
|
145
|
-
/** DISCONNECTED - WS disconnected */
|
146
|
-
DISCONNECTED = 3,
|
147
|
-
UNRECOGNIZED = -1
|
148
|
-
}
|
149
|
-
export declare function participantInfo_StateFromJSON(object: any): ParticipantInfo_State;
|
150
|
-
export declare function participantInfo_StateToJSON(object: ParticipantInfo_State): string;
|
151
|
-
export interface Encryption {
|
152
|
-
}
|
153
|
-
export declare enum Encryption_Type {
|
154
|
-
NONE = 0,
|
155
|
-
GCM = 1,
|
156
|
-
CUSTOM = 2,
|
157
|
-
UNRECOGNIZED = -1
|
158
|
-
}
|
159
|
-
export declare function encryption_TypeFromJSON(object: any): Encryption_Type;
|
160
|
-
export declare function encryption_TypeToJSON(object: Encryption_Type): string;
|
161
|
-
export interface SimulcastCodecInfo {
|
162
|
-
mimeType: string;
|
163
|
-
mid: string;
|
164
|
-
cid: string;
|
165
|
-
layers: VideoLayer[];
|
166
|
-
}
|
167
|
-
export interface TrackInfo {
|
168
|
-
sid: string;
|
169
|
-
type: TrackType;
|
170
|
-
name: string;
|
171
|
-
muted: boolean;
|
172
|
-
/**
|
173
|
-
* original width of video (unset for audio)
|
174
|
-
* clients may receive a lower resolution version with simulcast
|
175
|
-
*/
|
176
|
-
width: number;
|
177
|
-
/** original height of video (unset for audio) */
|
178
|
-
height: number;
|
179
|
-
/** true if track is simulcasted */
|
180
|
-
simulcast: boolean;
|
181
|
-
/** true if DTX (Discontinuous Transmission) is disabled for audio */
|
182
|
-
disableDtx: boolean;
|
183
|
-
/** source of media */
|
184
|
-
source: TrackSource;
|
185
|
-
layers: VideoLayer[];
|
186
|
-
/** mime type of codec */
|
187
|
-
mimeType: string;
|
188
|
-
mid: string;
|
189
|
-
codecs: SimulcastCodecInfo[];
|
190
|
-
stereo: boolean;
|
191
|
-
/** true if RED (Redundant Encoding) is disabled for audio */
|
192
|
-
disableRed: boolean;
|
193
|
-
encryption: Encryption_Type;
|
194
|
-
}
|
195
|
-
/** provide information about available spatial layers */
|
196
|
-
export interface VideoLayer {
|
197
|
-
/** for tracks with a single layer, this should be HIGH */
|
198
|
-
quality: VideoQuality;
|
199
|
-
width: number;
|
200
|
-
height: number;
|
201
|
-
/** target bitrate in bit per second (bps), server will measure actual */
|
202
|
-
bitrate: number;
|
203
|
-
ssrc: number;
|
204
|
-
}
|
205
|
-
/** new DataPacket API */
|
206
|
-
export interface DataPacket {
|
207
|
-
kind: DataPacket_Kind;
|
208
|
-
value?: {
|
209
|
-
$case: "user";
|
210
|
-
user: UserPacket;
|
211
|
-
} | {
|
212
|
-
$case: "speaker";
|
213
|
-
speaker: ActiveSpeakerUpdate;
|
214
|
-
};
|
215
|
-
}
|
216
|
-
export declare enum DataPacket_Kind {
|
217
|
-
RELIABLE = 0,
|
218
|
-
LOSSY = 1,
|
219
|
-
UNRECOGNIZED = -1
|
220
|
-
}
|
221
|
-
export declare function dataPacket_KindFromJSON(object: any): DataPacket_Kind;
|
222
|
-
export declare function dataPacket_KindToJSON(object: DataPacket_Kind): string;
|
223
|
-
export interface ActiveSpeakerUpdate {
|
224
|
-
speakers: SpeakerInfo[];
|
225
|
-
}
|
226
|
-
export interface SpeakerInfo {
|
227
|
-
sid: string;
|
228
|
-
/** audio level, 0-1.0, 1 is loudest */
|
229
|
-
level: number;
|
230
|
-
/** true if speaker is currently active */
|
231
|
-
active: boolean;
|
232
|
-
}
|
233
|
-
export interface UserPacket {
|
234
|
-
/** participant ID of user that sent the message */
|
235
|
-
participantSid: string;
|
236
|
-
/** user defined payload */
|
237
|
-
payload: Uint8Array;
|
238
|
-
/** the ID of the participants who will receive the message (the message will be sent to all the people in the room if this variable is empty) */
|
239
|
-
destinationSids: string[];
|
240
|
-
/** topic under which the message was published */
|
241
|
-
topic?: string | undefined;
|
242
|
-
}
|
243
|
-
export interface ParticipantTracks {
|
244
|
-
/** participant ID of participant to whom the tracks belong */
|
245
|
-
participantSid: string;
|
246
|
-
trackSids: string[];
|
247
|
-
}
|
248
|
-
/** details about the server */
|
249
|
-
export interface ServerInfo {
|
250
|
-
edition: ServerInfo_Edition;
|
251
|
-
version: string;
|
252
|
-
protocol: number;
|
253
|
-
region: string;
|
254
|
-
nodeId: string;
|
255
|
-
/** additional debugging information. sent only if server is in development mode */
|
256
|
-
debugInfo: string;
|
257
|
-
}
|
258
|
-
export declare enum ServerInfo_Edition {
|
259
|
-
Standard = 0,
|
260
|
-
Cloud = 1,
|
261
|
-
UNRECOGNIZED = -1
|
262
|
-
}
|
263
|
-
export declare function serverInfo_EditionFromJSON(object: any): ServerInfo_Edition;
|
264
|
-
export declare function serverInfo_EditionToJSON(object: ServerInfo_Edition): string;
|
265
|
-
/** details about the client */
|
266
|
-
export interface ClientInfo {
|
267
|
-
sdk: ClientInfo_SDK;
|
268
|
-
version: string;
|
269
|
-
protocol: number;
|
270
|
-
os: string;
|
271
|
-
osVersion: string;
|
272
|
-
deviceModel: string;
|
273
|
-
browser: string;
|
274
|
-
browserVersion: string;
|
275
|
-
address: string;
|
276
|
-
/** wifi, wired, cellular, vpn, empty if not known */
|
277
|
-
network: string;
|
278
|
-
}
|
279
|
-
export declare enum ClientInfo_SDK {
|
280
|
-
UNKNOWN = 0,
|
281
|
-
JS = 1,
|
282
|
-
SWIFT = 2,
|
283
|
-
ANDROID = 3,
|
284
|
-
FLUTTER = 4,
|
285
|
-
GO = 5,
|
286
|
-
UNITY = 6,
|
287
|
-
REACT_NATIVE = 7,
|
288
|
-
RUST = 8,
|
289
|
-
UNRECOGNIZED = -1
|
290
|
-
}
|
291
|
-
export declare function clientInfo_SDKFromJSON(object: any): ClientInfo_SDK;
|
292
|
-
export declare function clientInfo_SDKToJSON(object: ClientInfo_SDK): string;
|
293
|
-
/** server provided client configuration */
|
294
|
-
export interface ClientConfiguration {
|
295
|
-
video?: VideoConfiguration;
|
296
|
-
screen?: VideoConfiguration;
|
297
|
-
resumeConnection: ClientConfigSetting;
|
298
|
-
disabledCodecs?: DisabledCodecs;
|
299
|
-
forceRelay: ClientConfigSetting;
|
300
|
-
}
|
301
|
-
export interface VideoConfiguration {
|
302
|
-
hardwareEncoder: ClientConfigSetting;
|
303
|
-
}
|
304
|
-
export interface DisabledCodecs {
|
305
|
-
codecs: Codec[];
|
306
|
-
}
|
307
|
-
export interface RTPStats {
|
308
|
-
startTime?: Date;
|
309
|
-
endTime?: Date;
|
310
|
-
duration: number;
|
311
|
-
packets: number;
|
312
|
-
packetRate: number;
|
313
|
-
bytes: number;
|
314
|
-
headerBytes: number;
|
315
|
-
bitrate: number;
|
316
|
-
packetsLost: number;
|
317
|
-
packetLossRate: number;
|
318
|
-
packetLossPercentage: number;
|
319
|
-
packetsDuplicate: number;
|
320
|
-
packetDuplicateRate: number;
|
321
|
-
bytesDuplicate: number;
|
322
|
-
headerBytesDuplicate: number;
|
323
|
-
bitrateDuplicate: number;
|
324
|
-
packetsPadding: number;
|
325
|
-
packetPaddingRate: number;
|
326
|
-
bytesPadding: number;
|
327
|
-
headerBytesPadding: number;
|
328
|
-
bitratePadding: number;
|
329
|
-
packetsOutOfOrder: number;
|
330
|
-
frames: number;
|
331
|
-
frameRate: number;
|
332
|
-
jitterCurrent: number;
|
333
|
-
jitterMax: number;
|
334
|
-
gapHistogram: {
|
335
|
-
[key: number]: number;
|
336
|
-
};
|
337
|
-
nacks: number;
|
338
|
-
nackAcks: number;
|
339
|
-
nackMisses: number;
|
340
|
-
nackRepeated: number;
|
341
|
-
plis: number;
|
342
|
-
lastPli?: Date;
|
343
|
-
firs: number;
|
344
|
-
lastFir?: Date;
|
345
|
-
rttCurrent: number;
|
346
|
-
rttMax: number;
|
347
|
-
keyFrames: number;
|
348
|
-
lastKeyFrame?: Date;
|
349
|
-
layerLockPlis: number;
|
350
|
-
lastLayerLockPli?: Date;
|
351
|
-
}
|
352
|
-
export interface RTPStats_GapHistogramEntry {
|
353
|
-
key: number;
|
354
|
-
value: number;
|
355
|
-
}
|
356
|
-
export interface TimedVersion {
|
357
|
-
unixMicro: number;
|
358
|
-
ticks: number;
|
359
|
-
}
|
360
|
-
export declare const Room: {
|
361
|
-
encode(message: Room, writer?: _m0.Writer): _m0.Writer;
|
362
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Room;
|
363
|
-
fromJSON(object: any): Room;
|
364
|
-
toJSON(message: Room): unknown;
|
365
|
-
create<I extends {
|
366
|
-
sid?: string | undefined;
|
367
|
-
name?: string | undefined;
|
368
|
-
emptyTimeout?: number | undefined;
|
369
|
-
maxParticipants?: number | undefined;
|
370
|
-
creationTime?: number | undefined;
|
371
|
-
turnPassword?: string | undefined;
|
372
|
-
enabledCodecs?: {
|
373
|
-
mime?: string | undefined;
|
374
|
-
fmtpLine?: string | undefined;
|
375
|
-
}[] | undefined;
|
376
|
-
metadata?: string | undefined;
|
377
|
-
numParticipants?: number | undefined;
|
378
|
-
numPublishers?: number | undefined;
|
379
|
-
activeRecording?: boolean | undefined;
|
380
|
-
} & {
|
381
|
-
sid?: string | undefined;
|
382
|
-
name?: string | undefined;
|
383
|
-
emptyTimeout?: number | undefined;
|
384
|
-
maxParticipants?: number | undefined;
|
385
|
-
creationTime?: number | undefined;
|
386
|
-
turnPassword?: string | undefined;
|
387
|
-
enabledCodecs?: ({
|
388
|
-
mime?: string | undefined;
|
389
|
-
fmtpLine?: string | undefined;
|
390
|
-
}[] & ({
|
391
|
-
mime?: string | undefined;
|
392
|
-
fmtpLine?: string | undefined;
|
393
|
-
} & {
|
394
|
-
mime?: string | undefined;
|
395
|
-
fmtpLine?: string | undefined;
|
396
|
-
} & { [K in Exclude<keyof I["enabledCodecs"][number], keyof Codec>]: never; })[] & { [K_1 in Exclude<keyof I["enabledCodecs"], keyof {
|
397
|
-
mime?: string | undefined;
|
398
|
-
fmtpLine?: string | undefined;
|
399
|
-
}[]>]: never; }) | undefined;
|
400
|
-
metadata?: string | undefined;
|
401
|
-
numParticipants?: number | undefined;
|
402
|
-
numPublishers?: number | undefined;
|
403
|
-
activeRecording?: boolean | undefined;
|
404
|
-
} & { [K_2 in Exclude<keyof I, keyof Room>]: never; }>(base?: I | undefined): Room;
|
405
|
-
fromPartial<I_1 extends {
|
406
|
-
sid?: string | undefined;
|
407
|
-
name?: string | undefined;
|
408
|
-
emptyTimeout?: number | undefined;
|
409
|
-
maxParticipants?: number | undefined;
|
410
|
-
creationTime?: number | undefined;
|
411
|
-
turnPassword?: string | undefined;
|
412
|
-
enabledCodecs?: {
|
413
|
-
mime?: string | undefined;
|
414
|
-
fmtpLine?: string | undefined;
|
415
|
-
}[] | undefined;
|
416
|
-
metadata?: string | undefined;
|
417
|
-
numParticipants?: number | undefined;
|
418
|
-
numPublishers?: number | undefined;
|
419
|
-
activeRecording?: boolean | undefined;
|
420
|
-
} & {
|
421
|
-
sid?: string | undefined;
|
422
|
-
name?: string | undefined;
|
423
|
-
emptyTimeout?: number | undefined;
|
424
|
-
maxParticipants?: number | undefined;
|
425
|
-
creationTime?: number | undefined;
|
426
|
-
turnPassword?: string | undefined;
|
427
|
-
enabledCodecs?: ({
|
428
|
-
mime?: string | undefined;
|
429
|
-
fmtpLine?: string | undefined;
|
430
|
-
}[] & ({
|
431
|
-
mime?: string | undefined;
|
432
|
-
fmtpLine?: string | undefined;
|
433
|
-
} & {
|
434
|
-
mime?: string | undefined;
|
435
|
-
fmtpLine?: string | undefined;
|
436
|
-
} & { [K_3 in Exclude<keyof I_1["enabledCodecs"][number], keyof Codec>]: never; })[] & { [K_4 in Exclude<keyof I_1["enabledCodecs"], keyof {
|
437
|
-
mime?: string | undefined;
|
438
|
-
fmtpLine?: string | undefined;
|
439
|
-
}[]>]: never; }) | undefined;
|
440
|
-
metadata?: string | undefined;
|
441
|
-
numParticipants?: number | undefined;
|
442
|
-
numPublishers?: number | undefined;
|
443
|
-
activeRecording?: boolean | undefined;
|
444
|
-
} & { [K_5 in Exclude<keyof I_1, keyof Room>]: never; }>(object: I_1): Room;
|
445
|
-
};
|
446
|
-
export declare const Codec: {
|
447
|
-
encode(message: Codec, writer?: _m0.Writer): _m0.Writer;
|
448
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Codec;
|
449
|
-
fromJSON(object: any): Codec;
|
450
|
-
toJSON(message: Codec): unknown;
|
451
|
-
create<I extends {
|
452
|
-
mime?: string | undefined;
|
453
|
-
fmtpLine?: string | undefined;
|
454
|
-
} & {
|
455
|
-
mime?: string | undefined;
|
456
|
-
fmtpLine?: string | undefined;
|
457
|
-
} & { [K in Exclude<keyof I, keyof Codec>]: never; }>(base?: I | undefined): Codec;
|
458
|
-
fromPartial<I_1 extends {
|
459
|
-
mime?: string | undefined;
|
460
|
-
fmtpLine?: string | undefined;
|
461
|
-
} & {
|
462
|
-
mime?: string | undefined;
|
463
|
-
fmtpLine?: string | undefined;
|
464
|
-
} & { [K_1 in Exclude<keyof I_1, keyof Codec>]: never; }>(object: I_1): Codec;
|
465
|
-
};
|
466
|
-
export declare const ParticipantPermission: {
|
467
|
-
encode(message: ParticipantPermission, writer?: _m0.Writer): _m0.Writer;
|
468
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ParticipantPermission;
|
469
|
-
fromJSON(object: any): ParticipantPermission;
|
470
|
-
toJSON(message: ParticipantPermission): unknown;
|
471
|
-
create<I extends {
|
472
|
-
canSubscribe?: boolean | undefined;
|
473
|
-
canPublish?: boolean | undefined;
|
474
|
-
canPublishData?: boolean | undefined;
|
475
|
-
canPublishSources?: TrackSource[] | undefined;
|
476
|
-
hidden?: boolean | undefined;
|
477
|
-
recorder?: boolean | undefined;
|
478
|
-
canUpdateMetadata?: boolean | undefined;
|
479
|
-
} & {
|
480
|
-
canSubscribe?: boolean | undefined;
|
481
|
-
canPublish?: boolean | undefined;
|
482
|
-
canPublishData?: boolean | undefined;
|
483
|
-
canPublishSources?: (TrackSource[] & TrackSource[] & { [K in Exclude<keyof I["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
|
484
|
-
hidden?: boolean | undefined;
|
485
|
-
recorder?: boolean | undefined;
|
486
|
-
canUpdateMetadata?: boolean | undefined;
|
487
|
-
} & { [K_1 in Exclude<keyof I, keyof ParticipantPermission>]: never; }>(base?: I | undefined): ParticipantPermission;
|
488
|
-
fromPartial<I_1 extends {
|
489
|
-
canSubscribe?: boolean | undefined;
|
490
|
-
canPublish?: boolean | undefined;
|
491
|
-
canPublishData?: boolean | undefined;
|
492
|
-
canPublishSources?: TrackSource[] | undefined;
|
493
|
-
hidden?: boolean | undefined;
|
494
|
-
recorder?: boolean | undefined;
|
495
|
-
canUpdateMetadata?: boolean | undefined;
|
496
|
-
} & {
|
497
|
-
canSubscribe?: boolean | undefined;
|
498
|
-
canPublish?: boolean | undefined;
|
499
|
-
canPublishData?: boolean | undefined;
|
500
|
-
canPublishSources?: (TrackSource[] & TrackSource[] & { [K_2 in Exclude<keyof I_1["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
|
501
|
-
hidden?: boolean | undefined;
|
502
|
-
recorder?: boolean | undefined;
|
503
|
-
canUpdateMetadata?: boolean | undefined;
|
504
|
-
} & { [K_3 in Exclude<keyof I_1, keyof ParticipantPermission>]: never; }>(object: I_1): ParticipantPermission;
|
505
|
-
};
|
506
|
-
export declare const ParticipantInfo: {
|
507
|
-
encode(message: ParticipantInfo, writer?: _m0.Writer): _m0.Writer;
|
508
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ParticipantInfo;
|
509
|
-
fromJSON(object: any): ParticipantInfo;
|
510
|
-
toJSON(message: ParticipantInfo): unknown;
|
511
|
-
create<I extends {
|
512
|
-
sid?: string | undefined;
|
513
|
-
identity?: string | undefined;
|
514
|
-
state?: ParticipantInfo_State | undefined;
|
515
|
-
tracks?: {
|
516
|
-
sid?: string | undefined;
|
517
|
-
type?: TrackType | undefined;
|
518
|
-
name?: string | undefined;
|
519
|
-
muted?: boolean | undefined;
|
520
|
-
width?: number | undefined;
|
521
|
-
height?: number | undefined;
|
522
|
-
simulcast?: boolean | undefined;
|
523
|
-
disableDtx?: boolean | undefined;
|
524
|
-
source?: TrackSource | undefined;
|
525
|
-
layers?: {
|
526
|
-
quality?: VideoQuality | undefined;
|
527
|
-
width?: number | undefined;
|
528
|
-
height?: number | undefined;
|
529
|
-
bitrate?: number | undefined;
|
530
|
-
ssrc?: number | undefined;
|
531
|
-
}[] | undefined;
|
532
|
-
mimeType?: string | undefined;
|
533
|
-
mid?: string | undefined;
|
534
|
-
codecs?: {
|
535
|
-
mimeType?: string | undefined;
|
536
|
-
mid?: string | undefined;
|
537
|
-
cid?: string | undefined;
|
538
|
-
layers?: {
|
539
|
-
quality?: VideoQuality | undefined;
|
540
|
-
width?: number | undefined;
|
541
|
-
height?: number | undefined;
|
542
|
-
bitrate?: number | undefined;
|
543
|
-
ssrc?: number | undefined;
|
544
|
-
}[] | undefined;
|
545
|
-
}[] | undefined;
|
546
|
-
stereo?: boolean | undefined;
|
547
|
-
disableRed?: boolean | undefined;
|
548
|
-
encryption?: Encryption_Type | undefined;
|
549
|
-
}[] | undefined;
|
550
|
-
metadata?: string | undefined;
|
551
|
-
joinedAt?: number | undefined;
|
552
|
-
name?: string | undefined;
|
553
|
-
version?: number | undefined;
|
554
|
-
permission?: {
|
555
|
-
canSubscribe?: boolean | undefined;
|
556
|
-
canPublish?: boolean | undefined;
|
557
|
-
canPublishData?: boolean | undefined;
|
558
|
-
canPublishSources?: TrackSource[] | undefined;
|
559
|
-
hidden?: boolean | undefined;
|
560
|
-
recorder?: boolean | undefined;
|
561
|
-
canUpdateMetadata?: boolean | undefined;
|
562
|
-
} | undefined;
|
563
|
-
region?: string | undefined;
|
564
|
-
isPublisher?: boolean | undefined;
|
565
|
-
} & {
|
566
|
-
sid?: string | undefined;
|
567
|
-
identity?: string | undefined;
|
568
|
-
state?: ParticipantInfo_State | undefined;
|
569
|
-
tracks?: ({
|
570
|
-
sid?: string | undefined;
|
571
|
-
type?: TrackType | undefined;
|
572
|
-
name?: string | undefined;
|
573
|
-
muted?: boolean | undefined;
|
574
|
-
width?: number | undefined;
|
575
|
-
height?: number | undefined;
|
576
|
-
simulcast?: boolean | undefined;
|
577
|
-
disableDtx?: boolean | undefined;
|
578
|
-
source?: TrackSource | undefined;
|
579
|
-
layers?: {
|
580
|
-
quality?: VideoQuality | undefined;
|
581
|
-
width?: number | undefined;
|
582
|
-
height?: number | undefined;
|
583
|
-
bitrate?: number | undefined;
|
584
|
-
ssrc?: number | undefined;
|
585
|
-
}[] | undefined;
|
586
|
-
mimeType?: string | undefined;
|
587
|
-
mid?: string | undefined;
|
588
|
-
codecs?: {
|
589
|
-
mimeType?: string | undefined;
|
590
|
-
mid?: string | undefined;
|
591
|
-
cid?: string | undefined;
|
592
|
-
layers?: {
|
593
|
-
quality?: VideoQuality | undefined;
|
594
|
-
width?: number | undefined;
|
595
|
-
height?: number | undefined;
|
596
|
-
bitrate?: number | undefined;
|
597
|
-
ssrc?: number | undefined;
|
598
|
-
}[] | undefined;
|
599
|
-
}[] | undefined;
|
600
|
-
stereo?: boolean | undefined;
|
601
|
-
disableRed?: boolean | undefined;
|
602
|
-
encryption?: Encryption_Type | undefined;
|
603
|
-
}[] & ({
|
604
|
-
sid?: string | undefined;
|
605
|
-
type?: TrackType | undefined;
|
606
|
-
name?: string | undefined;
|
607
|
-
muted?: boolean | undefined;
|
608
|
-
width?: number | undefined;
|
609
|
-
height?: number | undefined;
|
610
|
-
simulcast?: boolean | undefined;
|
611
|
-
disableDtx?: boolean | undefined;
|
612
|
-
source?: TrackSource | undefined;
|
613
|
-
layers?: {
|
614
|
-
quality?: VideoQuality | undefined;
|
615
|
-
width?: number | undefined;
|
616
|
-
height?: number | undefined;
|
617
|
-
bitrate?: number | undefined;
|
618
|
-
ssrc?: number | undefined;
|
619
|
-
}[] | undefined;
|
620
|
-
mimeType?: string | undefined;
|
621
|
-
mid?: string | undefined;
|
622
|
-
codecs?: {
|
623
|
-
mimeType?: string | undefined;
|
624
|
-
mid?: string | undefined;
|
625
|
-
cid?: string | undefined;
|
626
|
-
layers?: {
|
627
|
-
quality?: VideoQuality | undefined;
|
628
|
-
width?: number | undefined;
|
629
|
-
height?: number | undefined;
|
630
|
-
bitrate?: number | undefined;
|
631
|
-
ssrc?: number | undefined;
|
632
|
-
}[] | undefined;
|
633
|
-
}[] | undefined;
|
634
|
-
stereo?: boolean | undefined;
|
635
|
-
disableRed?: boolean | undefined;
|
636
|
-
encryption?: Encryption_Type | undefined;
|
637
|
-
} & {
|
638
|
-
sid?: string | undefined;
|
639
|
-
type?: TrackType | undefined;
|
640
|
-
name?: string | undefined;
|
641
|
-
muted?: boolean | undefined;
|
642
|
-
width?: number | undefined;
|
643
|
-
height?: number | undefined;
|
644
|
-
simulcast?: boolean | undefined;
|
645
|
-
disableDtx?: boolean | undefined;
|
646
|
-
source?: TrackSource | undefined;
|
647
|
-
layers?: ({
|
648
|
-
quality?: VideoQuality | undefined;
|
649
|
-
width?: number | undefined;
|
650
|
-
height?: number | undefined;
|
651
|
-
bitrate?: number | undefined;
|
652
|
-
ssrc?: number | undefined;
|
653
|
-
}[] & ({
|
654
|
-
quality?: VideoQuality | undefined;
|
655
|
-
width?: number | undefined;
|
656
|
-
height?: number | undefined;
|
657
|
-
bitrate?: number | undefined;
|
658
|
-
ssrc?: number | undefined;
|
659
|
-
} & {
|
660
|
-
quality?: VideoQuality | undefined;
|
661
|
-
width?: number | undefined;
|
662
|
-
height?: number | undefined;
|
663
|
-
bitrate?: number | undefined;
|
664
|
-
ssrc?: number | undefined;
|
665
|
-
} & { [K in Exclude<keyof I["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_1 in Exclude<keyof I["tracks"][number]["layers"], keyof {
|
666
|
-
quality?: VideoQuality | undefined;
|
667
|
-
width?: number | undefined;
|
668
|
-
height?: number | undefined;
|
669
|
-
bitrate?: number | undefined;
|
670
|
-
ssrc?: number | undefined;
|
671
|
-
}[]>]: never; }) | undefined;
|
672
|
-
mimeType?: string | undefined;
|
673
|
-
mid?: string | undefined;
|
674
|
-
codecs?: ({
|
675
|
-
mimeType?: string | undefined;
|
676
|
-
mid?: string | undefined;
|
677
|
-
cid?: string | undefined;
|
678
|
-
layers?: {
|
679
|
-
quality?: VideoQuality | undefined;
|
680
|
-
width?: number | undefined;
|
681
|
-
height?: number | undefined;
|
682
|
-
bitrate?: number | undefined;
|
683
|
-
ssrc?: number | undefined;
|
684
|
-
}[] | undefined;
|
685
|
-
}[] & ({
|
686
|
-
mimeType?: string | undefined;
|
687
|
-
mid?: string | undefined;
|
688
|
-
cid?: string | undefined;
|
689
|
-
layers?: {
|
690
|
-
quality?: VideoQuality | undefined;
|
691
|
-
width?: number | undefined;
|
692
|
-
height?: number | undefined;
|
693
|
-
bitrate?: number | undefined;
|
694
|
-
ssrc?: number | undefined;
|
695
|
-
}[] | undefined;
|
696
|
-
} & {
|
697
|
-
mimeType?: string | undefined;
|
698
|
-
mid?: string | undefined;
|
699
|
-
cid?: string | undefined;
|
700
|
-
layers?: ({
|
701
|
-
quality?: VideoQuality | undefined;
|
702
|
-
width?: number | undefined;
|
703
|
-
height?: number | undefined;
|
704
|
-
bitrate?: number | undefined;
|
705
|
-
ssrc?: number | undefined;
|
706
|
-
}[] & ({
|
707
|
-
quality?: VideoQuality | undefined;
|
708
|
-
width?: number | undefined;
|
709
|
-
height?: number | undefined;
|
710
|
-
bitrate?: number | undefined;
|
711
|
-
ssrc?: number | undefined;
|
712
|
-
} & {
|
713
|
-
quality?: VideoQuality | undefined;
|
714
|
-
width?: number | undefined;
|
715
|
-
height?: number | undefined;
|
716
|
-
bitrate?: number | undefined;
|
717
|
-
ssrc?: number | undefined;
|
718
|
-
} & { [K_2 in Exclude<keyof I["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_3 in Exclude<keyof I["tracks"][number]["codecs"][number]["layers"], keyof {
|
719
|
-
quality?: VideoQuality | undefined;
|
720
|
-
width?: number | undefined;
|
721
|
-
height?: number | undefined;
|
722
|
-
bitrate?: number | undefined;
|
723
|
-
ssrc?: number | undefined;
|
724
|
-
}[]>]: never; }) | undefined;
|
725
|
-
} & { [K_4 in Exclude<keyof I["tracks"][number]["codecs"][number], keyof SimulcastCodecInfo>]: never; })[] & { [K_5 in Exclude<keyof I["tracks"][number]["codecs"], keyof {
|
726
|
-
mimeType?: string | undefined;
|
727
|
-
mid?: string | undefined;
|
728
|
-
cid?: string | undefined;
|
729
|
-
layers?: {
|
730
|
-
quality?: VideoQuality | undefined;
|
731
|
-
width?: number | undefined;
|
732
|
-
height?: number | undefined;
|
733
|
-
bitrate?: number | undefined;
|
734
|
-
ssrc?: number | undefined;
|
735
|
-
}[] | undefined;
|
736
|
-
}[]>]: never; }) | undefined;
|
737
|
-
stereo?: boolean | undefined;
|
738
|
-
disableRed?: boolean | undefined;
|
739
|
-
encryption?: Encryption_Type | undefined;
|
740
|
-
} & { [K_6 in Exclude<keyof I["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_7 in Exclude<keyof I["tracks"], keyof {
|
741
|
-
sid?: string | undefined;
|
742
|
-
type?: TrackType | undefined;
|
743
|
-
name?: string | undefined;
|
744
|
-
muted?: boolean | undefined;
|
745
|
-
width?: number | undefined;
|
746
|
-
height?: number | undefined;
|
747
|
-
simulcast?: boolean | undefined;
|
748
|
-
disableDtx?: boolean | undefined;
|
749
|
-
source?: TrackSource | undefined;
|
750
|
-
layers?: {
|
751
|
-
quality?: VideoQuality | undefined;
|
752
|
-
width?: number | undefined;
|
753
|
-
height?: number | undefined;
|
754
|
-
bitrate?: number | undefined;
|
755
|
-
ssrc?: number | undefined;
|
756
|
-
}[] | undefined;
|
757
|
-
mimeType?: string | undefined;
|
758
|
-
mid?: string | undefined;
|
759
|
-
codecs?: {
|
760
|
-
mimeType?: string | undefined;
|
761
|
-
mid?: string | undefined;
|
762
|
-
cid?: string | undefined;
|
763
|
-
layers?: {
|
764
|
-
quality?: VideoQuality | undefined;
|
765
|
-
width?: number | undefined;
|
766
|
-
height?: number | undefined;
|
767
|
-
bitrate?: number | undefined;
|
768
|
-
ssrc?: number | undefined;
|
769
|
-
}[] | undefined;
|
770
|
-
}[] | undefined;
|
771
|
-
stereo?: boolean | undefined;
|
772
|
-
disableRed?: boolean | undefined;
|
773
|
-
encryption?: Encryption_Type | undefined;
|
774
|
-
}[]>]: never; }) | undefined;
|
775
|
-
metadata?: string | undefined;
|
776
|
-
joinedAt?: number | undefined;
|
777
|
-
name?: string | undefined;
|
778
|
-
version?: number | undefined;
|
779
|
-
permission?: ({
|
780
|
-
canSubscribe?: boolean | undefined;
|
781
|
-
canPublish?: boolean | undefined;
|
782
|
-
canPublishData?: boolean | undefined;
|
783
|
-
canPublishSources?: TrackSource[] | undefined;
|
784
|
-
hidden?: boolean | undefined;
|
785
|
-
recorder?: boolean | undefined;
|
786
|
-
canUpdateMetadata?: boolean | undefined;
|
787
|
-
} & {
|
788
|
-
canSubscribe?: boolean | undefined;
|
789
|
-
canPublish?: boolean | undefined;
|
790
|
-
canPublishData?: boolean | undefined;
|
791
|
-
canPublishSources?: (TrackSource[] & TrackSource[] & { [K_8 in Exclude<keyof I["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
|
792
|
-
hidden?: boolean | undefined;
|
793
|
-
recorder?: boolean | undefined;
|
794
|
-
canUpdateMetadata?: boolean | undefined;
|
795
|
-
} & { [K_9 in Exclude<keyof I["permission"], keyof ParticipantPermission>]: never; }) | undefined;
|
796
|
-
region?: string | undefined;
|
797
|
-
isPublisher?: boolean | undefined;
|
798
|
-
} & { [K_10 in Exclude<keyof I, keyof ParticipantInfo>]: never; }>(base?: I | undefined): ParticipantInfo;
|
799
|
-
fromPartial<I_1 extends {
|
800
|
-
sid?: string | undefined;
|
801
|
-
identity?: string | undefined;
|
802
|
-
state?: ParticipantInfo_State | undefined;
|
803
|
-
tracks?: {
|
804
|
-
sid?: string | undefined;
|
805
|
-
type?: TrackType | undefined;
|
806
|
-
name?: string | undefined;
|
807
|
-
muted?: boolean | undefined;
|
808
|
-
width?: number | undefined;
|
809
|
-
height?: number | undefined;
|
810
|
-
simulcast?: boolean | undefined;
|
811
|
-
disableDtx?: boolean | undefined;
|
812
|
-
source?: TrackSource | undefined;
|
813
|
-
layers?: {
|
814
|
-
quality?: VideoQuality | undefined;
|
815
|
-
width?: number | undefined;
|
816
|
-
height?: number | undefined;
|
817
|
-
bitrate?: number | undefined;
|
818
|
-
ssrc?: number | undefined;
|
819
|
-
}[] | undefined;
|
820
|
-
mimeType?: string | undefined;
|
821
|
-
mid?: string | undefined;
|
822
|
-
codecs?: {
|
823
|
-
mimeType?: string | undefined;
|
824
|
-
mid?: string | undefined;
|
825
|
-
cid?: string | undefined;
|
826
|
-
layers?: {
|
827
|
-
quality?: VideoQuality | undefined;
|
828
|
-
width?: number | undefined;
|
829
|
-
height?: number | undefined;
|
830
|
-
bitrate?: number | undefined;
|
831
|
-
ssrc?: number | undefined;
|
832
|
-
}[] | undefined;
|
833
|
-
}[] | undefined;
|
834
|
-
stereo?: boolean | undefined;
|
835
|
-
disableRed?: boolean | undefined;
|
836
|
-
encryption?: Encryption_Type | undefined;
|
837
|
-
}[] | undefined;
|
838
|
-
metadata?: string | undefined;
|
839
|
-
joinedAt?: number | undefined;
|
840
|
-
name?: string | undefined;
|
841
|
-
version?: number | undefined;
|
842
|
-
permission?: {
|
843
|
-
canSubscribe?: boolean | undefined;
|
844
|
-
canPublish?: boolean | undefined;
|
845
|
-
canPublishData?: boolean | undefined;
|
846
|
-
canPublishSources?: TrackSource[] | undefined;
|
847
|
-
hidden?: boolean | undefined;
|
848
|
-
recorder?: boolean | undefined;
|
849
|
-
canUpdateMetadata?: boolean | undefined;
|
850
|
-
} | undefined;
|
851
|
-
region?: string | undefined;
|
852
|
-
isPublisher?: boolean | undefined;
|
853
|
-
} & {
|
854
|
-
sid?: string | undefined;
|
855
|
-
identity?: string | undefined;
|
856
|
-
state?: ParticipantInfo_State | undefined;
|
857
|
-
tracks?: ({
|
858
|
-
sid?: string | undefined;
|
859
|
-
type?: TrackType | undefined;
|
860
|
-
name?: string | undefined;
|
861
|
-
muted?: boolean | undefined;
|
862
|
-
width?: number | undefined;
|
863
|
-
height?: number | undefined;
|
864
|
-
simulcast?: boolean | undefined;
|
865
|
-
disableDtx?: boolean | undefined;
|
866
|
-
source?: TrackSource | undefined;
|
867
|
-
layers?: {
|
868
|
-
quality?: VideoQuality | undefined;
|
869
|
-
width?: number | undefined;
|
870
|
-
height?: number | undefined;
|
871
|
-
bitrate?: number | undefined;
|
872
|
-
ssrc?: number | undefined;
|
873
|
-
}[] | undefined;
|
874
|
-
mimeType?: string | undefined;
|
875
|
-
mid?: string | undefined;
|
876
|
-
codecs?: {
|
877
|
-
mimeType?: string | undefined;
|
878
|
-
mid?: string | undefined;
|
879
|
-
cid?: string | undefined;
|
880
|
-
layers?: {
|
881
|
-
quality?: VideoQuality | undefined;
|
882
|
-
width?: number | undefined;
|
883
|
-
height?: number | undefined;
|
884
|
-
bitrate?: number | undefined;
|
885
|
-
ssrc?: number | undefined;
|
886
|
-
}[] | undefined;
|
887
|
-
}[] | undefined;
|
888
|
-
stereo?: boolean | undefined;
|
889
|
-
disableRed?: boolean | undefined;
|
890
|
-
encryption?: Encryption_Type | undefined;
|
891
|
-
}[] & ({
|
892
|
-
sid?: string | undefined;
|
893
|
-
type?: TrackType | undefined;
|
894
|
-
name?: string | undefined;
|
895
|
-
muted?: boolean | undefined;
|
896
|
-
width?: number | undefined;
|
897
|
-
height?: number | undefined;
|
898
|
-
simulcast?: boolean | undefined;
|
899
|
-
disableDtx?: boolean | undefined;
|
900
|
-
source?: TrackSource | undefined;
|
901
|
-
layers?: {
|
902
|
-
quality?: VideoQuality | undefined;
|
903
|
-
width?: number | undefined;
|
904
|
-
height?: number | undefined;
|
905
|
-
bitrate?: number | undefined;
|
906
|
-
ssrc?: number | undefined;
|
907
|
-
}[] | undefined;
|
908
|
-
mimeType?: string | undefined;
|
909
|
-
mid?: string | undefined;
|
910
|
-
codecs?: {
|
911
|
-
mimeType?: string | undefined;
|
912
|
-
mid?: string | undefined;
|
913
|
-
cid?: string | undefined;
|
914
|
-
layers?: {
|
915
|
-
quality?: VideoQuality | undefined;
|
916
|
-
width?: number | undefined;
|
917
|
-
height?: number | undefined;
|
918
|
-
bitrate?: number | undefined;
|
919
|
-
ssrc?: number | undefined;
|
920
|
-
}[] | undefined;
|
921
|
-
}[] | undefined;
|
922
|
-
stereo?: boolean | undefined;
|
923
|
-
disableRed?: boolean | undefined;
|
924
|
-
encryption?: Encryption_Type | undefined;
|
925
|
-
} & {
|
926
|
-
sid?: string | undefined;
|
927
|
-
type?: TrackType | undefined;
|
928
|
-
name?: string | undefined;
|
929
|
-
muted?: boolean | undefined;
|
930
|
-
width?: number | undefined;
|
931
|
-
height?: number | undefined;
|
932
|
-
simulcast?: boolean | undefined;
|
933
|
-
disableDtx?: boolean | undefined;
|
934
|
-
source?: TrackSource | undefined;
|
935
|
-
layers?: ({
|
936
|
-
quality?: VideoQuality | undefined;
|
937
|
-
width?: number | undefined;
|
938
|
-
height?: number | undefined;
|
939
|
-
bitrate?: number | undefined;
|
940
|
-
ssrc?: number | undefined;
|
941
|
-
}[] & ({
|
942
|
-
quality?: VideoQuality | undefined;
|
943
|
-
width?: number | undefined;
|
944
|
-
height?: number | undefined;
|
945
|
-
bitrate?: number | undefined;
|
946
|
-
ssrc?: number | undefined;
|
947
|
-
} & {
|
948
|
-
quality?: VideoQuality | undefined;
|
949
|
-
width?: number | undefined;
|
950
|
-
height?: number | undefined;
|
951
|
-
bitrate?: number | undefined;
|
952
|
-
ssrc?: number | undefined;
|
953
|
-
} & { [K_11 in Exclude<keyof I_1["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_12 in Exclude<keyof I_1["tracks"][number]["layers"], keyof {
|
954
|
-
quality?: VideoQuality | undefined;
|
955
|
-
width?: number | undefined;
|
956
|
-
height?: number | undefined;
|
957
|
-
bitrate?: number | undefined;
|
958
|
-
ssrc?: number | undefined;
|
959
|
-
}[]>]: never; }) | undefined;
|
960
|
-
mimeType?: string | undefined;
|
961
|
-
mid?: string | undefined;
|
962
|
-
codecs?: ({
|
963
|
-
mimeType?: string | undefined;
|
964
|
-
mid?: string | undefined;
|
965
|
-
cid?: string | undefined;
|
966
|
-
layers?: {
|
967
|
-
quality?: VideoQuality | undefined;
|
968
|
-
width?: number | undefined;
|
969
|
-
height?: number | undefined;
|
970
|
-
bitrate?: number | undefined;
|
971
|
-
ssrc?: number | undefined;
|
972
|
-
}[] | undefined;
|
973
|
-
}[] & ({
|
974
|
-
mimeType?: string | undefined;
|
975
|
-
mid?: string | undefined;
|
976
|
-
cid?: string | undefined;
|
977
|
-
layers?: {
|
978
|
-
quality?: VideoQuality | undefined;
|
979
|
-
width?: number | undefined;
|
980
|
-
height?: number | undefined;
|
981
|
-
bitrate?: number | undefined;
|
982
|
-
ssrc?: number | undefined;
|
983
|
-
}[] | undefined;
|
984
|
-
} & {
|
985
|
-
mimeType?: string | undefined;
|
986
|
-
mid?: string | undefined;
|
987
|
-
cid?: string | undefined;
|
988
|
-
layers?: ({
|
989
|
-
quality?: VideoQuality | undefined;
|
990
|
-
width?: number | undefined;
|
991
|
-
height?: number | undefined;
|
992
|
-
bitrate?: number | undefined;
|
993
|
-
ssrc?: number | undefined;
|
994
|
-
}[] & ({
|
995
|
-
quality?: VideoQuality | undefined;
|
996
|
-
width?: number | undefined;
|
997
|
-
height?: number | undefined;
|
998
|
-
bitrate?: number | undefined;
|
999
|
-
ssrc?: number | undefined;
|
1000
|
-
} & {
|
1001
|
-
quality?: VideoQuality | undefined;
|
1002
|
-
width?: number | undefined;
|
1003
|
-
height?: number | undefined;
|
1004
|
-
bitrate?: number | undefined;
|
1005
|
-
ssrc?: number | undefined;
|
1006
|
-
} & { [K_13 in Exclude<keyof I_1["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_14 in Exclude<keyof I_1["tracks"][number]["codecs"][number]["layers"], keyof {
|
1007
|
-
quality?: VideoQuality | undefined;
|
1008
|
-
width?: number | undefined;
|
1009
|
-
height?: number | undefined;
|
1010
|
-
bitrate?: number | undefined;
|
1011
|
-
ssrc?: number | undefined;
|
1012
|
-
}[]>]: never; }) | undefined;
|
1013
|
-
} & { [K_15 in Exclude<keyof I_1["tracks"][number]["codecs"][number], keyof SimulcastCodecInfo>]: never; })[] & { [K_16 in Exclude<keyof I_1["tracks"][number]["codecs"], keyof {
|
1014
|
-
mimeType?: string | undefined;
|
1015
|
-
mid?: string | undefined;
|
1016
|
-
cid?: string | undefined;
|
1017
|
-
layers?: {
|
1018
|
-
quality?: VideoQuality | undefined;
|
1019
|
-
width?: number | undefined;
|
1020
|
-
height?: number | undefined;
|
1021
|
-
bitrate?: number | undefined;
|
1022
|
-
ssrc?: number | undefined;
|
1023
|
-
}[] | undefined;
|
1024
|
-
}[]>]: never; }) | undefined;
|
1025
|
-
stereo?: boolean | undefined;
|
1026
|
-
disableRed?: boolean | undefined;
|
1027
|
-
encryption?: Encryption_Type | undefined;
|
1028
|
-
} & { [K_17 in Exclude<keyof I_1["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_18 in Exclude<keyof I_1["tracks"], keyof {
|
1029
|
-
sid?: string | undefined;
|
1030
|
-
type?: TrackType | undefined;
|
1031
|
-
name?: string | undefined;
|
1032
|
-
muted?: boolean | undefined;
|
1033
|
-
width?: number | undefined;
|
1034
|
-
height?: number | undefined;
|
1035
|
-
simulcast?: boolean | undefined;
|
1036
|
-
disableDtx?: boolean | undefined;
|
1037
|
-
source?: TrackSource | undefined;
|
1038
|
-
layers?: {
|
1039
|
-
quality?: VideoQuality | undefined;
|
1040
|
-
width?: number | undefined;
|
1041
|
-
height?: number | undefined;
|
1042
|
-
bitrate?: number | undefined;
|
1043
|
-
ssrc?: number | undefined;
|
1044
|
-
}[] | undefined;
|
1045
|
-
mimeType?: string | undefined;
|
1046
|
-
mid?: string | undefined;
|
1047
|
-
codecs?: {
|
1048
|
-
mimeType?: string | undefined;
|
1049
|
-
mid?: string | undefined;
|
1050
|
-
cid?: string | undefined;
|
1051
|
-
layers?: {
|
1052
|
-
quality?: VideoQuality | undefined;
|
1053
|
-
width?: number | undefined;
|
1054
|
-
height?: number | undefined;
|
1055
|
-
bitrate?: number | undefined;
|
1056
|
-
ssrc?: number | undefined;
|
1057
|
-
}[] | undefined;
|
1058
|
-
}[] | undefined;
|
1059
|
-
stereo?: boolean | undefined;
|
1060
|
-
disableRed?: boolean | undefined;
|
1061
|
-
encryption?: Encryption_Type | undefined;
|
1062
|
-
}[]>]: never; }) | undefined;
|
1063
|
-
metadata?: string | undefined;
|
1064
|
-
joinedAt?: number | undefined;
|
1065
|
-
name?: string | undefined;
|
1066
|
-
version?: number | undefined;
|
1067
|
-
permission?: ({
|
1068
|
-
canSubscribe?: boolean | undefined;
|
1069
|
-
canPublish?: boolean | undefined;
|
1070
|
-
canPublishData?: boolean | undefined;
|
1071
|
-
canPublishSources?: TrackSource[] | undefined;
|
1072
|
-
hidden?: boolean | undefined;
|
1073
|
-
recorder?: boolean | undefined;
|
1074
|
-
canUpdateMetadata?: boolean | undefined;
|
1075
|
-
} & {
|
1076
|
-
canSubscribe?: boolean | undefined;
|
1077
|
-
canPublish?: boolean | undefined;
|
1078
|
-
canPublishData?: boolean | undefined;
|
1079
|
-
canPublishSources?: (TrackSource[] & TrackSource[] & { [K_19 in Exclude<keyof I_1["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
|
1080
|
-
hidden?: boolean | undefined;
|
1081
|
-
recorder?: boolean | undefined;
|
1082
|
-
canUpdateMetadata?: boolean | undefined;
|
1083
|
-
} & { [K_20 in Exclude<keyof I_1["permission"], keyof ParticipantPermission>]: never; }) | undefined;
|
1084
|
-
region?: string | undefined;
|
1085
|
-
isPublisher?: boolean | undefined;
|
1086
|
-
} & { [K_21 in Exclude<keyof I_1, keyof ParticipantInfo>]: never; }>(object: I_1): ParticipantInfo;
|
1087
|
-
};
|
1088
|
-
export declare const Encryption: {
|
1089
|
-
encode(_: Encryption, writer?: _m0.Writer): _m0.Writer;
|
1090
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Encryption;
|
1091
|
-
fromJSON(_: any): Encryption;
|
1092
|
-
toJSON(_: Encryption): unknown;
|
1093
|
-
create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I | undefined): Encryption;
|
1094
|
-
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): Encryption;
|
1095
|
-
};
|
1096
|
-
export declare const SimulcastCodecInfo: {
|
1097
|
-
encode(message: SimulcastCodecInfo, writer?: _m0.Writer): _m0.Writer;
|
1098
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SimulcastCodecInfo;
|
1099
|
-
fromJSON(object: any): SimulcastCodecInfo;
|
1100
|
-
toJSON(message: SimulcastCodecInfo): unknown;
|
1101
|
-
create<I extends {
|
1102
|
-
mimeType?: string | undefined;
|
1103
|
-
mid?: string | undefined;
|
1104
|
-
cid?: string | undefined;
|
1105
|
-
layers?: {
|
1106
|
-
quality?: VideoQuality | undefined;
|
1107
|
-
width?: number | undefined;
|
1108
|
-
height?: number | undefined;
|
1109
|
-
bitrate?: number | undefined;
|
1110
|
-
ssrc?: number | undefined;
|
1111
|
-
}[] | undefined;
|
1112
|
-
} & {
|
1113
|
-
mimeType?: string | undefined;
|
1114
|
-
mid?: string | undefined;
|
1115
|
-
cid?: string | undefined;
|
1116
|
-
layers?: ({
|
1117
|
-
quality?: VideoQuality | undefined;
|
1118
|
-
width?: number | undefined;
|
1119
|
-
height?: number | undefined;
|
1120
|
-
bitrate?: number | undefined;
|
1121
|
-
ssrc?: number | undefined;
|
1122
|
-
}[] & ({
|
1123
|
-
quality?: VideoQuality | undefined;
|
1124
|
-
width?: number | undefined;
|
1125
|
-
height?: number | undefined;
|
1126
|
-
bitrate?: number | undefined;
|
1127
|
-
ssrc?: number | undefined;
|
1128
|
-
} & {
|
1129
|
-
quality?: VideoQuality | undefined;
|
1130
|
-
width?: number | undefined;
|
1131
|
-
height?: number | undefined;
|
1132
|
-
bitrate?: number | undefined;
|
1133
|
-
ssrc?: number | undefined;
|
1134
|
-
} & { [K in Exclude<keyof I["layers"][number], keyof VideoLayer>]: never; })[] & { [K_1 in Exclude<keyof I["layers"], keyof {
|
1135
|
-
quality?: VideoQuality | undefined;
|
1136
|
-
width?: number | undefined;
|
1137
|
-
height?: number | undefined;
|
1138
|
-
bitrate?: number | undefined;
|
1139
|
-
ssrc?: number | undefined;
|
1140
|
-
}[]>]: never; }) | undefined;
|
1141
|
-
} & { [K_2 in Exclude<keyof I, keyof SimulcastCodecInfo>]: never; }>(base?: I | undefined): SimulcastCodecInfo;
|
1142
|
-
fromPartial<I_1 extends {
|
1143
|
-
mimeType?: string | undefined;
|
1144
|
-
mid?: string | undefined;
|
1145
|
-
cid?: string | undefined;
|
1146
|
-
layers?: {
|
1147
|
-
quality?: VideoQuality | undefined;
|
1148
|
-
width?: number | undefined;
|
1149
|
-
height?: number | undefined;
|
1150
|
-
bitrate?: number | undefined;
|
1151
|
-
ssrc?: number | undefined;
|
1152
|
-
}[] | undefined;
|
1153
|
-
} & {
|
1154
|
-
mimeType?: string | undefined;
|
1155
|
-
mid?: string | undefined;
|
1156
|
-
cid?: string | undefined;
|
1157
|
-
layers?: ({
|
1158
|
-
quality?: VideoQuality | undefined;
|
1159
|
-
width?: number | undefined;
|
1160
|
-
height?: number | undefined;
|
1161
|
-
bitrate?: number | undefined;
|
1162
|
-
ssrc?: number | undefined;
|
1163
|
-
}[] & ({
|
1164
|
-
quality?: VideoQuality | undefined;
|
1165
|
-
width?: number | undefined;
|
1166
|
-
height?: number | undefined;
|
1167
|
-
bitrate?: number | undefined;
|
1168
|
-
ssrc?: number | undefined;
|
1169
|
-
} & {
|
1170
|
-
quality?: VideoQuality | undefined;
|
1171
|
-
width?: number | undefined;
|
1172
|
-
height?: number | undefined;
|
1173
|
-
bitrate?: number | undefined;
|
1174
|
-
ssrc?: number | undefined;
|
1175
|
-
} & { [K_3 in Exclude<keyof I_1["layers"][number], keyof VideoLayer>]: never; })[] & { [K_4 in Exclude<keyof I_1["layers"], keyof {
|
1176
|
-
quality?: VideoQuality | undefined;
|
1177
|
-
width?: number | undefined;
|
1178
|
-
height?: number | undefined;
|
1179
|
-
bitrate?: number | undefined;
|
1180
|
-
ssrc?: number | undefined;
|
1181
|
-
}[]>]: never; }) | undefined;
|
1182
|
-
} & { [K_5 in Exclude<keyof I_1, keyof SimulcastCodecInfo>]: never; }>(object: I_1): SimulcastCodecInfo;
|
1183
|
-
};
|
1184
|
-
export declare const TrackInfo: {
|
1185
|
-
encode(message: TrackInfo, writer?: _m0.Writer): _m0.Writer;
|
1186
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): TrackInfo;
|
1187
|
-
fromJSON(object: any): TrackInfo;
|
1188
|
-
toJSON(message: TrackInfo): unknown;
|
1189
|
-
create<I extends {
|
1190
|
-
sid?: string | undefined;
|
1191
|
-
type?: TrackType | undefined;
|
1192
|
-
name?: string | undefined;
|
1193
|
-
muted?: boolean | undefined;
|
1194
|
-
width?: number | undefined;
|
1195
|
-
height?: number | undefined;
|
1196
|
-
simulcast?: boolean | undefined;
|
1197
|
-
disableDtx?: boolean | undefined;
|
1198
|
-
source?: TrackSource | undefined;
|
1199
|
-
layers?: {
|
1200
|
-
quality?: VideoQuality | undefined;
|
1201
|
-
width?: number | undefined;
|
1202
|
-
height?: number | undefined;
|
1203
|
-
bitrate?: number | undefined;
|
1204
|
-
ssrc?: number | undefined;
|
1205
|
-
}[] | undefined;
|
1206
|
-
mimeType?: string | undefined;
|
1207
|
-
mid?: string | undefined;
|
1208
|
-
codecs?: {
|
1209
|
-
mimeType?: string | undefined;
|
1210
|
-
mid?: string | undefined;
|
1211
|
-
cid?: string | undefined;
|
1212
|
-
layers?: {
|
1213
|
-
quality?: VideoQuality | undefined;
|
1214
|
-
width?: number | undefined;
|
1215
|
-
height?: number | undefined;
|
1216
|
-
bitrate?: number | undefined;
|
1217
|
-
ssrc?: number | undefined;
|
1218
|
-
}[] | undefined;
|
1219
|
-
}[] | undefined;
|
1220
|
-
stereo?: boolean | undefined;
|
1221
|
-
disableRed?: boolean | undefined;
|
1222
|
-
encryption?: Encryption_Type | undefined;
|
1223
|
-
} & {
|
1224
|
-
sid?: string | undefined;
|
1225
|
-
type?: TrackType | undefined;
|
1226
|
-
name?: string | undefined;
|
1227
|
-
muted?: boolean | undefined;
|
1228
|
-
width?: number | undefined;
|
1229
|
-
height?: number | undefined;
|
1230
|
-
simulcast?: boolean | undefined;
|
1231
|
-
disableDtx?: boolean | undefined;
|
1232
|
-
source?: TrackSource | undefined;
|
1233
|
-
layers?: ({
|
1234
|
-
quality?: VideoQuality | undefined;
|
1235
|
-
width?: number | undefined;
|
1236
|
-
height?: number | undefined;
|
1237
|
-
bitrate?: number | undefined;
|
1238
|
-
ssrc?: number | undefined;
|
1239
|
-
}[] & ({
|
1240
|
-
quality?: VideoQuality | undefined;
|
1241
|
-
width?: number | undefined;
|
1242
|
-
height?: number | undefined;
|
1243
|
-
bitrate?: number | undefined;
|
1244
|
-
ssrc?: number | undefined;
|
1245
|
-
} & {
|
1246
|
-
quality?: VideoQuality | undefined;
|
1247
|
-
width?: number | undefined;
|
1248
|
-
height?: number | undefined;
|
1249
|
-
bitrate?: number | undefined;
|
1250
|
-
ssrc?: number | undefined;
|
1251
|
-
} & { [K in Exclude<keyof I["layers"][number], keyof VideoLayer>]: never; })[] & { [K_1 in Exclude<keyof I["layers"], keyof {
|
1252
|
-
quality?: VideoQuality | undefined;
|
1253
|
-
width?: number | undefined;
|
1254
|
-
height?: number | undefined;
|
1255
|
-
bitrate?: number | undefined;
|
1256
|
-
ssrc?: number | undefined;
|
1257
|
-
}[]>]: never; }) | undefined;
|
1258
|
-
mimeType?: string | undefined;
|
1259
|
-
mid?: string | undefined;
|
1260
|
-
codecs?: ({
|
1261
|
-
mimeType?: string | undefined;
|
1262
|
-
mid?: string | undefined;
|
1263
|
-
cid?: string | undefined;
|
1264
|
-
layers?: {
|
1265
|
-
quality?: VideoQuality | undefined;
|
1266
|
-
width?: number | undefined;
|
1267
|
-
height?: number | undefined;
|
1268
|
-
bitrate?: number | undefined;
|
1269
|
-
ssrc?: number | undefined;
|
1270
|
-
}[] | undefined;
|
1271
|
-
}[] & ({
|
1272
|
-
mimeType?: string | undefined;
|
1273
|
-
mid?: string | undefined;
|
1274
|
-
cid?: string | undefined;
|
1275
|
-
layers?: {
|
1276
|
-
quality?: VideoQuality | undefined;
|
1277
|
-
width?: number | undefined;
|
1278
|
-
height?: number | undefined;
|
1279
|
-
bitrate?: number | undefined;
|
1280
|
-
ssrc?: number | undefined;
|
1281
|
-
}[] | undefined;
|
1282
|
-
} & {
|
1283
|
-
mimeType?: string | undefined;
|
1284
|
-
mid?: string | undefined;
|
1285
|
-
cid?: string | undefined;
|
1286
|
-
layers?: ({
|
1287
|
-
quality?: VideoQuality | undefined;
|
1288
|
-
width?: number | undefined;
|
1289
|
-
height?: number | undefined;
|
1290
|
-
bitrate?: number | undefined;
|
1291
|
-
ssrc?: number | undefined;
|
1292
|
-
}[] & ({
|
1293
|
-
quality?: VideoQuality | undefined;
|
1294
|
-
width?: number | undefined;
|
1295
|
-
height?: number | undefined;
|
1296
|
-
bitrate?: number | undefined;
|
1297
|
-
ssrc?: number | undefined;
|
1298
|
-
} & {
|
1299
|
-
quality?: VideoQuality | undefined;
|
1300
|
-
width?: number | undefined;
|
1301
|
-
height?: number | undefined;
|
1302
|
-
bitrate?: number | undefined;
|
1303
|
-
ssrc?: number | undefined;
|
1304
|
-
} & { [K_2 in Exclude<keyof I["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_3 in Exclude<keyof I["codecs"][number]["layers"], keyof {
|
1305
|
-
quality?: VideoQuality | undefined;
|
1306
|
-
width?: number | undefined;
|
1307
|
-
height?: number | undefined;
|
1308
|
-
bitrate?: number | undefined;
|
1309
|
-
ssrc?: number | undefined;
|
1310
|
-
}[]>]: never; }) | undefined;
|
1311
|
-
} & { [K_4 in Exclude<keyof I["codecs"][number], keyof SimulcastCodecInfo>]: never; })[] & { [K_5 in Exclude<keyof I["codecs"], keyof {
|
1312
|
-
mimeType?: string | undefined;
|
1313
|
-
mid?: string | undefined;
|
1314
|
-
cid?: string | undefined;
|
1315
|
-
layers?: {
|
1316
|
-
quality?: VideoQuality | undefined;
|
1317
|
-
width?: number | undefined;
|
1318
|
-
height?: number | undefined;
|
1319
|
-
bitrate?: number | undefined;
|
1320
|
-
ssrc?: number | undefined;
|
1321
|
-
}[] | undefined;
|
1322
|
-
}[]>]: never; }) | undefined;
|
1323
|
-
stereo?: boolean | undefined;
|
1324
|
-
disableRed?: boolean | undefined;
|
1325
|
-
encryption?: Encryption_Type | undefined;
|
1326
|
-
} & { [K_6 in Exclude<keyof I, keyof TrackInfo>]: never; }>(base?: I | undefined): TrackInfo;
|
1327
|
-
fromPartial<I_1 extends {
|
1328
|
-
sid?: string | undefined;
|
1329
|
-
type?: TrackType | undefined;
|
1330
|
-
name?: string | undefined;
|
1331
|
-
muted?: boolean | undefined;
|
1332
|
-
width?: number | undefined;
|
1333
|
-
height?: number | undefined;
|
1334
|
-
simulcast?: boolean | undefined;
|
1335
|
-
disableDtx?: boolean | undefined;
|
1336
|
-
source?: TrackSource | undefined;
|
1337
|
-
layers?: {
|
1338
|
-
quality?: VideoQuality | undefined;
|
1339
|
-
width?: number | undefined;
|
1340
|
-
height?: number | undefined;
|
1341
|
-
bitrate?: number | undefined;
|
1342
|
-
ssrc?: number | undefined;
|
1343
|
-
}[] | undefined;
|
1344
|
-
mimeType?: string | undefined;
|
1345
|
-
mid?: string | undefined;
|
1346
|
-
codecs?: {
|
1347
|
-
mimeType?: string | undefined;
|
1348
|
-
mid?: string | undefined;
|
1349
|
-
cid?: string | undefined;
|
1350
|
-
layers?: {
|
1351
|
-
quality?: VideoQuality | undefined;
|
1352
|
-
width?: number | undefined;
|
1353
|
-
height?: number | undefined;
|
1354
|
-
bitrate?: number | undefined;
|
1355
|
-
ssrc?: number | undefined;
|
1356
|
-
}[] | undefined;
|
1357
|
-
}[] | undefined;
|
1358
|
-
stereo?: boolean | undefined;
|
1359
|
-
disableRed?: boolean | undefined;
|
1360
|
-
encryption?: Encryption_Type | undefined;
|
1361
|
-
} & {
|
1362
|
-
sid?: string | undefined;
|
1363
|
-
type?: TrackType | undefined;
|
1364
|
-
name?: string | undefined;
|
1365
|
-
muted?: boolean | undefined;
|
1366
|
-
width?: number | undefined;
|
1367
|
-
height?: number | undefined;
|
1368
|
-
simulcast?: boolean | undefined;
|
1369
|
-
disableDtx?: boolean | undefined;
|
1370
|
-
source?: TrackSource | undefined;
|
1371
|
-
layers?: ({
|
1372
|
-
quality?: VideoQuality | undefined;
|
1373
|
-
width?: number | undefined;
|
1374
|
-
height?: number | undefined;
|
1375
|
-
bitrate?: number | undefined;
|
1376
|
-
ssrc?: number | undefined;
|
1377
|
-
}[] & ({
|
1378
|
-
quality?: VideoQuality | undefined;
|
1379
|
-
width?: number | undefined;
|
1380
|
-
height?: number | undefined;
|
1381
|
-
bitrate?: number | undefined;
|
1382
|
-
ssrc?: number | undefined;
|
1383
|
-
} & {
|
1384
|
-
quality?: VideoQuality | undefined;
|
1385
|
-
width?: number | undefined;
|
1386
|
-
height?: number | undefined;
|
1387
|
-
bitrate?: number | undefined;
|
1388
|
-
ssrc?: number | undefined;
|
1389
|
-
} & { [K_7 in Exclude<keyof I_1["layers"][number], keyof VideoLayer>]: never; })[] & { [K_8 in Exclude<keyof I_1["layers"], keyof {
|
1390
|
-
quality?: VideoQuality | undefined;
|
1391
|
-
width?: number | undefined;
|
1392
|
-
height?: number | undefined;
|
1393
|
-
bitrate?: number | undefined;
|
1394
|
-
ssrc?: number | undefined;
|
1395
|
-
}[]>]: never; }) | undefined;
|
1396
|
-
mimeType?: string | undefined;
|
1397
|
-
mid?: string | undefined;
|
1398
|
-
codecs?: ({
|
1399
|
-
mimeType?: string | undefined;
|
1400
|
-
mid?: string | undefined;
|
1401
|
-
cid?: string | undefined;
|
1402
|
-
layers?: {
|
1403
|
-
quality?: VideoQuality | undefined;
|
1404
|
-
width?: number | undefined;
|
1405
|
-
height?: number | undefined;
|
1406
|
-
bitrate?: number | undefined;
|
1407
|
-
ssrc?: number | undefined;
|
1408
|
-
}[] | undefined;
|
1409
|
-
}[] & ({
|
1410
|
-
mimeType?: string | undefined;
|
1411
|
-
mid?: string | undefined;
|
1412
|
-
cid?: string | undefined;
|
1413
|
-
layers?: {
|
1414
|
-
quality?: VideoQuality | undefined;
|
1415
|
-
width?: number | undefined;
|
1416
|
-
height?: number | undefined;
|
1417
|
-
bitrate?: number | undefined;
|
1418
|
-
ssrc?: number | undefined;
|
1419
|
-
}[] | undefined;
|
1420
|
-
} & {
|
1421
|
-
mimeType?: string | undefined;
|
1422
|
-
mid?: string | undefined;
|
1423
|
-
cid?: string | undefined;
|
1424
|
-
layers?: ({
|
1425
|
-
quality?: VideoQuality | undefined;
|
1426
|
-
width?: number | undefined;
|
1427
|
-
height?: number | undefined;
|
1428
|
-
bitrate?: number | undefined;
|
1429
|
-
ssrc?: number | undefined;
|
1430
|
-
}[] & ({
|
1431
|
-
quality?: VideoQuality | undefined;
|
1432
|
-
width?: number | undefined;
|
1433
|
-
height?: number | undefined;
|
1434
|
-
bitrate?: number | undefined;
|
1435
|
-
ssrc?: number | undefined;
|
1436
|
-
} & {
|
1437
|
-
quality?: VideoQuality | undefined;
|
1438
|
-
width?: number | undefined;
|
1439
|
-
height?: number | undefined;
|
1440
|
-
bitrate?: number | undefined;
|
1441
|
-
ssrc?: number | undefined;
|
1442
|
-
} & { [K_9 in Exclude<keyof I_1["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_10 in Exclude<keyof I_1["codecs"][number]["layers"], keyof {
|
1443
|
-
quality?: VideoQuality | undefined;
|
1444
|
-
width?: number | undefined;
|
1445
|
-
height?: number | undefined;
|
1446
|
-
bitrate?: number | undefined;
|
1447
|
-
ssrc?: number | undefined;
|
1448
|
-
}[]>]: never; }) | undefined;
|
1449
|
-
} & { [K_11 in Exclude<keyof I_1["codecs"][number], keyof SimulcastCodecInfo>]: never; })[] & { [K_12 in Exclude<keyof I_1["codecs"], keyof {
|
1450
|
-
mimeType?: string | undefined;
|
1451
|
-
mid?: string | undefined;
|
1452
|
-
cid?: string | undefined;
|
1453
|
-
layers?: {
|
1454
|
-
quality?: VideoQuality | undefined;
|
1455
|
-
width?: number | undefined;
|
1456
|
-
height?: number | undefined;
|
1457
|
-
bitrate?: number | undefined;
|
1458
|
-
ssrc?: number | undefined;
|
1459
|
-
}[] | undefined;
|
1460
|
-
}[]>]: never; }) | undefined;
|
1461
|
-
stereo?: boolean | undefined;
|
1462
|
-
disableRed?: boolean | undefined;
|
1463
|
-
encryption?: Encryption_Type | undefined;
|
1464
|
-
} & { [K_13 in Exclude<keyof I_1, keyof TrackInfo>]: never; }>(object: I_1): TrackInfo;
|
1465
|
-
};
|
1466
|
-
export declare const VideoLayer: {
|
1467
|
-
encode(message: VideoLayer, writer?: _m0.Writer): _m0.Writer;
|
1468
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): VideoLayer;
|
1469
|
-
fromJSON(object: any): VideoLayer;
|
1470
|
-
toJSON(message: VideoLayer): unknown;
|
1471
|
-
create<I extends {
|
1472
|
-
quality?: VideoQuality | undefined;
|
1473
|
-
width?: number | undefined;
|
1474
|
-
height?: number | undefined;
|
1475
|
-
bitrate?: number | undefined;
|
1476
|
-
ssrc?: number | undefined;
|
1477
|
-
} & {
|
1478
|
-
quality?: VideoQuality | undefined;
|
1479
|
-
width?: number | undefined;
|
1480
|
-
height?: number | undefined;
|
1481
|
-
bitrate?: number | undefined;
|
1482
|
-
ssrc?: number | undefined;
|
1483
|
-
} & { [K in Exclude<keyof I, keyof VideoLayer>]: never; }>(base?: I | undefined): VideoLayer;
|
1484
|
-
fromPartial<I_1 extends {
|
1485
|
-
quality?: VideoQuality | undefined;
|
1486
|
-
width?: number | undefined;
|
1487
|
-
height?: number | undefined;
|
1488
|
-
bitrate?: number | undefined;
|
1489
|
-
ssrc?: number | undefined;
|
1490
|
-
} & {
|
1491
|
-
quality?: VideoQuality | undefined;
|
1492
|
-
width?: number | undefined;
|
1493
|
-
height?: number | undefined;
|
1494
|
-
bitrate?: number | undefined;
|
1495
|
-
ssrc?: number | undefined;
|
1496
|
-
} & { [K_1 in Exclude<keyof I_1, keyof VideoLayer>]: never; }>(object: I_1): VideoLayer;
|
1497
|
-
};
|
1498
|
-
export declare const DataPacket: {
|
1499
|
-
encode(message: DataPacket, writer?: _m0.Writer): _m0.Writer;
|
1500
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): DataPacket;
|
1501
|
-
fromJSON(object: any): DataPacket;
|
1502
|
-
toJSON(message: DataPacket): unknown;
|
1503
|
-
create<I extends {
|
1504
|
-
kind?: DataPacket_Kind | undefined;
|
1505
|
-
value?: ({
|
1506
|
-
user?: {
|
1507
|
-
participantSid?: string | undefined;
|
1508
|
-
payload?: Uint8Array | undefined;
|
1509
|
-
destinationSids?: string[] | undefined;
|
1510
|
-
topic?: string | undefined;
|
1511
|
-
} | undefined;
|
1512
|
-
} & {
|
1513
|
-
$case: "user";
|
1514
|
-
}) | ({
|
1515
|
-
speaker?: {
|
1516
|
-
speakers?: {
|
1517
|
-
sid?: string | undefined;
|
1518
|
-
level?: number | undefined;
|
1519
|
-
active?: boolean | undefined;
|
1520
|
-
}[] | undefined;
|
1521
|
-
} | undefined;
|
1522
|
-
} & {
|
1523
|
-
$case: "speaker";
|
1524
|
-
}) | undefined;
|
1525
|
-
} & {
|
1526
|
-
kind?: DataPacket_Kind | undefined;
|
1527
|
-
value?: ({
|
1528
|
-
user?: {
|
1529
|
-
participantSid?: string | undefined;
|
1530
|
-
payload?: Uint8Array | undefined;
|
1531
|
-
destinationSids?: string[] | undefined;
|
1532
|
-
topic?: string | undefined;
|
1533
|
-
} | undefined;
|
1534
|
-
} & {
|
1535
|
-
$case: "user";
|
1536
|
-
} & {
|
1537
|
-
user?: ({
|
1538
|
-
participantSid?: string | undefined;
|
1539
|
-
payload?: Uint8Array | undefined;
|
1540
|
-
destinationSids?: string[] | undefined;
|
1541
|
-
topic?: string | undefined;
|
1542
|
-
} & {
|
1543
|
-
participantSid?: string | undefined;
|
1544
|
-
payload?: Uint8Array | undefined;
|
1545
|
-
destinationSids?: (string[] & string[] & { [K in Exclude<keyof I["value"]["user"]["destinationSids"], keyof string[]>]: never; }) | undefined;
|
1546
|
-
topic?: string | undefined;
|
1547
|
-
} & { [K_1 in Exclude<keyof I["value"]["user"], keyof UserPacket>]: never; }) | undefined;
|
1548
|
-
$case: "user";
|
1549
|
-
} & { [K_2 in Exclude<keyof I["value"], "user" | "$case">]: never; }) | ({
|
1550
|
-
speaker?: {
|
1551
|
-
speakers?: {
|
1552
|
-
sid?: string | undefined;
|
1553
|
-
level?: number | undefined;
|
1554
|
-
active?: boolean | undefined;
|
1555
|
-
}[] | undefined;
|
1556
|
-
} | undefined;
|
1557
|
-
} & {
|
1558
|
-
$case: "speaker";
|
1559
|
-
} & {
|
1560
|
-
speaker?: ({
|
1561
|
-
speakers?: {
|
1562
|
-
sid?: string | undefined;
|
1563
|
-
level?: number | undefined;
|
1564
|
-
active?: boolean | undefined;
|
1565
|
-
}[] | undefined;
|
1566
|
-
} & {
|
1567
|
-
speakers?: ({
|
1568
|
-
sid?: string | undefined;
|
1569
|
-
level?: number | undefined;
|
1570
|
-
active?: boolean | undefined;
|
1571
|
-
}[] & ({
|
1572
|
-
sid?: string | undefined;
|
1573
|
-
level?: number | undefined;
|
1574
|
-
active?: boolean | undefined;
|
1575
|
-
} & {
|
1576
|
-
sid?: string | undefined;
|
1577
|
-
level?: number | undefined;
|
1578
|
-
active?: boolean | undefined;
|
1579
|
-
} & { [K_3 in Exclude<keyof I["value"]["speaker"]["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_4 in Exclude<keyof I["value"]["speaker"]["speakers"], keyof {
|
1580
|
-
sid?: string | undefined;
|
1581
|
-
level?: number | undefined;
|
1582
|
-
active?: boolean | undefined;
|
1583
|
-
}[]>]: never; }) | undefined;
|
1584
|
-
} & { [K_5 in Exclude<keyof I["value"]["speaker"], "speakers">]: never; }) | undefined;
|
1585
|
-
$case: "speaker";
|
1586
|
-
} & { [K_6 in Exclude<keyof I["value"], "speaker" | "$case">]: never; }) | undefined;
|
1587
|
-
} & { [K_7 in Exclude<keyof I, keyof DataPacket>]: never; }>(base?: I | undefined): DataPacket;
|
1588
|
-
fromPartial<I_1 extends {
|
1589
|
-
kind?: DataPacket_Kind | undefined;
|
1590
|
-
value?: ({
|
1591
|
-
user?: {
|
1592
|
-
participantSid?: string | undefined;
|
1593
|
-
payload?: Uint8Array | undefined;
|
1594
|
-
destinationSids?: string[] | undefined;
|
1595
|
-
topic?: string | undefined;
|
1596
|
-
} | undefined;
|
1597
|
-
} & {
|
1598
|
-
$case: "user";
|
1599
|
-
}) | ({
|
1600
|
-
speaker?: {
|
1601
|
-
speakers?: {
|
1602
|
-
sid?: string | undefined;
|
1603
|
-
level?: number | undefined;
|
1604
|
-
active?: boolean | undefined;
|
1605
|
-
}[] | undefined;
|
1606
|
-
} | undefined;
|
1607
|
-
} & {
|
1608
|
-
$case: "speaker";
|
1609
|
-
}) | undefined;
|
1610
|
-
} & {
|
1611
|
-
kind?: DataPacket_Kind | undefined;
|
1612
|
-
value?: ({
|
1613
|
-
user?: {
|
1614
|
-
participantSid?: string | undefined;
|
1615
|
-
payload?: Uint8Array | undefined;
|
1616
|
-
destinationSids?: string[] | undefined;
|
1617
|
-
topic?: string | undefined;
|
1618
|
-
} | undefined;
|
1619
|
-
} & {
|
1620
|
-
$case: "user";
|
1621
|
-
} & {
|
1622
|
-
user?: ({
|
1623
|
-
participantSid?: string | undefined;
|
1624
|
-
payload?: Uint8Array | undefined;
|
1625
|
-
destinationSids?: string[] | undefined;
|
1626
|
-
topic?: string | undefined;
|
1627
|
-
} & {
|
1628
|
-
participantSid?: string | undefined;
|
1629
|
-
payload?: Uint8Array | undefined;
|
1630
|
-
destinationSids?: (string[] & string[] & { [K_8 in Exclude<keyof I_1["value"]["user"]["destinationSids"], keyof string[]>]: never; }) | undefined;
|
1631
|
-
topic?: string | undefined;
|
1632
|
-
} & { [K_9 in Exclude<keyof I_1["value"]["user"], keyof UserPacket>]: never; }) | undefined;
|
1633
|
-
$case: "user";
|
1634
|
-
} & { [K_10 in Exclude<keyof I_1["value"], "user" | "$case">]: never; }) | ({
|
1635
|
-
speaker?: {
|
1636
|
-
speakers?: {
|
1637
|
-
sid?: string | undefined;
|
1638
|
-
level?: number | undefined;
|
1639
|
-
active?: boolean | undefined;
|
1640
|
-
}[] | undefined;
|
1641
|
-
} | undefined;
|
1642
|
-
} & {
|
1643
|
-
$case: "speaker";
|
1644
|
-
} & {
|
1645
|
-
speaker?: ({
|
1646
|
-
speakers?: {
|
1647
|
-
sid?: string | undefined;
|
1648
|
-
level?: number | undefined;
|
1649
|
-
active?: boolean | undefined;
|
1650
|
-
}[] | undefined;
|
1651
|
-
} & {
|
1652
|
-
speakers?: ({
|
1653
|
-
sid?: string | undefined;
|
1654
|
-
level?: number | undefined;
|
1655
|
-
active?: boolean | undefined;
|
1656
|
-
}[] & ({
|
1657
|
-
sid?: string | undefined;
|
1658
|
-
level?: number | undefined;
|
1659
|
-
active?: boolean | undefined;
|
1660
|
-
} & {
|
1661
|
-
sid?: string | undefined;
|
1662
|
-
level?: number | undefined;
|
1663
|
-
active?: boolean | undefined;
|
1664
|
-
} & { [K_11 in Exclude<keyof I_1["value"]["speaker"]["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_12 in Exclude<keyof I_1["value"]["speaker"]["speakers"], keyof {
|
1665
|
-
sid?: string | undefined;
|
1666
|
-
level?: number | undefined;
|
1667
|
-
active?: boolean | undefined;
|
1668
|
-
}[]>]: never; }) | undefined;
|
1669
|
-
} & { [K_13 in Exclude<keyof I_1["value"]["speaker"], "speakers">]: never; }) | undefined;
|
1670
|
-
$case: "speaker";
|
1671
|
-
} & { [K_14 in Exclude<keyof I_1["value"], "speaker" | "$case">]: never; }) | undefined;
|
1672
|
-
} & { [K_15 in Exclude<keyof I_1, keyof DataPacket>]: never; }>(object: I_1): DataPacket;
|
1673
|
-
};
|
1674
|
-
export declare const ActiveSpeakerUpdate: {
|
1675
|
-
encode(message: ActiveSpeakerUpdate, writer?: _m0.Writer): _m0.Writer;
|
1676
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ActiveSpeakerUpdate;
|
1677
|
-
fromJSON(object: any): ActiveSpeakerUpdate;
|
1678
|
-
toJSON(message: ActiveSpeakerUpdate): unknown;
|
1679
|
-
create<I extends {
|
1680
|
-
speakers?: {
|
1681
|
-
sid?: string | undefined;
|
1682
|
-
level?: number | undefined;
|
1683
|
-
active?: boolean | undefined;
|
1684
|
-
}[] | undefined;
|
1685
|
-
} & {
|
1686
|
-
speakers?: ({
|
1687
|
-
sid?: string | undefined;
|
1688
|
-
level?: number | undefined;
|
1689
|
-
active?: boolean | undefined;
|
1690
|
-
}[] & ({
|
1691
|
-
sid?: string | undefined;
|
1692
|
-
level?: number | undefined;
|
1693
|
-
active?: boolean | undefined;
|
1694
|
-
} & {
|
1695
|
-
sid?: string | undefined;
|
1696
|
-
level?: number | undefined;
|
1697
|
-
active?: boolean | undefined;
|
1698
|
-
} & { [K in Exclude<keyof I["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_1 in Exclude<keyof I["speakers"], keyof {
|
1699
|
-
sid?: string | undefined;
|
1700
|
-
level?: number | undefined;
|
1701
|
-
active?: boolean | undefined;
|
1702
|
-
}[]>]: never; }) | undefined;
|
1703
|
-
} & { [K_2 in Exclude<keyof I, "speakers">]: never; }>(base?: I | undefined): ActiveSpeakerUpdate;
|
1704
|
-
fromPartial<I_1 extends {
|
1705
|
-
speakers?: {
|
1706
|
-
sid?: string | undefined;
|
1707
|
-
level?: number | undefined;
|
1708
|
-
active?: boolean | undefined;
|
1709
|
-
}[] | undefined;
|
1710
|
-
} & {
|
1711
|
-
speakers?: ({
|
1712
|
-
sid?: string | undefined;
|
1713
|
-
level?: number | undefined;
|
1714
|
-
active?: boolean | undefined;
|
1715
|
-
}[] & ({
|
1716
|
-
sid?: string | undefined;
|
1717
|
-
level?: number | undefined;
|
1718
|
-
active?: boolean | undefined;
|
1719
|
-
} & {
|
1720
|
-
sid?: string | undefined;
|
1721
|
-
level?: number | undefined;
|
1722
|
-
active?: boolean | undefined;
|
1723
|
-
} & { [K_3 in Exclude<keyof I_1["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_4 in Exclude<keyof I_1["speakers"], keyof {
|
1724
|
-
sid?: string | undefined;
|
1725
|
-
level?: number | undefined;
|
1726
|
-
active?: boolean | undefined;
|
1727
|
-
}[]>]: never; }) | undefined;
|
1728
|
-
} & { [K_5 in Exclude<keyof I_1, "speakers">]: never; }>(object: I_1): ActiveSpeakerUpdate;
|
1729
|
-
};
|
1730
|
-
export declare const SpeakerInfo: {
|
1731
|
-
encode(message: SpeakerInfo, writer?: _m0.Writer): _m0.Writer;
|
1732
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SpeakerInfo;
|
1733
|
-
fromJSON(object: any): SpeakerInfo;
|
1734
|
-
toJSON(message: SpeakerInfo): unknown;
|
1735
|
-
create<I extends {
|
1736
|
-
sid?: string | undefined;
|
1737
|
-
level?: number | undefined;
|
1738
|
-
active?: boolean | undefined;
|
1739
|
-
} & {
|
1740
|
-
sid?: string | undefined;
|
1741
|
-
level?: number | undefined;
|
1742
|
-
active?: boolean | undefined;
|
1743
|
-
} & { [K in Exclude<keyof I, keyof SpeakerInfo>]: never; }>(base?: I | undefined): SpeakerInfo;
|
1744
|
-
fromPartial<I_1 extends {
|
1745
|
-
sid?: string | undefined;
|
1746
|
-
level?: number | undefined;
|
1747
|
-
active?: boolean | undefined;
|
1748
|
-
} & {
|
1749
|
-
sid?: string | undefined;
|
1750
|
-
level?: number | undefined;
|
1751
|
-
active?: boolean | undefined;
|
1752
|
-
} & { [K_1 in Exclude<keyof I_1, keyof SpeakerInfo>]: never; }>(object: I_1): SpeakerInfo;
|
1753
|
-
};
|
1754
|
-
export declare const UserPacket: {
|
1755
|
-
encode(message: UserPacket, writer?: _m0.Writer): _m0.Writer;
|
1756
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): UserPacket;
|
1757
|
-
fromJSON(object: any): UserPacket;
|
1758
|
-
toJSON(message: UserPacket): unknown;
|
1759
|
-
create<I extends {
|
1760
|
-
participantSid?: string | undefined;
|
1761
|
-
payload?: Uint8Array | undefined;
|
1762
|
-
destinationSids?: string[] | undefined;
|
1763
|
-
topic?: string | undefined;
|
1764
|
-
} & {
|
1765
|
-
participantSid?: string | undefined;
|
1766
|
-
payload?: Uint8Array | undefined;
|
1767
|
-
destinationSids?: (string[] & string[] & { [K in Exclude<keyof I["destinationSids"], keyof string[]>]: never; }) | undefined;
|
1768
|
-
topic?: string | undefined;
|
1769
|
-
} & { [K_1 in Exclude<keyof I, keyof UserPacket>]: never; }>(base?: I | undefined): UserPacket;
|
1770
|
-
fromPartial<I_1 extends {
|
1771
|
-
participantSid?: string | undefined;
|
1772
|
-
payload?: Uint8Array | undefined;
|
1773
|
-
destinationSids?: string[] | undefined;
|
1774
|
-
topic?: string | undefined;
|
1775
|
-
} & {
|
1776
|
-
participantSid?: string | undefined;
|
1777
|
-
payload?: Uint8Array | undefined;
|
1778
|
-
destinationSids?: (string[] & string[] & { [K_2 in Exclude<keyof I_1["destinationSids"], keyof string[]>]: never; }) | undefined;
|
1779
|
-
topic?: string | undefined;
|
1780
|
-
} & { [K_3 in Exclude<keyof I_1, keyof UserPacket>]: never; }>(object: I_1): UserPacket;
|
1781
|
-
};
|
1782
|
-
export declare const ParticipantTracks: {
|
1783
|
-
encode(message: ParticipantTracks, writer?: _m0.Writer): _m0.Writer;
|
1784
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ParticipantTracks;
|
1785
|
-
fromJSON(object: any): ParticipantTracks;
|
1786
|
-
toJSON(message: ParticipantTracks): unknown;
|
1787
|
-
create<I extends {
|
1788
|
-
participantSid?: string | undefined;
|
1789
|
-
trackSids?: string[] | undefined;
|
1790
|
-
} & {
|
1791
|
-
participantSid?: string | undefined;
|
1792
|
-
trackSids?: (string[] & string[] & { [K in Exclude<keyof I["trackSids"], keyof string[]>]: never; }) | undefined;
|
1793
|
-
} & { [K_1 in Exclude<keyof I, keyof ParticipantTracks>]: never; }>(base?: I | undefined): ParticipantTracks;
|
1794
|
-
fromPartial<I_1 extends {
|
1795
|
-
participantSid?: string | undefined;
|
1796
|
-
trackSids?: string[] | undefined;
|
1797
|
-
} & {
|
1798
|
-
participantSid?: string | undefined;
|
1799
|
-
trackSids?: (string[] & string[] & { [K_2 in Exclude<keyof I_1["trackSids"], keyof string[]>]: never; }) | undefined;
|
1800
|
-
} & { [K_3 in Exclude<keyof I_1, keyof ParticipantTracks>]: never; }>(object: I_1): ParticipantTracks;
|
1801
|
-
};
|
1802
|
-
export declare const ServerInfo: {
|
1803
|
-
encode(message: ServerInfo, writer?: _m0.Writer): _m0.Writer;
|
1804
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ServerInfo;
|
1805
|
-
fromJSON(object: any): ServerInfo;
|
1806
|
-
toJSON(message: ServerInfo): unknown;
|
1807
|
-
create<I extends {
|
1808
|
-
edition?: ServerInfo_Edition | undefined;
|
1809
|
-
version?: string | undefined;
|
1810
|
-
protocol?: number | undefined;
|
1811
|
-
region?: string | undefined;
|
1812
|
-
nodeId?: string | undefined;
|
1813
|
-
debugInfo?: string | undefined;
|
1814
|
-
} & {
|
1815
|
-
edition?: ServerInfo_Edition | undefined;
|
1816
|
-
version?: string | undefined;
|
1817
|
-
protocol?: number | undefined;
|
1818
|
-
region?: string | undefined;
|
1819
|
-
nodeId?: string | undefined;
|
1820
|
-
debugInfo?: string | undefined;
|
1821
|
-
} & { [K in Exclude<keyof I, keyof ServerInfo>]: never; }>(base?: I | undefined): ServerInfo;
|
1822
|
-
fromPartial<I_1 extends {
|
1823
|
-
edition?: ServerInfo_Edition | undefined;
|
1824
|
-
version?: string | undefined;
|
1825
|
-
protocol?: number | undefined;
|
1826
|
-
region?: string | undefined;
|
1827
|
-
nodeId?: string | undefined;
|
1828
|
-
debugInfo?: string | undefined;
|
1829
|
-
} & {
|
1830
|
-
edition?: ServerInfo_Edition | undefined;
|
1831
|
-
version?: string | undefined;
|
1832
|
-
protocol?: number | undefined;
|
1833
|
-
region?: string | undefined;
|
1834
|
-
nodeId?: string | undefined;
|
1835
|
-
debugInfo?: string | undefined;
|
1836
|
-
} & { [K_1 in Exclude<keyof I_1, keyof ServerInfo>]: never; }>(object: I_1): ServerInfo;
|
1837
|
-
};
|
1838
|
-
export declare const ClientInfo: {
|
1839
|
-
encode(message: ClientInfo, writer?: _m0.Writer): _m0.Writer;
|
1840
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ClientInfo;
|
1841
|
-
fromJSON(object: any): ClientInfo;
|
1842
|
-
toJSON(message: ClientInfo): unknown;
|
1843
|
-
create<I extends {
|
1844
|
-
sdk?: ClientInfo_SDK | undefined;
|
1845
|
-
version?: string | undefined;
|
1846
|
-
protocol?: number | undefined;
|
1847
|
-
os?: string | undefined;
|
1848
|
-
osVersion?: string | undefined;
|
1849
|
-
deviceModel?: string | undefined;
|
1850
|
-
browser?: string | undefined;
|
1851
|
-
browserVersion?: string | undefined;
|
1852
|
-
address?: string | undefined;
|
1853
|
-
network?: string | undefined;
|
1854
|
-
} & {
|
1855
|
-
sdk?: ClientInfo_SDK | undefined;
|
1856
|
-
version?: string | undefined;
|
1857
|
-
protocol?: number | undefined;
|
1858
|
-
os?: string | undefined;
|
1859
|
-
osVersion?: string | undefined;
|
1860
|
-
deviceModel?: string | undefined;
|
1861
|
-
browser?: string | undefined;
|
1862
|
-
browserVersion?: string | undefined;
|
1863
|
-
address?: string | undefined;
|
1864
|
-
network?: string | undefined;
|
1865
|
-
} & { [K in Exclude<keyof I, keyof ClientInfo>]: never; }>(base?: I | undefined): ClientInfo;
|
1866
|
-
fromPartial<I_1 extends {
|
1867
|
-
sdk?: ClientInfo_SDK | undefined;
|
1868
|
-
version?: string | undefined;
|
1869
|
-
protocol?: number | undefined;
|
1870
|
-
os?: string | undefined;
|
1871
|
-
osVersion?: string | undefined;
|
1872
|
-
deviceModel?: string | undefined;
|
1873
|
-
browser?: string | undefined;
|
1874
|
-
browserVersion?: string | undefined;
|
1875
|
-
address?: string | undefined;
|
1876
|
-
network?: string | undefined;
|
1877
|
-
} & {
|
1878
|
-
sdk?: ClientInfo_SDK | undefined;
|
1879
|
-
version?: string | undefined;
|
1880
|
-
protocol?: number | undefined;
|
1881
|
-
os?: string | undefined;
|
1882
|
-
osVersion?: string | undefined;
|
1883
|
-
deviceModel?: string | undefined;
|
1884
|
-
browser?: string | undefined;
|
1885
|
-
browserVersion?: string | undefined;
|
1886
|
-
address?: string | undefined;
|
1887
|
-
network?: string | undefined;
|
1888
|
-
} & { [K_1 in Exclude<keyof I_1, keyof ClientInfo>]: never; }>(object: I_1): ClientInfo;
|
1889
|
-
};
|
1890
|
-
export declare const ClientConfiguration: {
|
1891
|
-
encode(message: ClientConfiguration, writer?: _m0.Writer): _m0.Writer;
|
1892
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ClientConfiguration;
|
1893
|
-
fromJSON(object: any): ClientConfiguration;
|
1894
|
-
toJSON(message: ClientConfiguration): unknown;
|
1895
|
-
create<I extends {
|
1896
|
-
video?: {
|
1897
|
-
hardwareEncoder?: ClientConfigSetting | undefined;
|
1898
|
-
} | undefined;
|
1899
|
-
screen?: {
|
1900
|
-
hardwareEncoder?: ClientConfigSetting | undefined;
|
1901
|
-
} | undefined;
|
1902
|
-
resumeConnection?: ClientConfigSetting | undefined;
|
1903
|
-
disabledCodecs?: {
|
1904
|
-
codecs?: {
|
1905
|
-
mime?: string | undefined;
|
1906
|
-
fmtpLine?: string | undefined;
|
1907
|
-
}[] | undefined;
|
1908
|
-
} | undefined;
|
1909
|
-
forceRelay?: ClientConfigSetting | undefined;
|
1910
|
-
} & {
|
1911
|
-
video?: ({
|
1912
|
-
hardwareEncoder?: ClientConfigSetting | undefined;
|
1913
|
-
} & {
|
1914
|
-
hardwareEncoder?: ClientConfigSetting | undefined;
|
1915
|
-
} & { [K in Exclude<keyof I["video"], "hardwareEncoder">]: never; }) | undefined;
|
1916
|
-
screen?: ({
|
1917
|
-
hardwareEncoder?: ClientConfigSetting | undefined;
|
1918
|
-
} & {
|
1919
|
-
hardwareEncoder?: ClientConfigSetting | undefined;
|
1920
|
-
} & { [K_1 in Exclude<keyof I["screen"], "hardwareEncoder">]: never; }) | undefined;
|
1921
|
-
resumeConnection?: ClientConfigSetting | undefined;
|
1922
|
-
disabledCodecs?: ({
|
1923
|
-
codecs?: {
|
1924
|
-
mime?: string | undefined;
|
1925
|
-
fmtpLine?: string | undefined;
|
1926
|
-
}[] | undefined;
|
1927
|
-
} & {
|
1928
|
-
codecs?: ({
|
1929
|
-
mime?: string | undefined;
|
1930
|
-
fmtpLine?: string | undefined;
|
1931
|
-
}[] & ({
|
1932
|
-
mime?: string | undefined;
|
1933
|
-
fmtpLine?: string | undefined;
|
1934
|
-
} & {
|
1935
|
-
mime?: string | undefined;
|
1936
|
-
fmtpLine?: string | undefined;
|
1937
|
-
} & { [K_2 in Exclude<keyof I["disabledCodecs"]["codecs"][number], keyof Codec>]: never; })[] & { [K_3 in Exclude<keyof I["disabledCodecs"]["codecs"], keyof {
|
1938
|
-
mime?: string | undefined;
|
1939
|
-
fmtpLine?: string | undefined;
|
1940
|
-
}[]>]: never; }) | undefined;
|
1941
|
-
} & { [K_4 in Exclude<keyof I["disabledCodecs"], "codecs">]: never; }) | undefined;
|
1942
|
-
forceRelay?: ClientConfigSetting | undefined;
|
1943
|
-
} & { [K_5 in Exclude<keyof I, keyof ClientConfiguration>]: never; }>(base?: I | undefined): ClientConfiguration;
|
1944
|
-
fromPartial<I_1 extends {
|
1945
|
-
video?: {
|
1946
|
-
hardwareEncoder?: ClientConfigSetting | undefined;
|
1947
|
-
} | undefined;
|
1948
|
-
screen?: {
|
1949
|
-
hardwareEncoder?: ClientConfigSetting | undefined;
|
1950
|
-
} | undefined;
|
1951
|
-
resumeConnection?: ClientConfigSetting | undefined;
|
1952
|
-
disabledCodecs?: {
|
1953
|
-
codecs?: {
|
1954
|
-
mime?: string | undefined;
|
1955
|
-
fmtpLine?: string | undefined;
|
1956
|
-
}[] | undefined;
|
1957
|
-
} | undefined;
|
1958
|
-
forceRelay?: ClientConfigSetting | undefined;
|
1959
|
-
} & {
|
1960
|
-
video?: ({
|
1961
|
-
hardwareEncoder?: ClientConfigSetting | undefined;
|
1962
|
-
} & {
|
1963
|
-
hardwareEncoder?: ClientConfigSetting | undefined;
|
1964
|
-
} & { [K_6 in Exclude<keyof I_1["video"], "hardwareEncoder">]: never; }) | undefined;
|
1965
|
-
screen?: ({
|
1966
|
-
hardwareEncoder?: ClientConfigSetting | undefined;
|
1967
|
-
} & {
|
1968
|
-
hardwareEncoder?: ClientConfigSetting | undefined;
|
1969
|
-
} & { [K_7 in Exclude<keyof I_1["screen"], "hardwareEncoder">]: never; }) | undefined;
|
1970
|
-
resumeConnection?: ClientConfigSetting | undefined;
|
1971
|
-
disabledCodecs?: ({
|
1972
|
-
codecs?: {
|
1973
|
-
mime?: string | undefined;
|
1974
|
-
fmtpLine?: string | undefined;
|
1975
|
-
}[] | undefined;
|
1976
|
-
} & {
|
1977
|
-
codecs?: ({
|
1978
|
-
mime?: string | undefined;
|
1979
|
-
fmtpLine?: string | undefined;
|
1980
|
-
}[] & ({
|
1981
|
-
mime?: string | undefined;
|
1982
|
-
fmtpLine?: string | undefined;
|
1983
|
-
} & {
|
1984
|
-
mime?: string | undefined;
|
1985
|
-
fmtpLine?: string | undefined;
|
1986
|
-
} & { [K_8 in Exclude<keyof I_1["disabledCodecs"]["codecs"][number], keyof Codec>]: never; })[] & { [K_9 in Exclude<keyof I_1["disabledCodecs"]["codecs"], keyof {
|
1987
|
-
mime?: string | undefined;
|
1988
|
-
fmtpLine?: string | undefined;
|
1989
|
-
}[]>]: never; }) | undefined;
|
1990
|
-
} & { [K_10 in Exclude<keyof I_1["disabledCodecs"], "codecs">]: never; }) | undefined;
|
1991
|
-
forceRelay?: ClientConfigSetting | undefined;
|
1992
|
-
} & { [K_11 in Exclude<keyof I_1, keyof ClientConfiguration>]: never; }>(object: I_1): ClientConfiguration;
|
1993
|
-
};
|
1994
|
-
export declare const VideoConfiguration: {
|
1995
|
-
encode(message: VideoConfiguration, writer?: _m0.Writer): _m0.Writer;
|
1996
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): VideoConfiguration;
|
1997
|
-
fromJSON(object: any): VideoConfiguration;
|
1998
|
-
toJSON(message: VideoConfiguration): unknown;
|
1999
|
-
create<I extends {
|
2000
|
-
hardwareEncoder?: ClientConfigSetting | undefined;
|
2001
|
-
} & {
|
2002
|
-
hardwareEncoder?: ClientConfigSetting | undefined;
|
2003
|
-
} & { [K in Exclude<keyof I, "hardwareEncoder">]: never; }>(base?: I | undefined): VideoConfiguration;
|
2004
|
-
fromPartial<I_1 extends {
|
2005
|
-
hardwareEncoder?: ClientConfigSetting | undefined;
|
2006
|
-
} & {
|
2007
|
-
hardwareEncoder?: ClientConfigSetting | undefined;
|
2008
|
-
} & { [K_1 in Exclude<keyof I_1, "hardwareEncoder">]: never; }>(object: I_1): VideoConfiguration;
|
2009
|
-
};
|
2010
|
-
export declare const DisabledCodecs: {
|
2011
|
-
encode(message: DisabledCodecs, writer?: _m0.Writer): _m0.Writer;
|
2012
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): DisabledCodecs;
|
2013
|
-
fromJSON(object: any): DisabledCodecs;
|
2014
|
-
toJSON(message: DisabledCodecs): unknown;
|
2015
|
-
create<I extends {
|
2016
|
-
codecs?: {
|
2017
|
-
mime?: string | undefined;
|
2018
|
-
fmtpLine?: string | undefined;
|
2019
|
-
}[] | undefined;
|
2020
|
-
} & {
|
2021
|
-
codecs?: ({
|
2022
|
-
mime?: string | undefined;
|
2023
|
-
fmtpLine?: string | undefined;
|
2024
|
-
}[] & ({
|
2025
|
-
mime?: string | undefined;
|
2026
|
-
fmtpLine?: string | undefined;
|
2027
|
-
} & {
|
2028
|
-
mime?: string | undefined;
|
2029
|
-
fmtpLine?: string | undefined;
|
2030
|
-
} & { [K in Exclude<keyof I["codecs"][number], keyof Codec>]: never; })[] & { [K_1 in Exclude<keyof I["codecs"], keyof {
|
2031
|
-
mime?: string | undefined;
|
2032
|
-
fmtpLine?: string | undefined;
|
2033
|
-
}[]>]: never; }) | undefined;
|
2034
|
-
} & { [K_2 in Exclude<keyof I, "codecs">]: never; }>(base?: I | undefined): DisabledCodecs;
|
2035
|
-
fromPartial<I_1 extends {
|
2036
|
-
codecs?: {
|
2037
|
-
mime?: string | undefined;
|
2038
|
-
fmtpLine?: string | undefined;
|
2039
|
-
}[] | undefined;
|
2040
|
-
} & {
|
2041
|
-
codecs?: ({
|
2042
|
-
mime?: string | undefined;
|
2043
|
-
fmtpLine?: string | undefined;
|
2044
|
-
}[] & ({
|
2045
|
-
mime?: string | undefined;
|
2046
|
-
fmtpLine?: string | undefined;
|
2047
|
-
} & {
|
2048
|
-
mime?: string | undefined;
|
2049
|
-
fmtpLine?: string | undefined;
|
2050
|
-
} & { [K_3 in Exclude<keyof I_1["codecs"][number], keyof Codec>]: never; })[] & { [K_4 in Exclude<keyof I_1["codecs"], keyof {
|
2051
|
-
mime?: string | undefined;
|
2052
|
-
fmtpLine?: string | undefined;
|
2053
|
-
}[]>]: never; }) | undefined;
|
2054
|
-
} & { [K_5 in Exclude<keyof I_1, "codecs">]: never; }>(object: I_1): DisabledCodecs;
|
2055
|
-
};
|
2056
|
-
export declare const RTPStats: {
|
2057
|
-
encode(message: RTPStats, writer?: _m0.Writer): _m0.Writer;
|
2058
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RTPStats;
|
2059
|
-
fromJSON(object: any): RTPStats;
|
2060
|
-
toJSON(message: RTPStats): unknown;
|
2061
|
-
create<I extends {
|
2062
|
-
startTime?: Date | undefined;
|
2063
|
-
endTime?: Date | undefined;
|
2064
|
-
duration?: number | undefined;
|
2065
|
-
packets?: number | undefined;
|
2066
|
-
packetRate?: number | undefined;
|
2067
|
-
bytes?: number | undefined;
|
2068
|
-
headerBytes?: number | undefined;
|
2069
|
-
bitrate?: number | undefined;
|
2070
|
-
packetsLost?: number | undefined;
|
2071
|
-
packetLossRate?: number | undefined;
|
2072
|
-
packetLossPercentage?: number | undefined;
|
2073
|
-
packetsDuplicate?: number | undefined;
|
2074
|
-
packetDuplicateRate?: number | undefined;
|
2075
|
-
bytesDuplicate?: number | undefined;
|
2076
|
-
headerBytesDuplicate?: number | undefined;
|
2077
|
-
bitrateDuplicate?: number | undefined;
|
2078
|
-
packetsPadding?: number | undefined;
|
2079
|
-
packetPaddingRate?: number | undefined;
|
2080
|
-
bytesPadding?: number | undefined;
|
2081
|
-
headerBytesPadding?: number | undefined;
|
2082
|
-
bitratePadding?: number | undefined;
|
2083
|
-
packetsOutOfOrder?: number | undefined;
|
2084
|
-
frames?: number | undefined;
|
2085
|
-
frameRate?: number | undefined;
|
2086
|
-
jitterCurrent?: number | undefined;
|
2087
|
-
jitterMax?: number | undefined;
|
2088
|
-
gapHistogram?: {
|
2089
|
-
[x: number]: number | undefined;
|
2090
|
-
} | undefined;
|
2091
|
-
nacks?: number | undefined;
|
2092
|
-
nackAcks?: number | undefined;
|
2093
|
-
nackMisses?: number | undefined;
|
2094
|
-
nackRepeated?: number | undefined;
|
2095
|
-
plis?: number | undefined;
|
2096
|
-
lastPli?: Date | undefined;
|
2097
|
-
firs?: number | undefined;
|
2098
|
-
lastFir?: Date | undefined;
|
2099
|
-
rttCurrent?: number | undefined;
|
2100
|
-
rttMax?: number | undefined;
|
2101
|
-
keyFrames?: number | undefined;
|
2102
|
-
lastKeyFrame?: Date | undefined;
|
2103
|
-
layerLockPlis?: number | undefined;
|
2104
|
-
lastLayerLockPli?: Date | undefined;
|
2105
|
-
} & {
|
2106
|
-
startTime?: Date | undefined;
|
2107
|
-
endTime?: Date | undefined;
|
2108
|
-
duration?: number | undefined;
|
2109
|
-
packets?: number | undefined;
|
2110
|
-
packetRate?: number | undefined;
|
2111
|
-
bytes?: number | undefined;
|
2112
|
-
headerBytes?: number | undefined;
|
2113
|
-
bitrate?: number | undefined;
|
2114
|
-
packetsLost?: number | undefined;
|
2115
|
-
packetLossRate?: number | undefined;
|
2116
|
-
packetLossPercentage?: number | undefined;
|
2117
|
-
packetsDuplicate?: number | undefined;
|
2118
|
-
packetDuplicateRate?: number | undefined;
|
2119
|
-
bytesDuplicate?: number | undefined;
|
2120
|
-
headerBytesDuplicate?: number | undefined;
|
2121
|
-
bitrateDuplicate?: number | undefined;
|
2122
|
-
packetsPadding?: number | undefined;
|
2123
|
-
packetPaddingRate?: number | undefined;
|
2124
|
-
bytesPadding?: number | undefined;
|
2125
|
-
headerBytesPadding?: number | undefined;
|
2126
|
-
bitratePadding?: number | undefined;
|
2127
|
-
packetsOutOfOrder?: number | undefined;
|
2128
|
-
frames?: number | undefined;
|
2129
|
-
frameRate?: number | undefined;
|
2130
|
-
jitterCurrent?: number | undefined;
|
2131
|
-
jitterMax?: number | undefined;
|
2132
|
-
gapHistogram?: ({
|
2133
|
-
[x: number]: number | undefined;
|
2134
|
-
} & {
|
2135
|
-
[x: number]: number | undefined;
|
2136
|
-
} & { [K in Exclude<keyof I["gapHistogram"], number>]: never; }) | undefined;
|
2137
|
-
nacks?: number | undefined;
|
2138
|
-
nackAcks?: number | undefined;
|
2139
|
-
nackMisses?: number | undefined;
|
2140
|
-
nackRepeated?: number | undefined;
|
2141
|
-
plis?: number | undefined;
|
2142
|
-
lastPli?: Date | undefined;
|
2143
|
-
firs?: number | undefined;
|
2144
|
-
lastFir?: Date | undefined;
|
2145
|
-
rttCurrent?: number | undefined;
|
2146
|
-
rttMax?: number | undefined;
|
2147
|
-
keyFrames?: number | undefined;
|
2148
|
-
lastKeyFrame?: Date | undefined;
|
2149
|
-
layerLockPlis?: number | undefined;
|
2150
|
-
lastLayerLockPli?: Date | undefined;
|
2151
|
-
} & { [K_1 in Exclude<keyof I, keyof RTPStats>]: never; }>(base?: I | undefined): RTPStats;
|
2152
|
-
fromPartial<I_1 extends {
|
2153
|
-
startTime?: Date | undefined;
|
2154
|
-
endTime?: Date | undefined;
|
2155
|
-
duration?: number | undefined;
|
2156
|
-
packets?: number | undefined;
|
2157
|
-
packetRate?: number | undefined;
|
2158
|
-
bytes?: number | undefined;
|
2159
|
-
headerBytes?: number | undefined;
|
2160
|
-
bitrate?: number | undefined;
|
2161
|
-
packetsLost?: number | undefined;
|
2162
|
-
packetLossRate?: number | undefined;
|
2163
|
-
packetLossPercentage?: number | undefined;
|
2164
|
-
packetsDuplicate?: number | undefined;
|
2165
|
-
packetDuplicateRate?: number | undefined;
|
2166
|
-
bytesDuplicate?: number | undefined;
|
2167
|
-
headerBytesDuplicate?: number | undefined;
|
2168
|
-
bitrateDuplicate?: number | undefined;
|
2169
|
-
packetsPadding?: number | undefined;
|
2170
|
-
packetPaddingRate?: number | undefined;
|
2171
|
-
bytesPadding?: number | undefined;
|
2172
|
-
headerBytesPadding?: number | undefined;
|
2173
|
-
bitratePadding?: number | undefined;
|
2174
|
-
packetsOutOfOrder?: number | undefined;
|
2175
|
-
frames?: number | undefined;
|
2176
|
-
frameRate?: number | undefined;
|
2177
|
-
jitterCurrent?: number | undefined;
|
2178
|
-
jitterMax?: number | undefined;
|
2179
|
-
gapHistogram?: {
|
2180
|
-
[x: number]: number | undefined;
|
2181
|
-
} | undefined;
|
2182
|
-
nacks?: number | undefined;
|
2183
|
-
nackAcks?: number | undefined;
|
2184
|
-
nackMisses?: number | undefined;
|
2185
|
-
nackRepeated?: number | undefined;
|
2186
|
-
plis?: number | undefined;
|
2187
|
-
lastPli?: Date | undefined;
|
2188
|
-
firs?: number | undefined;
|
2189
|
-
lastFir?: Date | undefined;
|
2190
|
-
rttCurrent?: number | undefined;
|
2191
|
-
rttMax?: number | undefined;
|
2192
|
-
keyFrames?: number | undefined;
|
2193
|
-
lastKeyFrame?: Date | undefined;
|
2194
|
-
layerLockPlis?: number | undefined;
|
2195
|
-
lastLayerLockPli?: Date | undefined;
|
2196
|
-
} & {
|
2197
|
-
startTime?: Date | undefined;
|
2198
|
-
endTime?: Date | undefined;
|
2199
|
-
duration?: number | undefined;
|
2200
|
-
packets?: number | undefined;
|
2201
|
-
packetRate?: number | undefined;
|
2202
|
-
bytes?: number | undefined;
|
2203
|
-
headerBytes?: number | undefined;
|
2204
|
-
bitrate?: number | undefined;
|
2205
|
-
packetsLost?: number | undefined;
|
2206
|
-
packetLossRate?: number | undefined;
|
2207
|
-
packetLossPercentage?: number | undefined;
|
2208
|
-
packetsDuplicate?: number | undefined;
|
2209
|
-
packetDuplicateRate?: number | undefined;
|
2210
|
-
bytesDuplicate?: number | undefined;
|
2211
|
-
headerBytesDuplicate?: number | undefined;
|
2212
|
-
bitrateDuplicate?: number | undefined;
|
2213
|
-
packetsPadding?: number | undefined;
|
2214
|
-
packetPaddingRate?: number | undefined;
|
2215
|
-
bytesPadding?: number | undefined;
|
2216
|
-
headerBytesPadding?: number | undefined;
|
2217
|
-
bitratePadding?: number | undefined;
|
2218
|
-
packetsOutOfOrder?: number | undefined;
|
2219
|
-
frames?: number | undefined;
|
2220
|
-
frameRate?: number | undefined;
|
2221
|
-
jitterCurrent?: number | undefined;
|
2222
|
-
jitterMax?: number | undefined;
|
2223
|
-
gapHistogram?: ({
|
2224
|
-
[x: number]: number | undefined;
|
2225
|
-
} & {
|
2226
|
-
[x: number]: number | undefined;
|
2227
|
-
} & { [K_2 in Exclude<keyof I_1["gapHistogram"], number>]: never; }) | undefined;
|
2228
|
-
nacks?: number | undefined;
|
2229
|
-
nackAcks?: number | undefined;
|
2230
|
-
nackMisses?: number | undefined;
|
2231
|
-
nackRepeated?: number | undefined;
|
2232
|
-
plis?: number | undefined;
|
2233
|
-
lastPli?: Date | undefined;
|
2234
|
-
firs?: number | undefined;
|
2235
|
-
lastFir?: Date | undefined;
|
2236
|
-
rttCurrent?: number | undefined;
|
2237
|
-
rttMax?: number | undefined;
|
2238
|
-
keyFrames?: number | undefined;
|
2239
|
-
lastKeyFrame?: Date | undefined;
|
2240
|
-
layerLockPlis?: number | undefined;
|
2241
|
-
lastLayerLockPli?: Date | undefined;
|
2242
|
-
} & { [K_3 in Exclude<keyof I_1, keyof RTPStats>]: never; }>(object: I_1): RTPStats;
|
2243
|
-
};
|
2244
|
-
export declare const RTPStats_GapHistogramEntry: {
|
2245
|
-
encode(message: RTPStats_GapHistogramEntry, writer?: _m0.Writer): _m0.Writer;
|
2246
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RTPStats_GapHistogramEntry;
|
2247
|
-
fromJSON(object: any): RTPStats_GapHistogramEntry;
|
2248
|
-
toJSON(message: RTPStats_GapHistogramEntry): unknown;
|
2249
|
-
create<I extends {
|
2250
|
-
key?: number | undefined;
|
2251
|
-
value?: number | undefined;
|
2252
|
-
} & {
|
2253
|
-
key?: number | undefined;
|
2254
|
-
value?: number | undefined;
|
2255
|
-
} & { [K in Exclude<keyof I, keyof RTPStats_GapHistogramEntry>]: never; }>(base?: I | undefined): RTPStats_GapHistogramEntry;
|
2256
|
-
fromPartial<I_1 extends {
|
2257
|
-
key?: number | undefined;
|
2258
|
-
value?: number | undefined;
|
2259
|
-
} & {
|
2260
|
-
key?: number | undefined;
|
2261
|
-
value?: number | undefined;
|
2262
|
-
} & { [K_1 in Exclude<keyof I_1, keyof RTPStats_GapHistogramEntry>]: never; }>(object: I_1): RTPStats_GapHistogramEntry;
|
2263
|
-
};
|
2264
|
-
export declare const TimedVersion: {
|
2265
|
-
encode(message: TimedVersion, writer?: _m0.Writer): _m0.Writer;
|
2266
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): TimedVersion;
|
2267
|
-
fromJSON(object: any): TimedVersion;
|
2268
|
-
toJSON(message: TimedVersion): unknown;
|
2269
|
-
create<I extends {
|
2270
|
-
unixMicro?: number | undefined;
|
2271
|
-
ticks?: number | undefined;
|
2272
|
-
} & {
|
2273
|
-
unixMicro?: number | undefined;
|
2274
|
-
ticks?: number | undefined;
|
2275
|
-
} & { [K in Exclude<keyof I, keyof TimedVersion>]: never; }>(base?: I | undefined): TimedVersion;
|
2276
|
-
fromPartial<I_1 extends {
|
2277
|
-
unixMicro?: number | undefined;
|
2278
|
-
ticks?: number | undefined;
|
2279
|
-
} & {
|
2280
|
-
unixMicro?: number | undefined;
|
2281
|
-
ticks?: number | undefined;
|
2282
|
-
} & { [K_1 in Exclude<keyof I_1, keyof TimedVersion>]: never; }>(object: I_1): TimedVersion;
|
2283
|
-
};
|
2284
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
2285
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
2286
|
-
$case: string;
|
2287
|
-
} ? {
|
2288
|
-
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
2289
|
-
} & {
|
2290
|
-
$case: T["$case"];
|
2291
|
-
} : T extends {} ? {
|
2292
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
2293
|
-
} : Partial<T>;
|
2294
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
2295
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
2296
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
2297
|
-
} & {
|
2298
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
2299
|
-
};
|
2300
|
-
export {};
|
1
|
+
import _m0 from "protobufjs/minimal";
|
2
|
+
export declare const protobufPackage = "livekit";
|
3
|
+
export declare enum AudioCodec {
|
4
|
+
DEFAULT_AC = 0,
|
5
|
+
OPUS = 1,
|
6
|
+
AAC = 2,
|
7
|
+
UNRECOGNIZED = -1
|
8
|
+
}
|
9
|
+
export declare function audioCodecFromJSON(object: any): AudioCodec;
|
10
|
+
export declare function audioCodecToJSON(object: AudioCodec): string;
|
11
|
+
export declare enum VideoCodec {
|
12
|
+
DEFAULT_VC = 0,
|
13
|
+
H264_BASELINE = 1,
|
14
|
+
H264_MAIN = 2,
|
15
|
+
H264_HIGH = 3,
|
16
|
+
VP8 = 4,
|
17
|
+
UNRECOGNIZED = -1
|
18
|
+
}
|
19
|
+
export declare function videoCodecFromJSON(object: any): VideoCodec;
|
20
|
+
export declare function videoCodecToJSON(object: VideoCodec): string;
|
21
|
+
export declare enum TrackType {
|
22
|
+
AUDIO = 0,
|
23
|
+
VIDEO = 1,
|
24
|
+
DATA = 2,
|
25
|
+
UNRECOGNIZED = -1
|
26
|
+
}
|
27
|
+
export declare function trackTypeFromJSON(object: any): TrackType;
|
28
|
+
export declare function trackTypeToJSON(object: TrackType): string;
|
29
|
+
export declare enum TrackSource {
|
30
|
+
UNKNOWN = 0,
|
31
|
+
CAMERA = 1,
|
32
|
+
MICROPHONE = 2,
|
33
|
+
SCREEN_SHARE = 3,
|
34
|
+
SCREEN_SHARE_AUDIO = 4,
|
35
|
+
UNRECOGNIZED = -1
|
36
|
+
}
|
37
|
+
export declare function trackSourceFromJSON(object: any): TrackSource;
|
38
|
+
export declare function trackSourceToJSON(object: TrackSource): string;
|
39
|
+
export declare enum VideoQuality {
|
40
|
+
LOW = 0,
|
41
|
+
MEDIUM = 1,
|
42
|
+
HIGH = 2,
|
43
|
+
OFF = 3,
|
44
|
+
UNRECOGNIZED = -1
|
45
|
+
}
|
46
|
+
export declare function videoQualityFromJSON(object: any): VideoQuality;
|
47
|
+
export declare function videoQualityToJSON(object: VideoQuality): string;
|
48
|
+
export declare enum ConnectionQuality {
|
49
|
+
POOR = 0,
|
50
|
+
GOOD = 1,
|
51
|
+
EXCELLENT = 2,
|
52
|
+
UNRECOGNIZED = -1
|
53
|
+
}
|
54
|
+
export declare function connectionQualityFromJSON(object: any): ConnectionQuality;
|
55
|
+
export declare function connectionQualityToJSON(object: ConnectionQuality): string;
|
56
|
+
export declare enum ClientConfigSetting {
|
57
|
+
UNSET = 0,
|
58
|
+
DISABLED = 1,
|
59
|
+
ENABLED = 2,
|
60
|
+
UNRECOGNIZED = -1
|
61
|
+
}
|
62
|
+
export declare function clientConfigSettingFromJSON(object: any): ClientConfigSetting;
|
63
|
+
export declare function clientConfigSettingToJSON(object: ClientConfigSetting): string;
|
64
|
+
export declare enum DisconnectReason {
|
65
|
+
UNKNOWN_REASON = 0,
|
66
|
+
CLIENT_INITIATED = 1,
|
67
|
+
DUPLICATE_IDENTITY = 2,
|
68
|
+
SERVER_SHUTDOWN = 3,
|
69
|
+
PARTICIPANT_REMOVED = 4,
|
70
|
+
ROOM_DELETED = 5,
|
71
|
+
STATE_MISMATCH = 6,
|
72
|
+
JOIN_FAILURE = 7,
|
73
|
+
UNRECOGNIZED = -1
|
74
|
+
}
|
75
|
+
export declare function disconnectReasonFromJSON(object: any): DisconnectReason;
|
76
|
+
export declare function disconnectReasonToJSON(object: DisconnectReason): string;
|
77
|
+
export declare enum ReconnectReason {
|
78
|
+
RR_UNKOWN = 0,
|
79
|
+
RR_SIGNAL_DISCONNECTED = 1,
|
80
|
+
RR_PUBLISHER_FAILED = 2,
|
81
|
+
RR_SUBSCRIBER_FAILED = 3,
|
82
|
+
RR_SWITCH_CANDIDATE = 4,
|
83
|
+
UNRECOGNIZED = -1
|
84
|
+
}
|
85
|
+
export declare function reconnectReasonFromJSON(object: any): ReconnectReason;
|
86
|
+
export declare function reconnectReasonToJSON(object: ReconnectReason): string;
|
87
|
+
export interface Room {
|
88
|
+
sid: string;
|
89
|
+
name: string;
|
90
|
+
emptyTimeout: number;
|
91
|
+
maxParticipants: number;
|
92
|
+
creationTime: number;
|
93
|
+
turnPassword: string;
|
94
|
+
enabledCodecs: Codec[];
|
95
|
+
metadata: string;
|
96
|
+
numParticipants: number;
|
97
|
+
numPublishers: number;
|
98
|
+
activeRecording: boolean;
|
99
|
+
}
|
100
|
+
export interface Codec {
|
101
|
+
mime: string;
|
102
|
+
fmtpLine: string;
|
103
|
+
}
|
104
|
+
export interface ParticipantPermission {
|
105
|
+
/** allow participant to subscribe to other tracks in the room */
|
106
|
+
canSubscribe: boolean;
|
107
|
+
/** allow participant to publish new tracks to room */
|
108
|
+
canPublish: boolean;
|
109
|
+
/** allow participant to publish data */
|
110
|
+
canPublishData: boolean;
|
111
|
+
/** sources that are allowed to be published */
|
112
|
+
canPublishSources: TrackSource[];
|
113
|
+
/** indicates that it's hidden to others */
|
114
|
+
hidden: boolean;
|
115
|
+
/** indicates it's a recorder instance */
|
116
|
+
recorder: boolean;
|
117
|
+
/** indicates that participant can update own metadata */
|
118
|
+
canUpdateMetadata: boolean;
|
119
|
+
}
|
120
|
+
export interface ParticipantInfo {
|
121
|
+
sid: string;
|
122
|
+
identity: string;
|
123
|
+
state: ParticipantInfo_State;
|
124
|
+
tracks: TrackInfo[];
|
125
|
+
metadata: string;
|
126
|
+
/** timestamp when participant joined room, in seconds */
|
127
|
+
joinedAt: number;
|
128
|
+
name: string;
|
129
|
+
version: number;
|
130
|
+
permission?: ParticipantPermission;
|
131
|
+
region: string;
|
132
|
+
/**
|
133
|
+
* indicates the participant has an active publisher connection
|
134
|
+
* and can publish to the server
|
135
|
+
*/
|
136
|
+
isPublisher: boolean;
|
137
|
+
}
|
138
|
+
export declare enum ParticipantInfo_State {
|
139
|
+
/** JOINING - websocket' connected, but not offered yet */
|
140
|
+
JOINING = 0,
|
141
|
+
/** JOINED - server received client offer */
|
142
|
+
JOINED = 1,
|
143
|
+
/** ACTIVE - ICE connectivity established */
|
144
|
+
ACTIVE = 2,
|
145
|
+
/** DISCONNECTED - WS disconnected */
|
146
|
+
DISCONNECTED = 3,
|
147
|
+
UNRECOGNIZED = -1
|
148
|
+
}
|
149
|
+
export declare function participantInfo_StateFromJSON(object: any): ParticipantInfo_State;
|
150
|
+
export declare function participantInfo_StateToJSON(object: ParticipantInfo_State): string;
|
151
|
+
export interface Encryption {
|
152
|
+
}
|
153
|
+
export declare enum Encryption_Type {
|
154
|
+
NONE = 0,
|
155
|
+
GCM = 1,
|
156
|
+
CUSTOM = 2,
|
157
|
+
UNRECOGNIZED = -1
|
158
|
+
}
|
159
|
+
export declare function encryption_TypeFromJSON(object: any): Encryption_Type;
|
160
|
+
export declare function encryption_TypeToJSON(object: Encryption_Type): string;
|
161
|
+
export interface SimulcastCodecInfo {
|
162
|
+
mimeType: string;
|
163
|
+
mid: string;
|
164
|
+
cid: string;
|
165
|
+
layers: VideoLayer[];
|
166
|
+
}
|
167
|
+
export interface TrackInfo {
|
168
|
+
sid: string;
|
169
|
+
type: TrackType;
|
170
|
+
name: string;
|
171
|
+
muted: boolean;
|
172
|
+
/**
|
173
|
+
* original width of video (unset for audio)
|
174
|
+
* clients may receive a lower resolution version with simulcast
|
175
|
+
*/
|
176
|
+
width: number;
|
177
|
+
/** original height of video (unset for audio) */
|
178
|
+
height: number;
|
179
|
+
/** true if track is simulcasted */
|
180
|
+
simulcast: boolean;
|
181
|
+
/** true if DTX (Discontinuous Transmission) is disabled for audio */
|
182
|
+
disableDtx: boolean;
|
183
|
+
/** source of media */
|
184
|
+
source: TrackSource;
|
185
|
+
layers: VideoLayer[];
|
186
|
+
/** mime type of codec */
|
187
|
+
mimeType: string;
|
188
|
+
mid: string;
|
189
|
+
codecs: SimulcastCodecInfo[];
|
190
|
+
stereo: boolean;
|
191
|
+
/** true if RED (Redundant Encoding) is disabled for audio */
|
192
|
+
disableRed: boolean;
|
193
|
+
encryption: Encryption_Type;
|
194
|
+
}
|
195
|
+
/** provide information about available spatial layers */
|
196
|
+
export interface VideoLayer {
|
197
|
+
/** for tracks with a single layer, this should be HIGH */
|
198
|
+
quality: VideoQuality;
|
199
|
+
width: number;
|
200
|
+
height: number;
|
201
|
+
/** target bitrate in bit per second (bps), server will measure actual */
|
202
|
+
bitrate: number;
|
203
|
+
ssrc: number;
|
204
|
+
}
|
205
|
+
/** new DataPacket API */
|
206
|
+
export interface DataPacket {
|
207
|
+
kind: DataPacket_Kind;
|
208
|
+
value?: {
|
209
|
+
$case: "user";
|
210
|
+
user: UserPacket;
|
211
|
+
} | {
|
212
|
+
$case: "speaker";
|
213
|
+
speaker: ActiveSpeakerUpdate;
|
214
|
+
};
|
215
|
+
}
|
216
|
+
export declare enum DataPacket_Kind {
|
217
|
+
RELIABLE = 0,
|
218
|
+
LOSSY = 1,
|
219
|
+
UNRECOGNIZED = -1
|
220
|
+
}
|
221
|
+
export declare function dataPacket_KindFromJSON(object: any): DataPacket_Kind;
|
222
|
+
export declare function dataPacket_KindToJSON(object: DataPacket_Kind): string;
|
223
|
+
export interface ActiveSpeakerUpdate {
|
224
|
+
speakers: SpeakerInfo[];
|
225
|
+
}
|
226
|
+
export interface SpeakerInfo {
|
227
|
+
sid: string;
|
228
|
+
/** audio level, 0-1.0, 1 is loudest */
|
229
|
+
level: number;
|
230
|
+
/** true if speaker is currently active */
|
231
|
+
active: boolean;
|
232
|
+
}
|
233
|
+
export interface UserPacket {
|
234
|
+
/** participant ID of user that sent the message */
|
235
|
+
participantSid: string;
|
236
|
+
/** user defined payload */
|
237
|
+
payload: Uint8Array;
|
238
|
+
/** the ID of the participants who will receive the message (the message will be sent to all the people in the room if this variable is empty) */
|
239
|
+
destinationSids: string[];
|
240
|
+
/** topic under which the message was published */
|
241
|
+
topic?: string | undefined;
|
242
|
+
}
|
243
|
+
export interface ParticipantTracks {
|
244
|
+
/** participant ID of participant to whom the tracks belong */
|
245
|
+
participantSid: string;
|
246
|
+
trackSids: string[];
|
247
|
+
}
|
248
|
+
/** details about the server */
|
249
|
+
export interface ServerInfo {
|
250
|
+
edition: ServerInfo_Edition;
|
251
|
+
version: string;
|
252
|
+
protocol: number;
|
253
|
+
region: string;
|
254
|
+
nodeId: string;
|
255
|
+
/** additional debugging information. sent only if server is in development mode */
|
256
|
+
debugInfo: string;
|
257
|
+
}
|
258
|
+
export declare enum ServerInfo_Edition {
|
259
|
+
Standard = 0,
|
260
|
+
Cloud = 1,
|
261
|
+
UNRECOGNIZED = -1
|
262
|
+
}
|
263
|
+
export declare function serverInfo_EditionFromJSON(object: any): ServerInfo_Edition;
|
264
|
+
export declare function serverInfo_EditionToJSON(object: ServerInfo_Edition): string;
|
265
|
+
/** details about the client */
|
266
|
+
export interface ClientInfo {
|
267
|
+
sdk: ClientInfo_SDK;
|
268
|
+
version: string;
|
269
|
+
protocol: number;
|
270
|
+
os: string;
|
271
|
+
osVersion: string;
|
272
|
+
deviceModel: string;
|
273
|
+
browser: string;
|
274
|
+
browserVersion: string;
|
275
|
+
address: string;
|
276
|
+
/** wifi, wired, cellular, vpn, empty if not known */
|
277
|
+
network: string;
|
278
|
+
}
|
279
|
+
export declare enum ClientInfo_SDK {
|
280
|
+
UNKNOWN = 0,
|
281
|
+
JS = 1,
|
282
|
+
SWIFT = 2,
|
283
|
+
ANDROID = 3,
|
284
|
+
FLUTTER = 4,
|
285
|
+
GO = 5,
|
286
|
+
UNITY = 6,
|
287
|
+
REACT_NATIVE = 7,
|
288
|
+
RUST = 8,
|
289
|
+
UNRECOGNIZED = -1
|
290
|
+
}
|
291
|
+
export declare function clientInfo_SDKFromJSON(object: any): ClientInfo_SDK;
|
292
|
+
export declare function clientInfo_SDKToJSON(object: ClientInfo_SDK): string;
|
293
|
+
/** server provided client configuration */
|
294
|
+
export interface ClientConfiguration {
|
295
|
+
video?: VideoConfiguration;
|
296
|
+
screen?: VideoConfiguration;
|
297
|
+
resumeConnection: ClientConfigSetting;
|
298
|
+
disabledCodecs?: DisabledCodecs;
|
299
|
+
forceRelay: ClientConfigSetting;
|
300
|
+
}
|
301
|
+
export interface VideoConfiguration {
|
302
|
+
hardwareEncoder: ClientConfigSetting;
|
303
|
+
}
|
304
|
+
export interface DisabledCodecs {
|
305
|
+
codecs: Codec[];
|
306
|
+
}
|
307
|
+
export interface RTPStats {
|
308
|
+
startTime?: Date;
|
309
|
+
endTime?: Date;
|
310
|
+
duration: number;
|
311
|
+
packets: number;
|
312
|
+
packetRate: number;
|
313
|
+
bytes: number;
|
314
|
+
headerBytes: number;
|
315
|
+
bitrate: number;
|
316
|
+
packetsLost: number;
|
317
|
+
packetLossRate: number;
|
318
|
+
packetLossPercentage: number;
|
319
|
+
packetsDuplicate: number;
|
320
|
+
packetDuplicateRate: number;
|
321
|
+
bytesDuplicate: number;
|
322
|
+
headerBytesDuplicate: number;
|
323
|
+
bitrateDuplicate: number;
|
324
|
+
packetsPadding: number;
|
325
|
+
packetPaddingRate: number;
|
326
|
+
bytesPadding: number;
|
327
|
+
headerBytesPadding: number;
|
328
|
+
bitratePadding: number;
|
329
|
+
packetsOutOfOrder: number;
|
330
|
+
frames: number;
|
331
|
+
frameRate: number;
|
332
|
+
jitterCurrent: number;
|
333
|
+
jitterMax: number;
|
334
|
+
gapHistogram: {
|
335
|
+
[key: number]: number;
|
336
|
+
};
|
337
|
+
nacks: number;
|
338
|
+
nackAcks: number;
|
339
|
+
nackMisses: number;
|
340
|
+
nackRepeated: number;
|
341
|
+
plis: number;
|
342
|
+
lastPli?: Date;
|
343
|
+
firs: number;
|
344
|
+
lastFir?: Date;
|
345
|
+
rttCurrent: number;
|
346
|
+
rttMax: number;
|
347
|
+
keyFrames: number;
|
348
|
+
lastKeyFrame?: Date;
|
349
|
+
layerLockPlis: number;
|
350
|
+
lastLayerLockPli?: Date;
|
351
|
+
}
|
352
|
+
export interface RTPStats_GapHistogramEntry {
|
353
|
+
key: number;
|
354
|
+
value: number;
|
355
|
+
}
|
356
|
+
export interface TimedVersion {
|
357
|
+
unixMicro: number;
|
358
|
+
ticks: number;
|
359
|
+
}
|
360
|
+
export declare const Room: {
|
361
|
+
encode(message: Room, writer?: _m0.Writer): _m0.Writer;
|
362
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Room;
|
363
|
+
fromJSON(object: any): Room;
|
364
|
+
toJSON(message: Room): unknown;
|
365
|
+
create<I extends {
|
366
|
+
sid?: string | undefined;
|
367
|
+
name?: string | undefined;
|
368
|
+
emptyTimeout?: number | undefined;
|
369
|
+
maxParticipants?: number | undefined;
|
370
|
+
creationTime?: number | undefined;
|
371
|
+
turnPassword?: string | undefined;
|
372
|
+
enabledCodecs?: {
|
373
|
+
mime?: string | undefined;
|
374
|
+
fmtpLine?: string | undefined;
|
375
|
+
}[] | undefined;
|
376
|
+
metadata?: string | undefined;
|
377
|
+
numParticipants?: number | undefined;
|
378
|
+
numPublishers?: number | undefined;
|
379
|
+
activeRecording?: boolean | undefined;
|
380
|
+
} & {
|
381
|
+
sid?: string | undefined;
|
382
|
+
name?: string | undefined;
|
383
|
+
emptyTimeout?: number | undefined;
|
384
|
+
maxParticipants?: number | undefined;
|
385
|
+
creationTime?: number | undefined;
|
386
|
+
turnPassword?: string | undefined;
|
387
|
+
enabledCodecs?: ({
|
388
|
+
mime?: string | undefined;
|
389
|
+
fmtpLine?: string | undefined;
|
390
|
+
}[] & ({
|
391
|
+
mime?: string | undefined;
|
392
|
+
fmtpLine?: string | undefined;
|
393
|
+
} & {
|
394
|
+
mime?: string | undefined;
|
395
|
+
fmtpLine?: string | undefined;
|
396
|
+
} & { [K in Exclude<keyof I["enabledCodecs"][number], keyof Codec>]: never; })[] & { [K_1 in Exclude<keyof I["enabledCodecs"], keyof {
|
397
|
+
mime?: string | undefined;
|
398
|
+
fmtpLine?: string | undefined;
|
399
|
+
}[]>]: never; }) | undefined;
|
400
|
+
metadata?: string | undefined;
|
401
|
+
numParticipants?: number | undefined;
|
402
|
+
numPublishers?: number | undefined;
|
403
|
+
activeRecording?: boolean | undefined;
|
404
|
+
} & { [K_2 in Exclude<keyof I, keyof Room>]: never; }>(base?: I | undefined): Room;
|
405
|
+
fromPartial<I_1 extends {
|
406
|
+
sid?: string | undefined;
|
407
|
+
name?: string | undefined;
|
408
|
+
emptyTimeout?: number | undefined;
|
409
|
+
maxParticipants?: number | undefined;
|
410
|
+
creationTime?: number | undefined;
|
411
|
+
turnPassword?: string | undefined;
|
412
|
+
enabledCodecs?: {
|
413
|
+
mime?: string | undefined;
|
414
|
+
fmtpLine?: string | undefined;
|
415
|
+
}[] | undefined;
|
416
|
+
metadata?: string | undefined;
|
417
|
+
numParticipants?: number | undefined;
|
418
|
+
numPublishers?: number | undefined;
|
419
|
+
activeRecording?: boolean | undefined;
|
420
|
+
} & {
|
421
|
+
sid?: string | undefined;
|
422
|
+
name?: string | undefined;
|
423
|
+
emptyTimeout?: number | undefined;
|
424
|
+
maxParticipants?: number | undefined;
|
425
|
+
creationTime?: number | undefined;
|
426
|
+
turnPassword?: string | undefined;
|
427
|
+
enabledCodecs?: ({
|
428
|
+
mime?: string | undefined;
|
429
|
+
fmtpLine?: string | undefined;
|
430
|
+
}[] & ({
|
431
|
+
mime?: string | undefined;
|
432
|
+
fmtpLine?: string | undefined;
|
433
|
+
} & {
|
434
|
+
mime?: string | undefined;
|
435
|
+
fmtpLine?: string | undefined;
|
436
|
+
} & { [K_3 in Exclude<keyof I_1["enabledCodecs"][number], keyof Codec>]: never; })[] & { [K_4 in Exclude<keyof I_1["enabledCodecs"], keyof {
|
437
|
+
mime?: string | undefined;
|
438
|
+
fmtpLine?: string | undefined;
|
439
|
+
}[]>]: never; }) | undefined;
|
440
|
+
metadata?: string | undefined;
|
441
|
+
numParticipants?: number | undefined;
|
442
|
+
numPublishers?: number | undefined;
|
443
|
+
activeRecording?: boolean | undefined;
|
444
|
+
} & { [K_5 in Exclude<keyof I_1, keyof Room>]: never; }>(object: I_1): Room;
|
445
|
+
};
|
446
|
+
export declare const Codec: {
|
447
|
+
encode(message: Codec, writer?: _m0.Writer): _m0.Writer;
|
448
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Codec;
|
449
|
+
fromJSON(object: any): Codec;
|
450
|
+
toJSON(message: Codec): unknown;
|
451
|
+
create<I extends {
|
452
|
+
mime?: string | undefined;
|
453
|
+
fmtpLine?: string | undefined;
|
454
|
+
} & {
|
455
|
+
mime?: string | undefined;
|
456
|
+
fmtpLine?: string | undefined;
|
457
|
+
} & { [K in Exclude<keyof I, keyof Codec>]: never; }>(base?: I | undefined): Codec;
|
458
|
+
fromPartial<I_1 extends {
|
459
|
+
mime?: string | undefined;
|
460
|
+
fmtpLine?: string | undefined;
|
461
|
+
} & {
|
462
|
+
mime?: string | undefined;
|
463
|
+
fmtpLine?: string | undefined;
|
464
|
+
} & { [K_1 in Exclude<keyof I_1, keyof Codec>]: never; }>(object: I_1): Codec;
|
465
|
+
};
|
466
|
+
export declare const ParticipantPermission: {
|
467
|
+
encode(message: ParticipantPermission, writer?: _m0.Writer): _m0.Writer;
|
468
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ParticipantPermission;
|
469
|
+
fromJSON(object: any): ParticipantPermission;
|
470
|
+
toJSON(message: ParticipantPermission): unknown;
|
471
|
+
create<I extends {
|
472
|
+
canSubscribe?: boolean | undefined;
|
473
|
+
canPublish?: boolean | undefined;
|
474
|
+
canPublishData?: boolean | undefined;
|
475
|
+
canPublishSources?: TrackSource[] | undefined;
|
476
|
+
hidden?: boolean | undefined;
|
477
|
+
recorder?: boolean | undefined;
|
478
|
+
canUpdateMetadata?: boolean | undefined;
|
479
|
+
} & {
|
480
|
+
canSubscribe?: boolean | undefined;
|
481
|
+
canPublish?: boolean | undefined;
|
482
|
+
canPublishData?: boolean | undefined;
|
483
|
+
canPublishSources?: (TrackSource[] & TrackSource[] & { [K in Exclude<keyof I["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
|
484
|
+
hidden?: boolean | undefined;
|
485
|
+
recorder?: boolean | undefined;
|
486
|
+
canUpdateMetadata?: boolean | undefined;
|
487
|
+
} & { [K_1 in Exclude<keyof I, keyof ParticipantPermission>]: never; }>(base?: I | undefined): ParticipantPermission;
|
488
|
+
fromPartial<I_1 extends {
|
489
|
+
canSubscribe?: boolean | undefined;
|
490
|
+
canPublish?: boolean | undefined;
|
491
|
+
canPublishData?: boolean | undefined;
|
492
|
+
canPublishSources?: TrackSource[] | undefined;
|
493
|
+
hidden?: boolean | undefined;
|
494
|
+
recorder?: boolean | undefined;
|
495
|
+
canUpdateMetadata?: boolean | undefined;
|
496
|
+
} & {
|
497
|
+
canSubscribe?: boolean | undefined;
|
498
|
+
canPublish?: boolean | undefined;
|
499
|
+
canPublishData?: boolean | undefined;
|
500
|
+
canPublishSources?: (TrackSource[] & TrackSource[] & { [K_2 in Exclude<keyof I_1["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
|
501
|
+
hidden?: boolean | undefined;
|
502
|
+
recorder?: boolean | undefined;
|
503
|
+
canUpdateMetadata?: boolean | undefined;
|
504
|
+
} & { [K_3 in Exclude<keyof I_1, keyof ParticipantPermission>]: never; }>(object: I_1): ParticipantPermission;
|
505
|
+
};
|
506
|
+
export declare const ParticipantInfo: {
|
507
|
+
encode(message: ParticipantInfo, writer?: _m0.Writer): _m0.Writer;
|
508
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ParticipantInfo;
|
509
|
+
fromJSON(object: any): ParticipantInfo;
|
510
|
+
toJSON(message: ParticipantInfo): unknown;
|
511
|
+
create<I extends {
|
512
|
+
sid?: string | undefined;
|
513
|
+
identity?: string | undefined;
|
514
|
+
state?: ParticipantInfo_State | undefined;
|
515
|
+
tracks?: {
|
516
|
+
sid?: string | undefined;
|
517
|
+
type?: TrackType | undefined;
|
518
|
+
name?: string | undefined;
|
519
|
+
muted?: boolean | undefined;
|
520
|
+
width?: number | undefined;
|
521
|
+
height?: number | undefined;
|
522
|
+
simulcast?: boolean | undefined;
|
523
|
+
disableDtx?: boolean | undefined;
|
524
|
+
source?: TrackSource | undefined;
|
525
|
+
layers?: {
|
526
|
+
quality?: VideoQuality | undefined;
|
527
|
+
width?: number | undefined;
|
528
|
+
height?: number | undefined;
|
529
|
+
bitrate?: number | undefined;
|
530
|
+
ssrc?: number | undefined;
|
531
|
+
}[] | undefined;
|
532
|
+
mimeType?: string | undefined;
|
533
|
+
mid?: string | undefined;
|
534
|
+
codecs?: {
|
535
|
+
mimeType?: string | undefined;
|
536
|
+
mid?: string | undefined;
|
537
|
+
cid?: string | undefined;
|
538
|
+
layers?: {
|
539
|
+
quality?: VideoQuality | undefined;
|
540
|
+
width?: number | undefined;
|
541
|
+
height?: number | undefined;
|
542
|
+
bitrate?: number | undefined;
|
543
|
+
ssrc?: number | undefined;
|
544
|
+
}[] | undefined;
|
545
|
+
}[] | undefined;
|
546
|
+
stereo?: boolean | undefined;
|
547
|
+
disableRed?: boolean | undefined;
|
548
|
+
encryption?: Encryption_Type | undefined;
|
549
|
+
}[] | undefined;
|
550
|
+
metadata?: string | undefined;
|
551
|
+
joinedAt?: number | undefined;
|
552
|
+
name?: string | undefined;
|
553
|
+
version?: number | undefined;
|
554
|
+
permission?: {
|
555
|
+
canSubscribe?: boolean | undefined;
|
556
|
+
canPublish?: boolean | undefined;
|
557
|
+
canPublishData?: boolean | undefined;
|
558
|
+
canPublishSources?: TrackSource[] | undefined;
|
559
|
+
hidden?: boolean | undefined;
|
560
|
+
recorder?: boolean | undefined;
|
561
|
+
canUpdateMetadata?: boolean | undefined;
|
562
|
+
} | undefined;
|
563
|
+
region?: string | undefined;
|
564
|
+
isPublisher?: boolean | undefined;
|
565
|
+
} & {
|
566
|
+
sid?: string | undefined;
|
567
|
+
identity?: string | undefined;
|
568
|
+
state?: ParticipantInfo_State | undefined;
|
569
|
+
tracks?: ({
|
570
|
+
sid?: string | undefined;
|
571
|
+
type?: TrackType | undefined;
|
572
|
+
name?: string | undefined;
|
573
|
+
muted?: boolean | undefined;
|
574
|
+
width?: number | undefined;
|
575
|
+
height?: number | undefined;
|
576
|
+
simulcast?: boolean | undefined;
|
577
|
+
disableDtx?: boolean | undefined;
|
578
|
+
source?: TrackSource | undefined;
|
579
|
+
layers?: {
|
580
|
+
quality?: VideoQuality | undefined;
|
581
|
+
width?: number | undefined;
|
582
|
+
height?: number | undefined;
|
583
|
+
bitrate?: number | undefined;
|
584
|
+
ssrc?: number | undefined;
|
585
|
+
}[] | undefined;
|
586
|
+
mimeType?: string | undefined;
|
587
|
+
mid?: string | undefined;
|
588
|
+
codecs?: {
|
589
|
+
mimeType?: string | undefined;
|
590
|
+
mid?: string | undefined;
|
591
|
+
cid?: string | undefined;
|
592
|
+
layers?: {
|
593
|
+
quality?: VideoQuality | undefined;
|
594
|
+
width?: number | undefined;
|
595
|
+
height?: number | undefined;
|
596
|
+
bitrate?: number | undefined;
|
597
|
+
ssrc?: number | undefined;
|
598
|
+
}[] | undefined;
|
599
|
+
}[] | undefined;
|
600
|
+
stereo?: boolean | undefined;
|
601
|
+
disableRed?: boolean | undefined;
|
602
|
+
encryption?: Encryption_Type | undefined;
|
603
|
+
}[] & ({
|
604
|
+
sid?: string | undefined;
|
605
|
+
type?: TrackType | undefined;
|
606
|
+
name?: string | undefined;
|
607
|
+
muted?: boolean | undefined;
|
608
|
+
width?: number | undefined;
|
609
|
+
height?: number | undefined;
|
610
|
+
simulcast?: boolean | undefined;
|
611
|
+
disableDtx?: boolean | undefined;
|
612
|
+
source?: TrackSource | undefined;
|
613
|
+
layers?: {
|
614
|
+
quality?: VideoQuality | undefined;
|
615
|
+
width?: number | undefined;
|
616
|
+
height?: number | undefined;
|
617
|
+
bitrate?: number | undefined;
|
618
|
+
ssrc?: number | undefined;
|
619
|
+
}[] | undefined;
|
620
|
+
mimeType?: string | undefined;
|
621
|
+
mid?: string | undefined;
|
622
|
+
codecs?: {
|
623
|
+
mimeType?: string | undefined;
|
624
|
+
mid?: string | undefined;
|
625
|
+
cid?: string | undefined;
|
626
|
+
layers?: {
|
627
|
+
quality?: VideoQuality | undefined;
|
628
|
+
width?: number | undefined;
|
629
|
+
height?: number | undefined;
|
630
|
+
bitrate?: number | undefined;
|
631
|
+
ssrc?: number | undefined;
|
632
|
+
}[] | undefined;
|
633
|
+
}[] | undefined;
|
634
|
+
stereo?: boolean | undefined;
|
635
|
+
disableRed?: boolean | undefined;
|
636
|
+
encryption?: Encryption_Type | undefined;
|
637
|
+
} & {
|
638
|
+
sid?: string | undefined;
|
639
|
+
type?: TrackType | undefined;
|
640
|
+
name?: string | undefined;
|
641
|
+
muted?: boolean | undefined;
|
642
|
+
width?: number | undefined;
|
643
|
+
height?: number | undefined;
|
644
|
+
simulcast?: boolean | undefined;
|
645
|
+
disableDtx?: boolean | undefined;
|
646
|
+
source?: TrackSource | undefined;
|
647
|
+
layers?: ({
|
648
|
+
quality?: VideoQuality | undefined;
|
649
|
+
width?: number | undefined;
|
650
|
+
height?: number | undefined;
|
651
|
+
bitrate?: number | undefined;
|
652
|
+
ssrc?: number | undefined;
|
653
|
+
}[] & ({
|
654
|
+
quality?: VideoQuality | undefined;
|
655
|
+
width?: number | undefined;
|
656
|
+
height?: number | undefined;
|
657
|
+
bitrate?: number | undefined;
|
658
|
+
ssrc?: number | undefined;
|
659
|
+
} & {
|
660
|
+
quality?: VideoQuality | undefined;
|
661
|
+
width?: number | undefined;
|
662
|
+
height?: number | undefined;
|
663
|
+
bitrate?: number | undefined;
|
664
|
+
ssrc?: number | undefined;
|
665
|
+
} & { [K in Exclude<keyof I["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_1 in Exclude<keyof I["tracks"][number]["layers"], keyof {
|
666
|
+
quality?: VideoQuality | undefined;
|
667
|
+
width?: number | undefined;
|
668
|
+
height?: number | undefined;
|
669
|
+
bitrate?: number | undefined;
|
670
|
+
ssrc?: number | undefined;
|
671
|
+
}[]>]: never; }) | undefined;
|
672
|
+
mimeType?: string | undefined;
|
673
|
+
mid?: string | undefined;
|
674
|
+
codecs?: ({
|
675
|
+
mimeType?: string | undefined;
|
676
|
+
mid?: string | undefined;
|
677
|
+
cid?: string | undefined;
|
678
|
+
layers?: {
|
679
|
+
quality?: VideoQuality | undefined;
|
680
|
+
width?: number | undefined;
|
681
|
+
height?: number | undefined;
|
682
|
+
bitrate?: number | undefined;
|
683
|
+
ssrc?: number | undefined;
|
684
|
+
}[] | undefined;
|
685
|
+
}[] & ({
|
686
|
+
mimeType?: string | undefined;
|
687
|
+
mid?: string | undefined;
|
688
|
+
cid?: string | undefined;
|
689
|
+
layers?: {
|
690
|
+
quality?: VideoQuality | undefined;
|
691
|
+
width?: number | undefined;
|
692
|
+
height?: number | undefined;
|
693
|
+
bitrate?: number | undefined;
|
694
|
+
ssrc?: number | undefined;
|
695
|
+
}[] | undefined;
|
696
|
+
} & {
|
697
|
+
mimeType?: string | undefined;
|
698
|
+
mid?: string | undefined;
|
699
|
+
cid?: string | undefined;
|
700
|
+
layers?: ({
|
701
|
+
quality?: VideoQuality | undefined;
|
702
|
+
width?: number | undefined;
|
703
|
+
height?: number | undefined;
|
704
|
+
bitrate?: number | undefined;
|
705
|
+
ssrc?: number | undefined;
|
706
|
+
}[] & ({
|
707
|
+
quality?: VideoQuality | undefined;
|
708
|
+
width?: number | undefined;
|
709
|
+
height?: number | undefined;
|
710
|
+
bitrate?: number | undefined;
|
711
|
+
ssrc?: number | undefined;
|
712
|
+
} & {
|
713
|
+
quality?: VideoQuality | undefined;
|
714
|
+
width?: number | undefined;
|
715
|
+
height?: number | undefined;
|
716
|
+
bitrate?: number | undefined;
|
717
|
+
ssrc?: number | undefined;
|
718
|
+
} & { [K_2 in Exclude<keyof I["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_3 in Exclude<keyof I["tracks"][number]["codecs"][number]["layers"], keyof {
|
719
|
+
quality?: VideoQuality | undefined;
|
720
|
+
width?: number | undefined;
|
721
|
+
height?: number | undefined;
|
722
|
+
bitrate?: number | undefined;
|
723
|
+
ssrc?: number | undefined;
|
724
|
+
}[]>]: never; }) | undefined;
|
725
|
+
} & { [K_4 in Exclude<keyof I["tracks"][number]["codecs"][number], keyof SimulcastCodecInfo>]: never; })[] & { [K_5 in Exclude<keyof I["tracks"][number]["codecs"], keyof {
|
726
|
+
mimeType?: string | undefined;
|
727
|
+
mid?: string | undefined;
|
728
|
+
cid?: string | undefined;
|
729
|
+
layers?: {
|
730
|
+
quality?: VideoQuality | undefined;
|
731
|
+
width?: number | undefined;
|
732
|
+
height?: number | undefined;
|
733
|
+
bitrate?: number | undefined;
|
734
|
+
ssrc?: number | undefined;
|
735
|
+
}[] | undefined;
|
736
|
+
}[]>]: never; }) | undefined;
|
737
|
+
stereo?: boolean | undefined;
|
738
|
+
disableRed?: boolean | undefined;
|
739
|
+
encryption?: Encryption_Type | undefined;
|
740
|
+
} & { [K_6 in Exclude<keyof I["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_7 in Exclude<keyof I["tracks"], keyof {
|
741
|
+
sid?: string | undefined;
|
742
|
+
type?: TrackType | undefined;
|
743
|
+
name?: string | undefined;
|
744
|
+
muted?: boolean | undefined;
|
745
|
+
width?: number | undefined;
|
746
|
+
height?: number | undefined;
|
747
|
+
simulcast?: boolean | undefined;
|
748
|
+
disableDtx?: boolean | undefined;
|
749
|
+
source?: TrackSource | undefined;
|
750
|
+
layers?: {
|
751
|
+
quality?: VideoQuality | undefined;
|
752
|
+
width?: number | undefined;
|
753
|
+
height?: number | undefined;
|
754
|
+
bitrate?: number | undefined;
|
755
|
+
ssrc?: number | undefined;
|
756
|
+
}[] | undefined;
|
757
|
+
mimeType?: string | undefined;
|
758
|
+
mid?: string | undefined;
|
759
|
+
codecs?: {
|
760
|
+
mimeType?: string | undefined;
|
761
|
+
mid?: string | undefined;
|
762
|
+
cid?: string | undefined;
|
763
|
+
layers?: {
|
764
|
+
quality?: VideoQuality | undefined;
|
765
|
+
width?: number | undefined;
|
766
|
+
height?: number | undefined;
|
767
|
+
bitrate?: number | undefined;
|
768
|
+
ssrc?: number | undefined;
|
769
|
+
}[] | undefined;
|
770
|
+
}[] | undefined;
|
771
|
+
stereo?: boolean | undefined;
|
772
|
+
disableRed?: boolean | undefined;
|
773
|
+
encryption?: Encryption_Type | undefined;
|
774
|
+
}[]>]: never; }) | undefined;
|
775
|
+
metadata?: string | undefined;
|
776
|
+
joinedAt?: number | undefined;
|
777
|
+
name?: string | undefined;
|
778
|
+
version?: number | undefined;
|
779
|
+
permission?: ({
|
780
|
+
canSubscribe?: boolean | undefined;
|
781
|
+
canPublish?: boolean | undefined;
|
782
|
+
canPublishData?: boolean | undefined;
|
783
|
+
canPublishSources?: TrackSource[] | undefined;
|
784
|
+
hidden?: boolean | undefined;
|
785
|
+
recorder?: boolean | undefined;
|
786
|
+
canUpdateMetadata?: boolean | undefined;
|
787
|
+
} & {
|
788
|
+
canSubscribe?: boolean | undefined;
|
789
|
+
canPublish?: boolean | undefined;
|
790
|
+
canPublishData?: boolean | undefined;
|
791
|
+
canPublishSources?: (TrackSource[] & TrackSource[] & { [K_8 in Exclude<keyof I["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
|
792
|
+
hidden?: boolean | undefined;
|
793
|
+
recorder?: boolean | undefined;
|
794
|
+
canUpdateMetadata?: boolean | undefined;
|
795
|
+
} & { [K_9 in Exclude<keyof I["permission"], keyof ParticipantPermission>]: never; }) | undefined;
|
796
|
+
region?: string | undefined;
|
797
|
+
isPublisher?: boolean | undefined;
|
798
|
+
} & { [K_10 in Exclude<keyof I, keyof ParticipantInfo>]: never; }>(base?: I | undefined): ParticipantInfo;
|
799
|
+
fromPartial<I_1 extends {
|
800
|
+
sid?: string | undefined;
|
801
|
+
identity?: string | undefined;
|
802
|
+
state?: ParticipantInfo_State | undefined;
|
803
|
+
tracks?: {
|
804
|
+
sid?: string | undefined;
|
805
|
+
type?: TrackType | undefined;
|
806
|
+
name?: string | undefined;
|
807
|
+
muted?: boolean | undefined;
|
808
|
+
width?: number | undefined;
|
809
|
+
height?: number | undefined;
|
810
|
+
simulcast?: boolean | undefined;
|
811
|
+
disableDtx?: boolean | undefined;
|
812
|
+
source?: TrackSource | undefined;
|
813
|
+
layers?: {
|
814
|
+
quality?: VideoQuality | undefined;
|
815
|
+
width?: number | undefined;
|
816
|
+
height?: number | undefined;
|
817
|
+
bitrate?: number | undefined;
|
818
|
+
ssrc?: number | undefined;
|
819
|
+
}[] | undefined;
|
820
|
+
mimeType?: string | undefined;
|
821
|
+
mid?: string | undefined;
|
822
|
+
codecs?: {
|
823
|
+
mimeType?: string | undefined;
|
824
|
+
mid?: string | undefined;
|
825
|
+
cid?: string | undefined;
|
826
|
+
layers?: {
|
827
|
+
quality?: VideoQuality | undefined;
|
828
|
+
width?: number | undefined;
|
829
|
+
height?: number | undefined;
|
830
|
+
bitrate?: number | undefined;
|
831
|
+
ssrc?: number | undefined;
|
832
|
+
}[] | undefined;
|
833
|
+
}[] | undefined;
|
834
|
+
stereo?: boolean | undefined;
|
835
|
+
disableRed?: boolean | undefined;
|
836
|
+
encryption?: Encryption_Type | undefined;
|
837
|
+
}[] | undefined;
|
838
|
+
metadata?: string | undefined;
|
839
|
+
joinedAt?: number | undefined;
|
840
|
+
name?: string | undefined;
|
841
|
+
version?: number | undefined;
|
842
|
+
permission?: {
|
843
|
+
canSubscribe?: boolean | undefined;
|
844
|
+
canPublish?: boolean | undefined;
|
845
|
+
canPublishData?: boolean | undefined;
|
846
|
+
canPublishSources?: TrackSource[] | undefined;
|
847
|
+
hidden?: boolean | undefined;
|
848
|
+
recorder?: boolean | undefined;
|
849
|
+
canUpdateMetadata?: boolean | undefined;
|
850
|
+
} | undefined;
|
851
|
+
region?: string | undefined;
|
852
|
+
isPublisher?: boolean | undefined;
|
853
|
+
} & {
|
854
|
+
sid?: string | undefined;
|
855
|
+
identity?: string | undefined;
|
856
|
+
state?: ParticipantInfo_State | undefined;
|
857
|
+
tracks?: ({
|
858
|
+
sid?: string | undefined;
|
859
|
+
type?: TrackType | undefined;
|
860
|
+
name?: string | undefined;
|
861
|
+
muted?: boolean | undefined;
|
862
|
+
width?: number | undefined;
|
863
|
+
height?: number | undefined;
|
864
|
+
simulcast?: boolean | undefined;
|
865
|
+
disableDtx?: boolean | undefined;
|
866
|
+
source?: TrackSource | undefined;
|
867
|
+
layers?: {
|
868
|
+
quality?: VideoQuality | undefined;
|
869
|
+
width?: number | undefined;
|
870
|
+
height?: number | undefined;
|
871
|
+
bitrate?: number | undefined;
|
872
|
+
ssrc?: number | undefined;
|
873
|
+
}[] | undefined;
|
874
|
+
mimeType?: string | undefined;
|
875
|
+
mid?: string | undefined;
|
876
|
+
codecs?: {
|
877
|
+
mimeType?: string | undefined;
|
878
|
+
mid?: string | undefined;
|
879
|
+
cid?: string | undefined;
|
880
|
+
layers?: {
|
881
|
+
quality?: VideoQuality | undefined;
|
882
|
+
width?: number | undefined;
|
883
|
+
height?: number | undefined;
|
884
|
+
bitrate?: number | undefined;
|
885
|
+
ssrc?: number | undefined;
|
886
|
+
}[] | undefined;
|
887
|
+
}[] | undefined;
|
888
|
+
stereo?: boolean | undefined;
|
889
|
+
disableRed?: boolean | undefined;
|
890
|
+
encryption?: Encryption_Type | undefined;
|
891
|
+
}[] & ({
|
892
|
+
sid?: string | undefined;
|
893
|
+
type?: TrackType | undefined;
|
894
|
+
name?: string | undefined;
|
895
|
+
muted?: boolean | undefined;
|
896
|
+
width?: number | undefined;
|
897
|
+
height?: number | undefined;
|
898
|
+
simulcast?: boolean | undefined;
|
899
|
+
disableDtx?: boolean | undefined;
|
900
|
+
source?: TrackSource | undefined;
|
901
|
+
layers?: {
|
902
|
+
quality?: VideoQuality | undefined;
|
903
|
+
width?: number | undefined;
|
904
|
+
height?: number | undefined;
|
905
|
+
bitrate?: number | undefined;
|
906
|
+
ssrc?: number | undefined;
|
907
|
+
}[] | undefined;
|
908
|
+
mimeType?: string | undefined;
|
909
|
+
mid?: string | undefined;
|
910
|
+
codecs?: {
|
911
|
+
mimeType?: string | undefined;
|
912
|
+
mid?: string | undefined;
|
913
|
+
cid?: string | undefined;
|
914
|
+
layers?: {
|
915
|
+
quality?: VideoQuality | undefined;
|
916
|
+
width?: number | undefined;
|
917
|
+
height?: number | undefined;
|
918
|
+
bitrate?: number | undefined;
|
919
|
+
ssrc?: number | undefined;
|
920
|
+
}[] | undefined;
|
921
|
+
}[] | undefined;
|
922
|
+
stereo?: boolean | undefined;
|
923
|
+
disableRed?: boolean | undefined;
|
924
|
+
encryption?: Encryption_Type | undefined;
|
925
|
+
} & {
|
926
|
+
sid?: string | undefined;
|
927
|
+
type?: TrackType | undefined;
|
928
|
+
name?: string | undefined;
|
929
|
+
muted?: boolean | undefined;
|
930
|
+
width?: number | undefined;
|
931
|
+
height?: number | undefined;
|
932
|
+
simulcast?: boolean | undefined;
|
933
|
+
disableDtx?: boolean | undefined;
|
934
|
+
source?: TrackSource | undefined;
|
935
|
+
layers?: ({
|
936
|
+
quality?: VideoQuality | undefined;
|
937
|
+
width?: number | undefined;
|
938
|
+
height?: number | undefined;
|
939
|
+
bitrate?: number | undefined;
|
940
|
+
ssrc?: number | undefined;
|
941
|
+
}[] & ({
|
942
|
+
quality?: VideoQuality | undefined;
|
943
|
+
width?: number | undefined;
|
944
|
+
height?: number | undefined;
|
945
|
+
bitrate?: number | undefined;
|
946
|
+
ssrc?: number | undefined;
|
947
|
+
} & {
|
948
|
+
quality?: VideoQuality | undefined;
|
949
|
+
width?: number | undefined;
|
950
|
+
height?: number | undefined;
|
951
|
+
bitrate?: number | undefined;
|
952
|
+
ssrc?: number | undefined;
|
953
|
+
} & { [K_11 in Exclude<keyof I_1["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_12 in Exclude<keyof I_1["tracks"][number]["layers"], keyof {
|
954
|
+
quality?: VideoQuality | undefined;
|
955
|
+
width?: number | undefined;
|
956
|
+
height?: number | undefined;
|
957
|
+
bitrate?: number | undefined;
|
958
|
+
ssrc?: number | undefined;
|
959
|
+
}[]>]: never; }) | undefined;
|
960
|
+
mimeType?: string | undefined;
|
961
|
+
mid?: string | undefined;
|
962
|
+
codecs?: ({
|
963
|
+
mimeType?: string | undefined;
|
964
|
+
mid?: string | undefined;
|
965
|
+
cid?: string | undefined;
|
966
|
+
layers?: {
|
967
|
+
quality?: VideoQuality | undefined;
|
968
|
+
width?: number | undefined;
|
969
|
+
height?: number | undefined;
|
970
|
+
bitrate?: number | undefined;
|
971
|
+
ssrc?: number | undefined;
|
972
|
+
}[] | undefined;
|
973
|
+
}[] & ({
|
974
|
+
mimeType?: string | undefined;
|
975
|
+
mid?: string | undefined;
|
976
|
+
cid?: string | undefined;
|
977
|
+
layers?: {
|
978
|
+
quality?: VideoQuality | undefined;
|
979
|
+
width?: number | undefined;
|
980
|
+
height?: number | undefined;
|
981
|
+
bitrate?: number | undefined;
|
982
|
+
ssrc?: number | undefined;
|
983
|
+
}[] | undefined;
|
984
|
+
} & {
|
985
|
+
mimeType?: string | undefined;
|
986
|
+
mid?: string | undefined;
|
987
|
+
cid?: string | undefined;
|
988
|
+
layers?: ({
|
989
|
+
quality?: VideoQuality | undefined;
|
990
|
+
width?: number | undefined;
|
991
|
+
height?: number | undefined;
|
992
|
+
bitrate?: number | undefined;
|
993
|
+
ssrc?: number | undefined;
|
994
|
+
}[] & ({
|
995
|
+
quality?: VideoQuality | undefined;
|
996
|
+
width?: number | undefined;
|
997
|
+
height?: number | undefined;
|
998
|
+
bitrate?: number | undefined;
|
999
|
+
ssrc?: number | undefined;
|
1000
|
+
} & {
|
1001
|
+
quality?: VideoQuality | undefined;
|
1002
|
+
width?: number | undefined;
|
1003
|
+
height?: number | undefined;
|
1004
|
+
bitrate?: number | undefined;
|
1005
|
+
ssrc?: number | undefined;
|
1006
|
+
} & { [K_13 in Exclude<keyof I_1["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_14 in Exclude<keyof I_1["tracks"][number]["codecs"][number]["layers"], keyof {
|
1007
|
+
quality?: VideoQuality | undefined;
|
1008
|
+
width?: number | undefined;
|
1009
|
+
height?: number | undefined;
|
1010
|
+
bitrate?: number | undefined;
|
1011
|
+
ssrc?: number | undefined;
|
1012
|
+
}[]>]: never; }) | undefined;
|
1013
|
+
} & { [K_15 in Exclude<keyof I_1["tracks"][number]["codecs"][number], keyof SimulcastCodecInfo>]: never; })[] & { [K_16 in Exclude<keyof I_1["tracks"][number]["codecs"], keyof {
|
1014
|
+
mimeType?: string | undefined;
|
1015
|
+
mid?: string | undefined;
|
1016
|
+
cid?: string | undefined;
|
1017
|
+
layers?: {
|
1018
|
+
quality?: VideoQuality | undefined;
|
1019
|
+
width?: number | undefined;
|
1020
|
+
height?: number | undefined;
|
1021
|
+
bitrate?: number | undefined;
|
1022
|
+
ssrc?: number | undefined;
|
1023
|
+
}[] | undefined;
|
1024
|
+
}[]>]: never; }) | undefined;
|
1025
|
+
stereo?: boolean | undefined;
|
1026
|
+
disableRed?: boolean | undefined;
|
1027
|
+
encryption?: Encryption_Type | undefined;
|
1028
|
+
} & { [K_17 in Exclude<keyof I_1["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_18 in Exclude<keyof I_1["tracks"], keyof {
|
1029
|
+
sid?: string | undefined;
|
1030
|
+
type?: TrackType | undefined;
|
1031
|
+
name?: string | undefined;
|
1032
|
+
muted?: boolean | undefined;
|
1033
|
+
width?: number | undefined;
|
1034
|
+
height?: number | undefined;
|
1035
|
+
simulcast?: boolean | undefined;
|
1036
|
+
disableDtx?: boolean | undefined;
|
1037
|
+
source?: TrackSource | undefined;
|
1038
|
+
layers?: {
|
1039
|
+
quality?: VideoQuality | undefined;
|
1040
|
+
width?: number | undefined;
|
1041
|
+
height?: number | undefined;
|
1042
|
+
bitrate?: number | undefined;
|
1043
|
+
ssrc?: number | undefined;
|
1044
|
+
}[] | undefined;
|
1045
|
+
mimeType?: string | undefined;
|
1046
|
+
mid?: string | undefined;
|
1047
|
+
codecs?: {
|
1048
|
+
mimeType?: string | undefined;
|
1049
|
+
mid?: string | undefined;
|
1050
|
+
cid?: string | undefined;
|
1051
|
+
layers?: {
|
1052
|
+
quality?: VideoQuality | undefined;
|
1053
|
+
width?: number | undefined;
|
1054
|
+
height?: number | undefined;
|
1055
|
+
bitrate?: number | undefined;
|
1056
|
+
ssrc?: number | undefined;
|
1057
|
+
}[] | undefined;
|
1058
|
+
}[] | undefined;
|
1059
|
+
stereo?: boolean | undefined;
|
1060
|
+
disableRed?: boolean | undefined;
|
1061
|
+
encryption?: Encryption_Type | undefined;
|
1062
|
+
}[]>]: never; }) | undefined;
|
1063
|
+
metadata?: string | undefined;
|
1064
|
+
joinedAt?: number | undefined;
|
1065
|
+
name?: string | undefined;
|
1066
|
+
version?: number | undefined;
|
1067
|
+
permission?: ({
|
1068
|
+
canSubscribe?: boolean | undefined;
|
1069
|
+
canPublish?: boolean | undefined;
|
1070
|
+
canPublishData?: boolean | undefined;
|
1071
|
+
canPublishSources?: TrackSource[] | undefined;
|
1072
|
+
hidden?: boolean | undefined;
|
1073
|
+
recorder?: boolean | undefined;
|
1074
|
+
canUpdateMetadata?: boolean | undefined;
|
1075
|
+
} & {
|
1076
|
+
canSubscribe?: boolean | undefined;
|
1077
|
+
canPublish?: boolean | undefined;
|
1078
|
+
canPublishData?: boolean | undefined;
|
1079
|
+
canPublishSources?: (TrackSource[] & TrackSource[] & { [K_19 in Exclude<keyof I_1["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
|
1080
|
+
hidden?: boolean | undefined;
|
1081
|
+
recorder?: boolean | undefined;
|
1082
|
+
canUpdateMetadata?: boolean | undefined;
|
1083
|
+
} & { [K_20 in Exclude<keyof I_1["permission"], keyof ParticipantPermission>]: never; }) | undefined;
|
1084
|
+
region?: string | undefined;
|
1085
|
+
isPublisher?: boolean | undefined;
|
1086
|
+
} & { [K_21 in Exclude<keyof I_1, keyof ParticipantInfo>]: never; }>(object: I_1): ParticipantInfo;
|
1087
|
+
};
|
1088
|
+
export declare const Encryption: {
|
1089
|
+
encode(_: Encryption, writer?: _m0.Writer): _m0.Writer;
|
1090
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Encryption;
|
1091
|
+
fromJSON(_: any): Encryption;
|
1092
|
+
toJSON(_: Encryption): unknown;
|
1093
|
+
create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I | undefined): Encryption;
|
1094
|
+
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): Encryption;
|
1095
|
+
};
|
1096
|
+
export declare const SimulcastCodecInfo: {
|
1097
|
+
encode(message: SimulcastCodecInfo, writer?: _m0.Writer): _m0.Writer;
|
1098
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): SimulcastCodecInfo;
|
1099
|
+
fromJSON(object: any): SimulcastCodecInfo;
|
1100
|
+
toJSON(message: SimulcastCodecInfo): unknown;
|
1101
|
+
create<I extends {
|
1102
|
+
mimeType?: string | undefined;
|
1103
|
+
mid?: string | undefined;
|
1104
|
+
cid?: string | undefined;
|
1105
|
+
layers?: {
|
1106
|
+
quality?: VideoQuality | undefined;
|
1107
|
+
width?: number | undefined;
|
1108
|
+
height?: number | undefined;
|
1109
|
+
bitrate?: number | undefined;
|
1110
|
+
ssrc?: number | undefined;
|
1111
|
+
}[] | undefined;
|
1112
|
+
} & {
|
1113
|
+
mimeType?: string | undefined;
|
1114
|
+
mid?: string | undefined;
|
1115
|
+
cid?: string | undefined;
|
1116
|
+
layers?: ({
|
1117
|
+
quality?: VideoQuality | undefined;
|
1118
|
+
width?: number | undefined;
|
1119
|
+
height?: number | undefined;
|
1120
|
+
bitrate?: number | undefined;
|
1121
|
+
ssrc?: number | undefined;
|
1122
|
+
}[] & ({
|
1123
|
+
quality?: VideoQuality | undefined;
|
1124
|
+
width?: number | undefined;
|
1125
|
+
height?: number | undefined;
|
1126
|
+
bitrate?: number | undefined;
|
1127
|
+
ssrc?: number | undefined;
|
1128
|
+
} & {
|
1129
|
+
quality?: VideoQuality | undefined;
|
1130
|
+
width?: number | undefined;
|
1131
|
+
height?: number | undefined;
|
1132
|
+
bitrate?: number | undefined;
|
1133
|
+
ssrc?: number | undefined;
|
1134
|
+
} & { [K in Exclude<keyof I["layers"][number], keyof VideoLayer>]: never; })[] & { [K_1 in Exclude<keyof I["layers"], keyof {
|
1135
|
+
quality?: VideoQuality | undefined;
|
1136
|
+
width?: number | undefined;
|
1137
|
+
height?: number | undefined;
|
1138
|
+
bitrate?: number | undefined;
|
1139
|
+
ssrc?: number | undefined;
|
1140
|
+
}[]>]: never; }) | undefined;
|
1141
|
+
} & { [K_2 in Exclude<keyof I, keyof SimulcastCodecInfo>]: never; }>(base?: I | undefined): SimulcastCodecInfo;
|
1142
|
+
fromPartial<I_1 extends {
|
1143
|
+
mimeType?: string | undefined;
|
1144
|
+
mid?: string | undefined;
|
1145
|
+
cid?: string | undefined;
|
1146
|
+
layers?: {
|
1147
|
+
quality?: VideoQuality | undefined;
|
1148
|
+
width?: number | undefined;
|
1149
|
+
height?: number | undefined;
|
1150
|
+
bitrate?: number | undefined;
|
1151
|
+
ssrc?: number | undefined;
|
1152
|
+
}[] | undefined;
|
1153
|
+
} & {
|
1154
|
+
mimeType?: string | undefined;
|
1155
|
+
mid?: string | undefined;
|
1156
|
+
cid?: string | undefined;
|
1157
|
+
layers?: ({
|
1158
|
+
quality?: VideoQuality | undefined;
|
1159
|
+
width?: number | undefined;
|
1160
|
+
height?: number | undefined;
|
1161
|
+
bitrate?: number | undefined;
|
1162
|
+
ssrc?: number | undefined;
|
1163
|
+
}[] & ({
|
1164
|
+
quality?: VideoQuality | undefined;
|
1165
|
+
width?: number | undefined;
|
1166
|
+
height?: number | undefined;
|
1167
|
+
bitrate?: number | undefined;
|
1168
|
+
ssrc?: number | undefined;
|
1169
|
+
} & {
|
1170
|
+
quality?: VideoQuality | undefined;
|
1171
|
+
width?: number | undefined;
|
1172
|
+
height?: number | undefined;
|
1173
|
+
bitrate?: number | undefined;
|
1174
|
+
ssrc?: number | undefined;
|
1175
|
+
} & { [K_3 in Exclude<keyof I_1["layers"][number], keyof VideoLayer>]: never; })[] & { [K_4 in Exclude<keyof I_1["layers"], keyof {
|
1176
|
+
quality?: VideoQuality | undefined;
|
1177
|
+
width?: number | undefined;
|
1178
|
+
height?: number | undefined;
|
1179
|
+
bitrate?: number | undefined;
|
1180
|
+
ssrc?: number | undefined;
|
1181
|
+
}[]>]: never; }) | undefined;
|
1182
|
+
} & { [K_5 in Exclude<keyof I_1, keyof SimulcastCodecInfo>]: never; }>(object: I_1): SimulcastCodecInfo;
|
1183
|
+
};
|
1184
|
+
export declare const TrackInfo: {
|
1185
|
+
encode(message: TrackInfo, writer?: _m0.Writer): _m0.Writer;
|
1186
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TrackInfo;
|
1187
|
+
fromJSON(object: any): TrackInfo;
|
1188
|
+
toJSON(message: TrackInfo): unknown;
|
1189
|
+
create<I extends {
|
1190
|
+
sid?: string | undefined;
|
1191
|
+
type?: TrackType | undefined;
|
1192
|
+
name?: string | undefined;
|
1193
|
+
muted?: boolean | undefined;
|
1194
|
+
width?: number | undefined;
|
1195
|
+
height?: number | undefined;
|
1196
|
+
simulcast?: boolean | undefined;
|
1197
|
+
disableDtx?: boolean | undefined;
|
1198
|
+
source?: TrackSource | undefined;
|
1199
|
+
layers?: {
|
1200
|
+
quality?: VideoQuality | undefined;
|
1201
|
+
width?: number | undefined;
|
1202
|
+
height?: number | undefined;
|
1203
|
+
bitrate?: number | undefined;
|
1204
|
+
ssrc?: number | undefined;
|
1205
|
+
}[] | undefined;
|
1206
|
+
mimeType?: string | undefined;
|
1207
|
+
mid?: string | undefined;
|
1208
|
+
codecs?: {
|
1209
|
+
mimeType?: string | undefined;
|
1210
|
+
mid?: string | undefined;
|
1211
|
+
cid?: string | undefined;
|
1212
|
+
layers?: {
|
1213
|
+
quality?: VideoQuality | undefined;
|
1214
|
+
width?: number | undefined;
|
1215
|
+
height?: number | undefined;
|
1216
|
+
bitrate?: number | undefined;
|
1217
|
+
ssrc?: number | undefined;
|
1218
|
+
}[] | undefined;
|
1219
|
+
}[] | undefined;
|
1220
|
+
stereo?: boolean | undefined;
|
1221
|
+
disableRed?: boolean | undefined;
|
1222
|
+
encryption?: Encryption_Type | undefined;
|
1223
|
+
} & {
|
1224
|
+
sid?: string | undefined;
|
1225
|
+
type?: TrackType | undefined;
|
1226
|
+
name?: string | undefined;
|
1227
|
+
muted?: boolean | undefined;
|
1228
|
+
width?: number | undefined;
|
1229
|
+
height?: number | undefined;
|
1230
|
+
simulcast?: boolean | undefined;
|
1231
|
+
disableDtx?: boolean | undefined;
|
1232
|
+
source?: TrackSource | undefined;
|
1233
|
+
layers?: ({
|
1234
|
+
quality?: VideoQuality | undefined;
|
1235
|
+
width?: number | undefined;
|
1236
|
+
height?: number | undefined;
|
1237
|
+
bitrate?: number | undefined;
|
1238
|
+
ssrc?: number | undefined;
|
1239
|
+
}[] & ({
|
1240
|
+
quality?: VideoQuality | undefined;
|
1241
|
+
width?: number | undefined;
|
1242
|
+
height?: number | undefined;
|
1243
|
+
bitrate?: number | undefined;
|
1244
|
+
ssrc?: number | undefined;
|
1245
|
+
} & {
|
1246
|
+
quality?: VideoQuality | undefined;
|
1247
|
+
width?: number | undefined;
|
1248
|
+
height?: number | undefined;
|
1249
|
+
bitrate?: number | undefined;
|
1250
|
+
ssrc?: number | undefined;
|
1251
|
+
} & { [K in Exclude<keyof I["layers"][number], keyof VideoLayer>]: never; })[] & { [K_1 in Exclude<keyof I["layers"], keyof {
|
1252
|
+
quality?: VideoQuality | undefined;
|
1253
|
+
width?: number | undefined;
|
1254
|
+
height?: number | undefined;
|
1255
|
+
bitrate?: number | undefined;
|
1256
|
+
ssrc?: number | undefined;
|
1257
|
+
}[]>]: never; }) | undefined;
|
1258
|
+
mimeType?: string | undefined;
|
1259
|
+
mid?: string | undefined;
|
1260
|
+
codecs?: ({
|
1261
|
+
mimeType?: string | undefined;
|
1262
|
+
mid?: string | undefined;
|
1263
|
+
cid?: string | undefined;
|
1264
|
+
layers?: {
|
1265
|
+
quality?: VideoQuality | undefined;
|
1266
|
+
width?: number | undefined;
|
1267
|
+
height?: number | undefined;
|
1268
|
+
bitrate?: number | undefined;
|
1269
|
+
ssrc?: number | undefined;
|
1270
|
+
}[] | undefined;
|
1271
|
+
}[] & ({
|
1272
|
+
mimeType?: string | undefined;
|
1273
|
+
mid?: string | undefined;
|
1274
|
+
cid?: string | undefined;
|
1275
|
+
layers?: {
|
1276
|
+
quality?: VideoQuality | undefined;
|
1277
|
+
width?: number | undefined;
|
1278
|
+
height?: number | undefined;
|
1279
|
+
bitrate?: number | undefined;
|
1280
|
+
ssrc?: number | undefined;
|
1281
|
+
}[] | undefined;
|
1282
|
+
} & {
|
1283
|
+
mimeType?: string | undefined;
|
1284
|
+
mid?: string | undefined;
|
1285
|
+
cid?: string | undefined;
|
1286
|
+
layers?: ({
|
1287
|
+
quality?: VideoQuality | undefined;
|
1288
|
+
width?: number | undefined;
|
1289
|
+
height?: number | undefined;
|
1290
|
+
bitrate?: number | undefined;
|
1291
|
+
ssrc?: number | undefined;
|
1292
|
+
}[] & ({
|
1293
|
+
quality?: VideoQuality | undefined;
|
1294
|
+
width?: number | undefined;
|
1295
|
+
height?: number | undefined;
|
1296
|
+
bitrate?: number | undefined;
|
1297
|
+
ssrc?: number | undefined;
|
1298
|
+
} & {
|
1299
|
+
quality?: VideoQuality | undefined;
|
1300
|
+
width?: number | undefined;
|
1301
|
+
height?: number | undefined;
|
1302
|
+
bitrate?: number | undefined;
|
1303
|
+
ssrc?: number | undefined;
|
1304
|
+
} & { [K_2 in Exclude<keyof I["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_3 in Exclude<keyof I["codecs"][number]["layers"], keyof {
|
1305
|
+
quality?: VideoQuality | undefined;
|
1306
|
+
width?: number | undefined;
|
1307
|
+
height?: number | undefined;
|
1308
|
+
bitrate?: number | undefined;
|
1309
|
+
ssrc?: number | undefined;
|
1310
|
+
}[]>]: never; }) | undefined;
|
1311
|
+
} & { [K_4 in Exclude<keyof I["codecs"][number], keyof SimulcastCodecInfo>]: never; })[] & { [K_5 in Exclude<keyof I["codecs"], keyof {
|
1312
|
+
mimeType?: string | undefined;
|
1313
|
+
mid?: string | undefined;
|
1314
|
+
cid?: string | undefined;
|
1315
|
+
layers?: {
|
1316
|
+
quality?: VideoQuality | undefined;
|
1317
|
+
width?: number | undefined;
|
1318
|
+
height?: number | undefined;
|
1319
|
+
bitrate?: number | undefined;
|
1320
|
+
ssrc?: number | undefined;
|
1321
|
+
}[] | undefined;
|
1322
|
+
}[]>]: never; }) | undefined;
|
1323
|
+
stereo?: boolean | undefined;
|
1324
|
+
disableRed?: boolean | undefined;
|
1325
|
+
encryption?: Encryption_Type | undefined;
|
1326
|
+
} & { [K_6 in Exclude<keyof I, keyof TrackInfo>]: never; }>(base?: I | undefined): TrackInfo;
|
1327
|
+
fromPartial<I_1 extends {
|
1328
|
+
sid?: string | undefined;
|
1329
|
+
type?: TrackType | undefined;
|
1330
|
+
name?: string | undefined;
|
1331
|
+
muted?: boolean | undefined;
|
1332
|
+
width?: number | undefined;
|
1333
|
+
height?: number | undefined;
|
1334
|
+
simulcast?: boolean | undefined;
|
1335
|
+
disableDtx?: boolean | undefined;
|
1336
|
+
source?: TrackSource | undefined;
|
1337
|
+
layers?: {
|
1338
|
+
quality?: VideoQuality | undefined;
|
1339
|
+
width?: number | undefined;
|
1340
|
+
height?: number | undefined;
|
1341
|
+
bitrate?: number | undefined;
|
1342
|
+
ssrc?: number | undefined;
|
1343
|
+
}[] | undefined;
|
1344
|
+
mimeType?: string | undefined;
|
1345
|
+
mid?: string | undefined;
|
1346
|
+
codecs?: {
|
1347
|
+
mimeType?: string | undefined;
|
1348
|
+
mid?: string | undefined;
|
1349
|
+
cid?: string | undefined;
|
1350
|
+
layers?: {
|
1351
|
+
quality?: VideoQuality | undefined;
|
1352
|
+
width?: number | undefined;
|
1353
|
+
height?: number | undefined;
|
1354
|
+
bitrate?: number | undefined;
|
1355
|
+
ssrc?: number | undefined;
|
1356
|
+
}[] | undefined;
|
1357
|
+
}[] | undefined;
|
1358
|
+
stereo?: boolean | undefined;
|
1359
|
+
disableRed?: boolean | undefined;
|
1360
|
+
encryption?: Encryption_Type | undefined;
|
1361
|
+
} & {
|
1362
|
+
sid?: string | undefined;
|
1363
|
+
type?: TrackType | undefined;
|
1364
|
+
name?: string | undefined;
|
1365
|
+
muted?: boolean | undefined;
|
1366
|
+
width?: number | undefined;
|
1367
|
+
height?: number | undefined;
|
1368
|
+
simulcast?: boolean | undefined;
|
1369
|
+
disableDtx?: boolean | undefined;
|
1370
|
+
source?: TrackSource | undefined;
|
1371
|
+
layers?: ({
|
1372
|
+
quality?: VideoQuality | undefined;
|
1373
|
+
width?: number | undefined;
|
1374
|
+
height?: number | undefined;
|
1375
|
+
bitrate?: number | undefined;
|
1376
|
+
ssrc?: number | undefined;
|
1377
|
+
}[] & ({
|
1378
|
+
quality?: VideoQuality | undefined;
|
1379
|
+
width?: number | undefined;
|
1380
|
+
height?: number | undefined;
|
1381
|
+
bitrate?: number | undefined;
|
1382
|
+
ssrc?: number | undefined;
|
1383
|
+
} & {
|
1384
|
+
quality?: VideoQuality | undefined;
|
1385
|
+
width?: number | undefined;
|
1386
|
+
height?: number | undefined;
|
1387
|
+
bitrate?: number | undefined;
|
1388
|
+
ssrc?: number | undefined;
|
1389
|
+
} & { [K_7 in Exclude<keyof I_1["layers"][number], keyof VideoLayer>]: never; })[] & { [K_8 in Exclude<keyof I_1["layers"], keyof {
|
1390
|
+
quality?: VideoQuality | undefined;
|
1391
|
+
width?: number | undefined;
|
1392
|
+
height?: number | undefined;
|
1393
|
+
bitrate?: number | undefined;
|
1394
|
+
ssrc?: number | undefined;
|
1395
|
+
}[]>]: never; }) | undefined;
|
1396
|
+
mimeType?: string | undefined;
|
1397
|
+
mid?: string | undefined;
|
1398
|
+
codecs?: ({
|
1399
|
+
mimeType?: string | undefined;
|
1400
|
+
mid?: string | undefined;
|
1401
|
+
cid?: string | undefined;
|
1402
|
+
layers?: {
|
1403
|
+
quality?: VideoQuality | undefined;
|
1404
|
+
width?: number | undefined;
|
1405
|
+
height?: number | undefined;
|
1406
|
+
bitrate?: number | undefined;
|
1407
|
+
ssrc?: number | undefined;
|
1408
|
+
}[] | undefined;
|
1409
|
+
}[] & ({
|
1410
|
+
mimeType?: string | undefined;
|
1411
|
+
mid?: string | undefined;
|
1412
|
+
cid?: string | undefined;
|
1413
|
+
layers?: {
|
1414
|
+
quality?: VideoQuality | undefined;
|
1415
|
+
width?: number | undefined;
|
1416
|
+
height?: number | undefined;
|
1417
|
+
bitrate?: number | undefined;
|
1418
|
+
ssrc?: number | undefined;
|
1419
|
+
}[] | undefined;
|
1420
|
+
} & {
|
1421
|
+
mimeType?: string | undefined;
|
1422
|
+
mid?: string | undefined;
|
1423
|
+
cid?: string | undefined;
|
1424
|
+
layers?: ({
|
1425
|
+
quality?: VideoQuality | undefined;
|
1426
|
+
width?: number | undefined;
|
1427
|
+
height?: number | undefined;
|
1428
|
+
bitrate?: number | undefined;
|
1429
|
+
ssrc?: number | undefined;
|
1430
|
+
}[] & ({
|
1431
|
+
quality?: VideoQuality | undefined;
|
1432
|
+
width?: number | undefined;
|
1433
|
+
height?: number | undefined;
|
1434
|
+
bitrate?: number | undefined;
|
1435
|
+
ssrc?: number | undefined;
|
1436
|
+
} & {
|
1437
|
+
quality?: VideoQuality | undefined;
|
1438
|
+
width?: number | undefined;
|
1439
|
+
height?: number | undefined;
|
1440
|
+
bitrate?: number | undefined;
|
1441
|
+
ssrc?: number | undefined;
|
1442
|
+
} & { [K_9 in Exclude<keyof I_1["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_10 in Exclude<keyof I_1["codecs"][number]["layers"], keyof {
|
1443
|
+
quality?: VideoQuality | undefined;
|
1444
|
+
width?: number | undefined;
|
1445
|
+
height?: number | undefined;
|
1446
|
+
bitrate?: number | undefined;
|
1447
|
+
ssrc?: number | undefined;
|
1448
|
+
}[]>]: never; }) | undefined;
|
1449
|
+
} & { [K_11 in Exclude<keyof I_1["codecs"][number], keyof SimulcastCodecInfo>]: never; })[] & { [K_12 in Exclude<keyof I_1["codecs"], keyof {
|
1450
|
+
mimeType?: string | undefined;
|
1451
|
+
mid?: string | undefined;
|
1452
|
+
cid?: string | undefined;
|
1453
|
+
layers?: {
|
1454
|
+
quality?: VideoQuality | undefined;
|
1455
|
+
width?: number | undefined;
|
1456
|
+
height?: number | undefined;
|
1457
|
+
bitrate?: number | undefined;
|
1458
|
+
ssrc?: number | undefined;
|
1459
|
+
}[] | undefined;
|
1460
|
+
}[]>]: never; }) | undefined;
|
1461
|
+
stereo?: boolean | undefined;
|
1462
|
+
disableRed?: boolean | undefined;
|
1463
|
+
encryption?: Encryption_Type | undefined;
|
1464
|
+
} & { [K_13 in Exclude<keyof I_1, keyof TrackInfo>]: never; }>(object: I_1): TrackInfo;
|
1465
|
+
};
|
1466
|
+
export declare const VideoLayer: {
|
1467
|
+
encode(message: VideoLayer, writer?: _m0.Writer): _m0.Writer;
|
1468
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): VideoLayer;
|
1469
|
+
fromJSON(object: any): VideoLayer;
|
1470
|
+
toJSON(message: VideoLayer): unknown;
|
1471
|
+
create<I extends {
|
1472
|
+
quality?: VideoQuality | undefined;
|
1473
|
+
width?: number | undefined;
|
1474
|
+
height?: number | undefined;
|
1475
|
+
bitrate?: number | undefined;
|
1476
|
+
ssrc?: number | undefined;
|
1477
|
+
} & {
|
1478
|
+
quality?: VideoQuality | undefined;
|
1479
|
+
width?: number | undefined;
|
1480
|
+
height?: number | undefined;
|
1481
|
+
bitrate?: number | undefined;
|
1482
|
+
ssrc?: number | undefined;
|
1483
|
+
} & { [K in Exclude<keyof I, keyof VideoLayer>]: never; }>(base?: I | undefined): VideoLayer;
|
1484
|
+
fromPartial<I_1 extends {
|
1485
|
+
quality?: VideoQuality | undefined;
|
1486
|
+
width?: number | undefined;
|
1487
|
+
height?: number | undefined;
|
1488
|
+
bitrate?: number | undefined;
|
1489
|
+
ssrc?: number | undefined;
|
1490
|
+
} & {
|
1491
|
+
quality?: VideoQuality | undefined;
|
1492
|
+
width?: number | undefined;
|
1493
|
+
height?: number | undefined;
|
1494
|
+
bitrate?: number | undefined;
|
1495
|
+
ssrc?: number | undefined;
|
1496
|
+
} & { [K_1 in Exclude<keyof I_1, keyof VideoLayer>]: never; }>(object: I_1): VideoLayer;
|
1497
|
+
};
|
1498
|
+
export declare const DataPacket: {
|
1499
|
+
encode(message: DataPacket, writer?: _m0.Writer): _m0.Writer;
|
1500
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DataPacket;
|
1501
|
+
fromJSON(object: any): DataPacket;
|
1502
|
+
toJSON(message: DataPacket): unknown;
|
1503
|
+
create<I extends {
|
1504
|
+
kind?: DataPacket_Kind | undefined;
|
1505
|
+
value?: ({
|
1506
|
+
user?: {
|
1507
|
+
participantSid?: string | undefined;
|
1508
|
+
payload?: Uint8Array | undefined;
|
1509
|
+
destinationSids?: string[] | undefined;
|
1510
|
+
topic?: string | undefined;
|
1511
|
+
} | undefined;
|
1512
|
+
} & {
|
1513
|
+
$case: "user";
|
1514
|
+
}) | ({
|
1515
|
+
speaker?: {
|
1516
|
+
speakers?: {
|
1517
|
+
sid?: string | undefined;
|
1518
|
+
level?: number | undefined;
|
1519
|
+
active?: boolean | undefined;
|
1520
|
+
}[] | undefined;
|
1521
|
+
} | undefined;
|
1522
|
+
} & {
|
1523
|
+
$case: "speaker";
|
1524
|
+
}) | undefined;
|
1525
|
+
} & {
|
1526
|
+
kind?: DataPacket_Kind | undefined;
|
1527
|
+
value?: ({
|
1528
|
+
user?: {
|
1529
|
+
participantSid?: string | undefined;
|
1530
|
+
payload?: Uint8Array | undefined;
|
1531
|
+
destinationSids?: string[] | undefined;
|
1532
|
+
topic?: string | undefined;
|
1533
|
+
} | undefined;
|
1534
|
+
} & {
|
1535
|
+
$case: "user";
|
1536
|
+
} & {
|
1537
|
+
user?: ({
|
1538
|
+
participantSid?: string | undefined;
|
1539
|
+
payload?: Uint8Array | undefined;
|
1540
|
+
destinationSids?: string[] | undefined;
|
1541
|
+
topic?: string | undefined;
|
1542
|
+
} & {
|
1543
|
+
participantSid?: string | undefined;
|
1544
|
+
payload?: Uint8Array | undefined;
|
1545
|
+
destinationSids?: (string[] & string[] & { [K in Exclude<keyof I["value"]["user"]["destinationSids"], keyof string[]>]: never; }) | undefined;
|
1546
|
+
topic?: string | undefined;
|
1547
|
+
} & { [K_1 in Exclude<keyof I["value"]["user"], keyof UserPacket>]: never; }) | undefined;
|
1548
|
+
$case: "user";
|
1549
|
+
} & { [K_2 in Exclude<keyof I["value"], "user" | "$case">]: never; }) | ({
|
1550
|
+
speaker?: {
|
1551
|
+
speakers?: {
|
1552
|
+
sid?: string | undefined;
|
1553
|
+
level?: number | undefined;
|
1554
|
+
active?: boolean | undefined;
|
1555
|
+
}[] | undefined;
|
1556
|
+
} | undefined;
|
1557
|
+
} & {
|
1558
|
+
$case: "speaker";
|
1559
|
+
} & {
|
1560
|
+
speaker?: ({
|
1561
|
+
speakers?: {
|
1562
|
+
sid?: string | undefined;
|
1563
|
+
level?: number | undefined;
|
1564
|
+
active?: boolean | undefined;
|
1565
|
+
}[] | undefined;
|
1566
|
+
} & {
|
1567
|
+
speakers?: ({
|
1568
|
+
sid?: string | undefined;
|
1569
|
+
level?: number | undefined;
|
1570
|
+
active?: boolean | undefined;
|
1571
|
+
}[] & ({
|
1572
|
+
sid?: string | undefined;
|
1573
|
+
level?: number | undefined;
|
1574
|
+
active?: boolean | undefined;
|
1575
|
+
} & {
|
1576
|
+
sid?: string | undefined;
|
1577
|
+
level?: number | undefined;
|
1578
|
+
active?: boolean | undefined;
|
1579
|
+
} & { [K_3 in Exclude<keyof I["value"]["speaker"]["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_4 in Exclude<keyof I["value"]["speaker"]["speakers"], keyof {
|
1580
|
+
sid?: string | undefined;
|
1581
|
+
level?: number | undefined;
|
1582
|
+
active?: boolean | undefined;
|
1583
|
+
}[]>]: never; }) | undefined;
|
1584
|
+
} & { [K_5 in Exclude<keyof I["value"]["speaker"], "speakers">]: never; }) | undefined;
|
1585
|
+
$case: "speaker";
|
1586
|
+
} & { [K_6 in Exclude<keyof I["value"], "speaker" | "$case">]: never; }) | undefined;
|
1587
|
+
} & { [K_7 in Exclude<keyof I, keyof DataPacket>]: never; }>(base?: I | undefined): DataPacket;
|
1588
|
+
fromPartial<I_1 extends {
|
1589
|
+
kind?: DataPacket_Kind | undefined;
|
1590
|
+
value?: ({
|
1591
|
+
user?: {
|
1592
|
+
participantSid?: string | undefined;
|
1593
|
+
payload?: Uint8Array | undefined;
|
1594
|
+
destinationSids?: string[] | undefined;
|
1595
|
+
topic?: string | undefined;
|
1596
|
+
} | undefined;
|
1597
|
+
} & {
|
1598
|
+
$case: "user";
|
1599
|
+
}) | ({
|
1600
|
+
speaker?: {
|
1601
|
+
speakers?: {
|
1602
|
+
sid?: string | undefined;
|
1603
|
+
level?: number | undefined;
|
1604
|
+
active?: boolean | undefined;
|
1605
|
+
}[] | undefined;
|
1606
|
+
} | undefined;
|
1607
|
+
} & {
|
1608
|
+
$case: "speaker";
|
1609
|
+
}) | undefined;
|
1610
|
+
} & {
|
1611
|
+
kind?: DataPacket_Kind | undefined;
|
1612
|
+
value?: ({
|
1613
|
+
user?: {
|
1614
|
+
participantSid?: string | undefined;
|
1615
|
+
payload?: Uint8Array | undefined;
|
1616
|
+
destinationSids?: string[] | undefined;
|
1617
|
+
topic?: string | undefined;
|
1618
|
+
} | undefined;
|
1619
|
+
} & {
|
1620
|
+
$case: "user";
|
1621
|
+
} & {
|
1622
|
+
user?: ({
|
1623
|
+
participantSid?: string | undefined;
|
1624
|
+
payload?: Uint8Array | undefined;
|
1625
|
+
destinationSids?: string[] | undefined;
|
1626
|
+
topic?: string | undefined;
|
1627
|
+
} & {
|
1628
|
+
participantSid?: string | undefined;
|
1629
|
+
payload?: Uint8Array | undefined;
|
1630
|
+
destinationSids?: (string[] & string[] & { [K_8 in Exclude<keyof I_1["value"]["user"]["destinationSids"], keyof string[]>]: never; }) | undefined;
|
1631
|
+
topic?: string | undefined;
|
1632
|
+
} & { [K_9 in Exclude<keyof I_1["value"]["user"], keyof UserPacket>]: never; }) | undefined;
|
1633
|
+
$case: "user";
|
1634
|
+
} & { [K_10 in Exclude<keyof I_1["value"], "user" | "$case">]: never; }) | ({
|
1635
|
+
speaker?: {
|
1636
|
+
speakers?: {
|
1637
|
+
sid?: string | undefined;
|
1638
|
+
level?: number | undefined;
|
1639
|
+
active?: boolean | undefined;
|
1640
|
+
}[] | undefined;
|
1641
|
+
} | undefined;
|
1642
|
+
} & {
|
1643
|
+
$case: "speaker";
|
1644
|
+
} & {
|
1645
|
+
speaker?: ({
|
1646
|
+
speakers?: {
|
1647
|
+
sid?: string | undefined;
|
1648
|
+
level?: number | undefined;
|
1649
|
+
active?: boolean | undefined;
|
1650
|
+
}[] | undefined;
|
1651
|
+
} & {
|
1652
|
+
speakers?: ({
|
1653
|
+
sid?: string | undefined;
|
1654
|
+
level?: number | undefined;
|
1655
|
+
active?: boolean | undefined;
|
1656
|
+
}[] & ({
|
1657
|
+
sid?: string | undefined;
|
1658
|
+
level?: number | undefined;
|
1659
|
+
active?: boolean | undefined;
|
1660
|
+
} & {
|
1661
|
+
sid?: string | undefined;
|
1662
|
+
level?: number | undefined;
|
1663
|
+
active?: boolean | undefined;
|
1664
|
+
} & { [K_11 in Exclude<keyof I_1["value"]["speaker"]["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_12 in Exclude<keyof I_1["value"]["speaker"]["speakers"], keyof {
|
1665
|
+
sid?: string | undefined;
|
1666
|
+
level?: number | undefined;
|
1667
|
+
active?: boolean | undefined;
|
1668
|
+
}[]>]: never; }) | undefined;
|
1669
|
+
} & { [K_13 in Exclude<keyof I_1["value"]["speaker"], "speakers">]: never; }) | undefined;
|
1670
|
+
$case: "speaker";
|
1671
|
+
} & { [K_14 in Exclude<keyof I_1["value"], "speaker" | "$case">]: never; }) | undefined;
|
1672
|
+
} & { [K_15 in Exclude<keyof I_1, keyof DataPacket>]: never; }>(object: I_1): DataPacket;
|
1673
|
+
};
|
1674
|
+
export declare const ActiveSpeakerUpdate: {
|
1675
|
+
encode(message: ActiveSpeakerUpdate, writer?: _m0.Writer): _m0.Writer;
|
1676
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ActiveSpeakerUpdate;
|
1677
|
+
fromJSON(object: any): ActiveSpeakerUpdate;
|
1678
|
+
toJSON(message: ActiveSpeakerUpdate): unknown;
|
1679
|
+
create<I extends {
|
1680
|
+
speakers?: {
|
1681
|
+
sid?: string | undefined;
|
1682
|
+
level?: number | undefined;
|
1683
|
+
active?: boolean | undefined;
|
1684
|
+
}[] | undefined;
|
1685
|
+
} & {
|
1686
|
+
speakers?: ({
|
1687
|
+
sid?: string | undefined;
|
1688
|
+
level?: number | undefined;
|
1689
|
+
active?: boolean | undefined;
|
1690
|
+
}[] & ({
|
1691
|
+
sid?: string | undefined;
|
1692
|
+
level?: number | undefined;
|
1693
|
+
active?: boolean | undefined;
|
1694
|
+
} & {
|
1695
|
+
sid?: string | undefined;
|
1696
|
+
level?: number | undefined;
|
1697
|
+
active?: boolean | undefined;
|
1698
|
+
} & { [K in Exclude<keyof I["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_1 in Exclude<keyof I["speakers"], keyof {
|
1699
|
+
sid?: string | undefined;
|
1700
|
+
level?: number | undefined;
|
1701
|
+
active?: boolean | undefined;
|
1702
|
+
}[]>]: never; }) | undefined;
|
1703
|
+
} & { [K_2 in Exclude<keyof I, "speakers">]: never; }>(base?: I | undefined): ActiveSpeakerUpdate;
|
1704
|
+
fromPartial<I_1 extends {
|
1705
|
+
speakers?: {
|
1706
|
+
sid?: string | undefined;
|
1707
|
+
level?: number | undefined;
|
1708
|
+
active?: boolean | undefined;
|
1709
|
+
}[] | undefined;
|
1710
|
+
} & {
|
1711
|
+
speakers?: ({
|
1712
|
+
sid?: string | undefined;
|
1713
|
+
level?: number | undefined;
|
1714
|
+
active?: boolean | undefined;
|
1715
|
+
}[] & ({
|
1716
|
+
sid?: string | undefined;
|
1717
|
+
level?: number | undefined;
|
1718
|
+
active?: boolean | undefined;
|
1719
|
+
} & {
|
1720
|
+
sid?: string | undefined;
|
1721
|
+
level?: number | undefined;
|
1722
|
+
active?: boolean | undefined;
|
1723
|
+
} & { [K_3 in Exclude<keyof I_1["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_4 in Exclude<keyof I_1["speakers"], keyof {
|
1724
|
+
sid?: string | undefined;
|
1725
|
+
level?: number | undefined;
|
1726
|
+
active?: boolean | undefined;
|
1727
|
+
}[]>]: never; }) | undefined;
|
1728
|
+
} & { [K_5 in Exclude<keyof I_1, "speakers">]: never; }>(object: I_1): ActiveSpeakerUpdate;
|
1729
|
+
};
|
1730
|
+
export declare const SpeakerInfo: {
|
1731
|
+
encode(message: SpeakerInfo, writer?: _m0.Writer): _m0.Writer;
|
1732
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): SpeakerInfo;
|
1733
|
+
fromJSON(object: any): SpeakerInfo;
|
1734
|
+
toJSON(message: SpeakerInfo): unknown;
|
1735
|
+
create<I extends {
|
1736
|
+
sid?: string | undefined;
|
1737
|
+
level?: number | undefined;
|
1738
|
+
active?: boolean | undefined;
|
1739
|
+
} & {
|
1740
|
+
sid?: string | undefined;
|
1741
|
+
level?: number | undefined;
|
1742
|
+
active?: boolean | undefined;
|
1743
|
+
} & { [K in Exclude<keyof I, keyof SpeakerInfo>]: never; }>(base?: I | undefined): SpeakerInfo;
|
1744
|
+
fromPartial<I_1 extends {
|
1745
|
+
sid?: string | undefined;
|
1746
|
+
level?: number | undefined;
|
1747
|
+
active?: boolean | undefined;
|
1748
|
+
} & {
|
1749
|
+
sid?: string | undefined;
|
1750
|
+
level?: number | undefined;
|
1751
|
+
active?: boolean | undefined;
|
1752
|
+
} & { [K_1 in Exclude<keyof I_1, keyof SpeakerInfo>]: never; }>(object: I_1): SpeakerInfo;
|
1753
|
+
};
|
1754
|
+
export declare const UserPacket: {
|
1755
|
+
encode(message: UserPacket, writer?: _m0.Writer): _m0.Writer;
|
1756
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): UserPacket;
|
1757
|
+
fromJSON(object: any): UserPacket;
|
1758
|
+
toJSON(message: UserPacket): unknown;
|
1759
|
+
create<I extends {
|
1760
|
+
participantSid?: string | undefined;
|
1761
|
+
payload?: Uint8Array | undefined;
|
1762
|
+
destinationSids?: string[] | undefined;
|
1763
|
+
topic?: string | undefined;
|
1764
|
+
} & {
|
1765
|
+
participantSid?: string | undefined;
|
1766
|
+
payload?: Uint8Array | undefined;
|
1767
|
+
destinationSids?: (string[] & string[] & { [K in Exclude<keyof I["destinationSids"], keyof string[]>]: never; }) | undefined;
|
1768
|
+
topic?: string | undefined;
|
1769
|
+
} & { [K_1 in Exclude<keyof I, keyof UserPacket>]: never; }>(base?: I | undefined): UserPacket;
|
1770
|
+
fromPartial<I_1 extends {
|
1771
|
+
participantSid?: string | undefined;
|
1772
|
+
payload?: Uint8Array | undefined;
|
1773
|
+
destinationSids?: string[] | undefined;
|
1774
|
+
topic?: string | undefined;
|
1775
|
+
} & {
|
1776
|
+
participantSid?: string | undefined;
|
1777
|
+
payload?: Uint8Array | undefined;
|
1778
|
+
destinationSids?: (string[] & string[] & { [K_2 in Exclude<keyof I_1["destinationSids"], keyof string[]>]: never; }) | undefined;
|
1779
|
+
topic?: string | undefined;
|
1780
|
+
} & { [K_3 in Exclude<keyof I_1, keyof UserPacket>]: never; }>(object: I_1): UserPacket;
|
1781
|
+
};
|
1782
|
+
export declare const ParticipantTracks: {
|
1783
|
+
encode(message: ParticipantTracks, writer?: _m0.Writer): _m0.Writer;
|
1784
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ParticipantTracks;
|
1785
|
+
fromJSON(object: any): ParticipantTracks;
|
1786
|
+
toJSON(message: ParticipantTracks): unknown;
|
1787
|
+
create<I extends {
|
1788
|
+
participantSid?: string | undefined;
|
1789
|
+
trackSids?: string[] | undefined;
|
1790
|
+
} & {
|
1791
|
+
participantSid?: string | undefined;
|
1792
|
+
trackSids?: (string[] & string[] & { [K in Exclude<keyof I["trackSids"], keyof string[]>]: never; }) | undefined;
|
1793
|
+
} & { [K_1 in Exclude<keyof I, keyof ParticipantTracks>]: never; }>(base?: I | undefined): ParticipantTracks;
|
1794
|
+
fromPartial<I_1 extends {
|
1795
|
+
participantSid?: string | undefined;
|
1796
|
+
trackSids?: string[] | undefined;
|
1797
|
+
} & {
|
1798
|
+
participantSid?: string | undefined;
|
1799
|
+
trackSids?: (string[] & string[] & { [K_2 in Exclude<keyof I_1["trackSids"], keyof string[]>]: never; }) | undefined;
|
1800
|
+
} & { [K_3 in Exclude<keyof I_1, keyof ParticipantTracks>]: never; }>(object: I_1): ParticipantTracks;
|
1801
|
+
};
|
1802
|
+
export declare const ServerInfo: {
|
1803
|
+
encode(message: ServerInfo, writer?: _m0.Writer): _m0.Writer;
|
1804
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ServerInfo;
|
1805
|
+
fromJSON(object: any): ServerInfo;
|
1806
|
+
toJSON(message: ServerInfo): unknown;
|
1807
|
+
create<I extends {
|
1808
|
+
edition?: ServerInfo_Edition | undefined;
|
1809
|
+
version?: string | undefined;
|
1810
|
+
protocol?: number | undefined;
|
1811
|
+
region?: string | undefined;
|
1812
|
+
nodeId?: string | undefined;
|
1813
|
+
debugInfo?: string | undefined;
|
1814
|
+
} & {
|
1815
|
+
edition?: ServerInfo_Edition | undefined;
|
1816
|
+
version?: string | undefined;
|
1817
|
+
protocol?: number | undefined;
|
1818
|
+
region?: string | undefined;
|
1819
|
+
nodeId?: string | undefined;
|
1820
|
+
debugInfo?: string | undefined;
|
1821
|
+
} & { [K in Exclude<keyof I, keyof ServerInfo>]: never; }>(base?: I | undefined): ServerInfo;
|
1822
|
+
fromPartial<I_1 extends {
|
1823
|
+
edition?: ServerInfo_Edition | undefined;
|
1824
|
+
version?: string | undefined;
|
1825
|
+
protocol?: number | undefined;
|
1826
|
+
region?: string | undefined;
|
1827
|
+
nodeId?: string | undefined;
|
1828
|
+
debugInfo?: string | undefined;
|
1829
|
+
} & {
|
1830
|
+
edition?: ServerInfo_Edition | undefined;
|
1831
|
+
version?: string | undefined;
|
1832
|
+
protocol?: number | undefined;
|
1833
|
+
region?: string | undefined;
|
1834
|
+
nodeId?: string | undefined;
|
1835
|
+
debugInfo?: string | undefined;
|
1836
|
+
} & { [K_1 in Exclude<keyof I_1, keyof ServerInfo>]: never; }>(object: I_1): ServerInfo;
|
1837
|
+
};
|
1838
|
+
export declare const ClientInfo: {
|
1839
|
+
encode(message: ClientInfo, writer?: _m0.Writer): _m0.Writer;
|
1840
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ClientInfo;
|
1841
|
+
fromJSON(object: any): ClientInfo;
|
1842
|
+
toJSON(message: ClientInfo): unknown;
|
1843
|
+
create<I extends {
|
1844
|
+
sdk?: ClientInfo_SDK | undefined;
|
1845
|
+
version?: string | undefined;
|
1846
|
+
protocol?: number | undefined;
|
1847
|
+
os?: string | undefined;
|
1848
|
+
osVersion?: string | undefined;
|
1849
|
+
deviceModel?: string | undefined;
|
1850
|
+
browser?: string | undefined;
|
1851
|
+
browserVersion?: string | undefined;
|
1852
|
+
address?: string | undefined;
|
1853
|
+
network?: string | undefined;
|
1854
|
+
} & {
|
1855
|
+
sdk?: ClientInfo_SDK | undefined;
|
1856
|
+
version?: string | undefined;
|
1857
|
+
protocol?: number | undefined;
|
1858
|
+
os?: string | undefined;
|
1859
|
+
osVersion?: string | undefined;
|
1860
|
+
deviceModel?: string | undefined;
|
1861
|
+
browser?: string | undefined;
|
1862
|
+
browserVersion?: string | undefined;
|
1863
|
+
address?: string | undefined;
|
1864
|
+
network?: string | undefined;
|
1865
|
+
} & { [K in Exclude<keyof I, keyof ClientInfo>]: never; }>(base?: I | undefined): ClientInfo;
|
1866
|
+
fromPartial<I_1 extends {
|
1867
|
+
sdk?: ClientInfo_SDK | undefined;
|
1868
|
+
version?: string | undefined;
|
1869
|
+
protocol?: number | undefined;
|
1870
|
+
os?: string | undefined;
|
1871
|
+
osVersion?: string | undefined;
|
1872
|
+
deviceModel?: string | undefined;
|
1873
|
+
browser?: string | undefined;
|
1874
|
+
browserVersion?: string | undefined;
|
1875
|
+
address?: string | undefined;
|
1876
|
+
network?: string | undefined;
|
1877
|
+
} & {
|
1878
|
+
sdk?: ClientInfo_SDK | undefined;
|
1879
|
+
version?: string | undefined;
|
1880
|
+
protocol?: number | undefined;
|
1881
|
+
os?: string | undefined;
|
1882
|
+
osVersion?: string | undefined;
|
1883
|
+
deviceModel?: string | undefined;
|
1884
|
+
browser?: string | undefined;
|
1885
|
+
browserVersion?: string | undefined;
|
1886
|
+
address?: string | undefined;
|
1887
|
+
network?: string | undefined;
|
1888
|
+
} & { [K_1 in Exclude<keyof I_1, keyof ClientInfo>]: never; }>(object: I_1): ClientInfo;
|
1889
|
+
};
|
1890
|
+
export declare const ClientConfiguration: {
|
1891
|
+
encode(message: ClientConfiguration, writer?: _m0.Writer): _m0.Writer;
|
1892
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ClientConfiguration;
|
1893
|
+
fromJSON(object: any): ClientConfiguration;
|
1894
|
+
toJSON(message: ClientConfiguration): unknown;
|
1895
|
+
create<I extends {
|
1896
|
+
video?: {
|
1897
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1898
|
+
} | undefined;
|
1899
|
+
screen?: {
|
1900
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1901
|
+
} | undefined;
|
1902
|
+
resumeConnection?: ClientConfigSetting | undefined;
|
1903
|
+
disabledCodecs?: {
|
1904
|
+
codecs?: {
|
1905
|
+
mime?: string | undefined;
|
1906
|
+
fmtpLine?: string | undefined;
|
1907
|
+
}[] | undefined;
|
1908
|
+
} | undefined;
|
1909
|
+
forceRelay?: ClientConfigSetting | undefined;
|
1910
|
+
} & {
|
1911
|
+
video?: ({
|
1912
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1913
|
+
} & {
|
1914
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1915
|
+
} & { [K in Exclude<keyof I["video"], "hardwareEncoder">]: never; }) | undefined;
|
1916
|
+
screen?: ({
|
1917
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1918
|
+
} & {
|
1919
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1920
|
+
} & { [K_1 in Exclude<keyof I["screen"], "hardwareEncoder">]: never; }) | undefined;
|
1921
|
+
resumeConnection?: ClientConfigSetting | undefined;
|
1922
|
+
disabledCodecs?: ({
|
1923
|
+
codecs?: {
|
1924
|
+
mime?: string | undefined;
|
1925
|
+
fmtpLine?: string | undefined;
|
1926
|
+
}[] | undefined;
|
1927
|
+
} & {
|
1928
|
+
codecs?: ({
|
1929
|
+
mime?: string | undefined;
|
1930
|
+
fmtpLine?: string | undefined;
|
1931
|
+
}[] & ({
|
1932
|
+
mime?: string | undefined;
|
1933
|
+
fmtpLine?: string | undefined;
|
1934
|
+
} & {
|
1935
|
+
mime?: string | undefined;
|
1936
|
+
fmtpLine?: string | undefined;
|
1937
|
+
} & { [K_2 in Exclude<keyof I["disabledCodecs"]["codecs"][number], keyof Codec>]: never; })[] & { [K_3 in Exclude<keyof I["disabledCodecs"]["codecs"], keyof {
|
1938
|
+
mime?: string | undefined;
|
1939
|
+
fmtpLine?: string | undefined;
|
1940
|
+
}[]>]: never; }) | undefined;
|
1941
|
+
} & { [K_4 in Exclude<keyof I["disabledCodecs"], "codecs">]: never; }) | undefined;
|
1942
|
+
forceRelay?: ClientConfigSetting | undefined;
|
1943
|
+
} & { [K_5 in Exclude<keyof I, keyof ClientConfiguration>]: never; }>(base?: I | undefined): ClientConfiguration;
|
1944
|
+
fromPartial<I_1 extends {
|
1945
|
+
video?: {
|
1946
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1947
|
+
} | undefined;
|
1948
|
+
screen?: {
|
1949
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1950
|
+
} | undefined;
|
1951
|
+
resumeConnection?: ClientConfigSetting | undefined;
|
1952
|
+
disabledCodecs?: {
|
1953
|
+
codecs?: {
|
1954
|
+
mime?: string | undefined;
|
1955
|
+
fmtpLine?: string | undefined;
|
1956
|
+
}[] | undefined;
|
1957
|
+
} | undefined;
|
1958
|
+
forceRelay?: ClientConfigSetting | undefined;
|
1959
|
+
} & {
|
1960
|
+
video?: ({
|
1961
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1962
|
+
} & {
|
1963
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1964
|
+
} & { [K_6 in Exclude<keyof I_1["video"], "hardwareEncoder">]: never; }) | undefined;
|
1965
|
+
screen?: ({
|
1966
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1967
|
+
} & {
|
1968
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1969
|
+
} & { [K_7 in Exclude<keyof I_1["screen"], "hardwareEncoder">]: never; }) | undefined;
|
1970
|
+
resumeConnection?: ClientConfigSetting | undefined;
|
1971
|
+
disabledCodecs?: ({
|
1972
|
+
codecs?: {
|
1973
|
+
mime?: string | undefined;
|
1974
|
+
fmtpLine?: string | undefined;
|
1975
|
+
}[] | undefined;
|
1976
|
+
} & {
|
1977
|
+
codecs?: ({
|
1978
|
+
mime?: string | undefined;
|
1979
|
+
fmtpLine?: string | undefined;
|
1980
|
+
}[] & ({
|
1981
|
+
mime?: string | undefined;
|
1982
|
+
fmtpLine?: string | undefined;
|
1983
|
+
} & {
|
1984
|
+
mime?: string | undefined;
|
1985
|
+
fmtpLine?: string | undefined;
|
1986
|
+
} & { [K_8 in Exclude<keyof I_1["disabledCodecs"]["codecs"][number], keyof Codec>]: never; })[] & { [K_9 in Exclude<keyof I_1["disabledCodecs"]["codecs"], keyof {
|
1987
|
+
mime?: string | undefined;
|
1988
|
+
fmtpLine?: string | undefined;
|
1989
|
+
}[]>]: never; }) | undefined;
|
1990
|
+
} & { [K_10 in Exclude<keyof I_1["disabledCodecs"], "codecs">]: never; }) | undefined;
|
1991
|
+
forceRelay?: ClientConfigSetting | undefined;
|
1992
|
+
} & { [K_11 in Exclude<keyof I_1, keyof ClientConfiguration>]: never; }>(object: I_1): ClientConfiguration;
|
1993
|
+
};
|
1994
|
+
export declare const VideoConfiguration: {
|
1995
|
+
encode(message: VideoConfiguration, writer?: _m0.Writer): _m0.Writer;
|
1996
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): VideoConfiguration;
|
1997
|
+
fromJSON(object: any): VideoConfiguration;
|
1998
|
+
toJSON(message: VideoConfiguration): unknown;
|
1999
|
+
create<I extends {
|
2000
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
2001
|
+
} & {
|
2002
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
2003
|
+
} & { [K in Exclude<keyof I, "hardwareEncoder">]: never; }>(base?: I | undefined): VideoConfiguration;
|
2004
|
+
fromPartial<I_1 extends {
|
2005
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
2006
|
+
} & {
|
2007
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
2008
|
+
} & { [K_1 in Exclude<keyof I_1, "hardwareEncoder">]: never; }>(object: I_1): VideoConfiguration;
|
2009
|
+
};
|
2010
|
+
export declare const DisabledCodecs: {
|
2011
|
+
encode(message: DisabledCodecs, writer?: _m0.Writer): _m0.Writer;
|
2012
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DisabledCodecs;
|
2013
|
+
fromJSON(object: any): DisabledCodecs;
|
2014
|
+
toJSON(message: DisabledCodecs): unknown;
|
2015
|
+
create<I extends {
|
2016
|
+
codecs?: {
|
2017
|
+
mime?: string | undefined;
|
2018
|
+
fmtpLine?: string | undefined;
|
2019
|
+
}[] | undefined;
|
2020
|
+
} & {
|
2021
|
+
codecs?: ({
|
2022
|
+
mime?: string | undefined;
|
2023
|
+
fmtpLine?: string | undefined;
|
2024
|
+
}[] & ({
|
2025
|
+
mime?: string | undefined;
|
2026
|
+
fmtpLine?: string | undefined;
|
2027
|
+
} & {
|
2028
|
+
mime?: string | undefined;
|
2029
|
+
fmtpLine?: string | undefined;
|
2030
|
+
} & { [K in Exclude<keyof I["codecs"][number], keyof Codec>]: never; })[] & { [K_1 in Exclude<keyof I["codecs"], keyof {
|
2031
|
+
mime?: string | undefined;
|
2032
|
+
fmtpLine?: string | undefined;
|
2033
|
+
}[]>]: never; }) | undefined;
|
2034
|
+
} & { [K_2 in Exclude<keyof I, "codecs">]: never; }>(base?: I | undefined): DisabledCodecs;
|
2035
|
+
fromPartial<I_1 extends {
|
2036
|
+
codecs?: {
|
2037
|
+
mime?: string | undefined;
|
2038
|
+
fmtpLine?: string | undefined;
|
2039
|
+
}[] | undefined;
|
2040
|
+
} & {
|
2041
|
+
codecs?: ({
|
2042
|
+
mime?: string | undefined;
|
2043
|
+
fmtpLine?: string | undefined;
|
2044
|
+
}[] & ({
|
2045
|
+
mime?: string | undefined;
|
2046
|
+
fmtpLine?: string | undefined;
|
2047
|
+
} & {
|
2048
|
+
mime?: string | undefined;
|
2049
|
+
fmtpLine?: string | undefined;
|
2050
|
+
} & { [K_3 in Exclude<keyof I_1["codecs"][number], keyof Codec>]: never; })[] & { [K_4 in Exclude<keyof I_1["codecs"], keyof {
|
2051
|
+
mime?: string | undefined;
|
2052
|
+
fmtpLine?: string | undefined;
|
2053
|
+
}[]>]: never; }) | undefined;
|
2054
|
+
} & { [K_5 in Exclude<keyof I_1, "codecs">]: never; }>(object: I_1): DisabledCodecs;
|
2055
|
+
};
|
2056
|
+
export declare const RTPStats: {
|
2057
|
+
encode(message: RTPStats, writer?: _m0.Writer): _m0.Writer;
|
2058
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RTPStats;
|
2059
|
+
fromJSON(object: any): RTPStats;
|
2060
|
+
toJSON(message: RTPStats): unknown;
|
2061
|
+
create<I extends {
|
2062
|
+
startTime?: Date | undefined;
|
2063
|
+
endTime?: Date | undefined;
|
2064
|
+
duration?: number | undefined;
|
2065
|
+
packets?: number | undefined;
|
2066
|
+
packetRate?: number | undefined;
|
2067
|
+
bytes?: number | undefined;
|
2068
|
+
headerBytes?: number | undefined;
|
2069
|
+
bitrate?: number | undefined;
|
2070
|
+
packetsLost?: number | undefined;
|
2071
|
+
packetLossRate?: number | undefined;
|
2072
|
+
packetLossPercentage?: number | undefined;
|
2073
|
+
packetsDuplicate?: number | undefined;
|
2074
|
+
packetDuplicateRate?: number | undefined;
|
2075
|
+
bytesDuplicate?: number | undefined;
|
2076
|
+
headerBytesDuplicate?: number | undefined;
|
2077
|
+
bitrateDuplicate?: number | undefined;
|
2078
|
+
packetsPadding?: number | undefined;
|
2079
|
+
packetPaddingRate?: number | undefined;
|
2080
|
+
bytesPadding?: number | undefined;
|
2081
|
+
headerBytesPadding?: number | undefined;
|
2082
|
+
bitratePadding?: number | undefined;
|
2083
|
+
packetsOutOfOrder?: number | undefined;
|
2084
|
+
frames?: number | undefined;
|
2085
|
+
frameRate?: number | undefined;
|
2086
|
+
jitterCurrent?: number | undefined;
|
2087
|
+
jitterMax?: number | undefined;
|
2088
|
+
gapHistogram?: {
|
2089
|
+
[x: number]: number | undefined;
|
2090
|
+
} | undefined;
|
2091
|
+
nacks?: number | undefined;
|
2092
|
+
nackAcks?: number | undefined;
|
2093
|
+
nackMisses?: number | undefined;
|
2094
|
+
nackRepeated?: number | undefined;
|
2095
|
+
plis?: number | undefined;
|
2096
|
+
lastPli?: Date | undefined;
|
2097
|
+
firs?: number | undefined;
|
2098
|
+
lastFir?: Date | undefined;
|
2099
|
+
rttCurrent?: number | undefined;
|
2100
|
+
rttMax?: number | undefined;
|
2101
|
+
keyFrames?: number | undefined;
|
2102
|
+
lastKeyFrame?: Date | undefined;
|
2103
|
+
layerLockPlis?: number | undefined;
|
2104
|
+
lastLayerLockPli?: Date | undefined;
|
2105
|
+
} & {
|
2106
|
+
startTime?: Date | undefined;
|
2107
|
+
endTime?: Date | undefined;
|
2108
|
+
duration?: number | undefined;
|
2109
|
+
packets?: number | undefined;
|
2110
|
+
packetRate?: number | undefined;
|
2111
|
+
bytes?: number | undefined;
|
2112
|
+
headerBytes?: number | undefined;
|
2113
|
+
bitrate?: number | undefined;
|
2114
|
+
packetsLost?: number | undefined;
|
2115
|
+
packetLossRate?: number | undefined;
|
2116
|
+
packetLossPercentage?: number | undefined;
|
2117
|
+
packetsDuplicate?: number | undefined;
|
2118
|
+
packetDuplicateRate?: number | undefined;
|
2119
|
+
bytesDuplicate?: number | undefined;
|
2120
|
+
headerBytesDuplicate?: number | undefined;
|
2121
|
+
bitrateDuplicate?: number | undefined;
|
2122
|
+
packetsPadding?: number | undefined;
|
2123
|
+
packetPaddingRate?: number | undefined;
|
2124
|
+
bytesPadding?: number | undefined;
|
2125
|
+
headerBytesPadding?: number | undefined;
|
2126
|
+
bitratePadding?: number | undefined;
|
2127
|
+
packetsOutOfOrder?: number | undefined;
|
2128
|
+
frames?: number | undefined;
|
2129
|
+
frameRate?: number | undefined;
|
2130
|
+
jitterCurrent?: number | undefined;
|
2131
|
+
jitterMax?: number | undefined;
|
2132
|
+
gapHistogram?: ({
|
2133
|
+
[x: number]: number | undefined;
|
2134
|
+
} & {
|
2135
|
+
[x: number]: number | undefined;
|
2136
|
+
} & { [K in Exclude<keyof I["gapHistogram"], number>]: never; }) | undefined;
|
2137
|
+
nacks?: number | undefined;
|
2138
|
+
nackAcks?: number | undefined;
|
2139
|
+
nackMisses?: number | undefined;
|
2140
|
+
nackRepeated?: number | undefined;
|
2141
|
+
plis?: number | undefined;
|
2142
|
+
lastPli?: Date | undefined;
|
2143
|
+
firs?: number | undefined;
|
2144
|
+
lastFir?: Date | undefined;
|
2145
|
+
rttCurrent?: number | undefined;
|
2146
|
+
rttMax?: number | undefined;
|
2147
|
+
keyFrames?: number | undefined;
|
2148
|
+
lastKeyFrame?: Date | undefined;
|
2149
|
+
layerLockPlis?: number | undefined;
|
2150
|
+
lastLayerLockPli?: Date | undefined;
|
2151
|
+
} & { [K_1 in Exclude<keyof I, keyof RTPStats>]: never; }>(base?: I | undefined): RTPStats;
|
2152
|
+
fromPartial<I_1 extends {
|
2153
|
+
startTime?: Date | undefined;
|
2154
|
+
endTime?: Date | undefined;
|
2155
|
+
duration?: number | undefined;
|
2156
|
+
packets?: number | undefined;
|
2157
|
+
packetRate?: number | undefined;
|
2158
|
+
bytes?: number | undefined;
|
2159
|
+
headerBytes?: number | undefined;
|
2160
|
+
bitrate?: number | undefined;
|
2161
|
+
packetsLost?: number | undefined;
|
2162
|
+
packetLossRate?: number | undefined;
|
2163
|
+
packetLossPercentage?: number | undefined;
|
2164
|
+
packetsDuplicate?: number | undefined;
|
2165
|
+
packetDuplicateRate?: number | undefined;
|
2166
|
+
bytesDuplicate?: number | undefined;
|
2167
|
+
headerBytesDuplicate?: number | undefined;
|
2168
|
+
bitrateDuplicate?: number | undefined;
|
2169
|
+
packetsPadding?: number | undefined;
|
2170
|
+
packetPaddingRate?: number | undefined;
|
2171
|
+
bytesPadding?: number | undefined;
|
2172
|
+
headerBytesPadding?: number | undefined;
|
2173
|
+
bitratePadding?: number | undefined;
|
2174
|
+
packetsOutOfOrder?: number | undefined;
|
2175
|
+
frames?: number | undefined;
|
2176
|
+
frameRate?: number | undefined;
|
2177
|
+
jitterCurrent?: number | undefined;
|
2178
|
+
jitterMax?: number | undefined;
|
2179
|
+
gapHistogram?: {
|
2180
|
+
[x: number]: number | undefined;
|
2181
|
+
} | undefined;
|
2182
|
+
nacks?: number | undefined;
|
2183
|
+
nackAcks?: number | undefined;
|
2184
|
+
nackMisses?: number | undefined;
|
2185
|
+
nackRepeated?: number | undefined;
|
2186
|
+
plis?: number | undefined;
|
2187
|
+
lastPli?: Date | undefined;
|
2188
|
+
firs?: number | undefined;
|
2189
|
+
lastFir?: Date | undefined;
|
2190
|
+
rttCurrent?: number | undefined;
|
2191
|
+
rttMax?: number | undefined;
|
2192
|
+
keyFrames?: number | undefined;
|
2193
|
+
lastKeyFrame?: Date | undefined;
|
2194
|
+
layerLockPlis?: number | undefined;
|
2195
|
+
lastLayerLockPli?: Date | undefined;
|
2196
|
+
} & {
|
2197
|
+
startTime?: Date | undefined;
|
2198
|
+
endTime?: Date | undefined;
|
2199
|
+
duration?: number | undefined;
|
2200
|
+
packets?: number | undefined;
|
2201
|
+
packetRate?: number | undefined;
|
2202
|
+
bytes?: number | undefined;
|
2203
|
+
headerBytes?: number | undefined;
|
2204
|
+
bitrate?: number | undefined;
|
2205
|
+
packetsLost?: number | undefined;
|
2206
|
+
packetLossRate?: number | undefined;
|
2207
|
+
packetLossPercentage?: number | undefined;
|
2208
|
+
packetsDuplicate?: number | undefined;
|
2209
|
+
packetDuplicateRate?: number | undefined;
|
2210
|
+
bytesDuplicate?: number | undefined;
|
2211
|
+
headerBytesDuplicate?: number | undefined;
|
2212
|
+
bitrateDuplicate?: number | undefined;
|
2213
|
+
packetsPadding?: number | undefined;
|
2214
|
+
packetPaddingRate?: number | undefined;
|
2215
|
+
bytesPadding?: number | undefined;
|
2216
|
+
headerBytesPadding?: number | undefined;
|
2217
|
+
bitratePadding?: number | undefined;
|
2218
|
+
packetsOutOfOrder?: number | undefined;
|
2219
|
+
frames?: number | undefined;
|
2220
|
+
frameRate?: number | undefined;
|
2221
|
+
jitterCurrent?: number | undefined;
|
2222
|
+
jitterMax?: number | undefined;
|
2223
|
+
gapHistogram?: ({
|
2224
|
+
[x: number]: number | undefined;
|
2225
|
+
} & {
|
2226
|
+
[x: number]: number | undefined;
|
2227
|
+
} & { [K_2 in Exclude<keyof I_1["gapHistogram"], number>]: never; }) | undefined;
|
2228
|
+
nacks?: number | undefined;
|
2229
|
+
nackAcks?: number | undefined;
|
2230
|
+
nackMisses?: number | undefined;
|
2231
|
+
nackRepeated?: number | undefined;
|
2232
|
+
plis?: number | undefined;
|
2233
|
+
lastPli?: Date | undefined;
|
2234
|
+
firs?: number | undefined;
|
2235
|
+
lastFir?: Date | undefined;
|
2236
|
+
rttCurrent?: number | undefined;
|
2237
|
+
rttMax?: number | undefined;
|
2238
|
+
keyFrames?: number | undefined;
|
2239
|
+
lastKeyFrame?: Date | undefined;
|
2240
|
+
layerLockPlis?: number | undefined;
|
2241
|
+
lastLayerLockPli?: Date | undefined;
|
2242
|
+
} & { [K_3 in Exclude<keyof I_1, keyof RTPStats>]: never; }>(object: I_1): RTPStats;
|
2243
|
+
};
|
2244
|
+
export declare const RTPStats_GapHistogramEntry: {
|
2245
|
+
encode(message: RTPStats_GapHistogramEntry, writer?: _m0.Writer): _m0.Writer;
|
2246
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RTPStats_GapHistogramEntry;
|
2247
|
+
fromJSON(object: any): RTPStats_GapHistogramEntry;
|
2248
|
+
toJSON(message: RTPStats_GapHistogramEntry): unknown;
|
2249
|
+
create<I extends {
|
2250
|
+
key?: number | undefined;
|
2251
|
+
value?: number | undefined;
|
2252
|
+
} & {
|
2253
|
+
key?: number | undefined;
|
2254
|
+
value?: number | undefined;
|
2255
|
+
} & { [K in Exclude<keyof I, keyof RTPStats_GapHistogramEntry>]: never; }>(base?: I | undefined): RTPStats_GapHistogramEntry;
|
2256
|
+
fromPartial<I_1 extends {
|
2257
|
+
key?: number | undefined;
|
2258
|
+
value?: number | undefined;
|
2259
|
+
} & {
|
2260
|
+
key?: number | undefined;
|
2261
|
+
value?: number | undefined;
|
2262
|
+
} & { [K_1 in Exclude<keyof I_1, keyof RTPStats_GapHistogramEntry>]: never; }>(object: I_1): RTPStats_GapHistogramEntry;
|
2263
|
+
};
|
2264
|
+
export declare const TimedVersion: {
|
2265
|
+
encode(message: TimedVersion, writer?: _m0.Writer): _m0.Writer;
|
2266
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TimedVersion;
|
2267
|
+
fromJSON(object: any): TimedVersion;
|
2268
|
+
toJSON(message: TimedVersion): unknown;
|
2269
|
+
create<I extends {
|
2270
|
+
unixMicro?: number | undefined;
|
2271
|
+
ticks?: number | undefined;
|
2272
|
+
} & {
|
2273
|
+
unixMicro?: number | undefined;
|
2274
|
+
ticks?: number | undefined;
|
2275
|
+
} & { [K in Exclude<keyof I, keyof TimedVersion>]: never; }>(base?: I | undefined): TimedVersion;
|
2276
|
+
fromPartial<I_1 extends {
|
2277
|
+
unixMicro?: number | undefined;
|
2278
|
+
ticks?: number | undefined;
|
2279
|
+
} & {
|
2280
|
+
unixMicro?: number | undefined;
|
2281
|
+
ticks?: number | undefined;
|
2282
|
+
} & { [K_1 in Exclude<keyof I_1, keyof TimedVersion>]: never; }>(object: I_1): TimedVersion;
|
2283
|
+
};
|
2284
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
2285
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
2286
|
+
$case: string;
|
2287
|
+
} ? {
|
2288
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
2289
|
+
} & {
|
2290
|
+
$case: T["$case"];
|
2291
|
+
} : T extends {} ? {
|
2292
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
2293
|
+
} : Partial<T>;
|
2294
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
2295
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
2296
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
2297
|
+
} & {
|
2298
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
2299
|
+
};
|
2300
|
+
export {};
|
2301
2301
|
//# sourceMappingURL=livekit_models.d.ts.map
|