livekit-client 1.12.1 → 1.12.3

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