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,2399 +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
- } & { [K in Exclude<keyof I["enabledCodecs"][number], keyof Codec>]: never; })[] & { [K_1 in Exclude<keyof I["enabledCodecs"], keyof {
411
- mime?: string | undefined;
412
- fmtpLine?: string | undefined;
413
- }[]>]: never; }) | undefined;
414
- metadata?: string | undefined;
415
- numParticipants?: number | undefined;
416
- numPublishers?: number | undefined;
417
- activeRecording?: boolean | undefined;
418
- } & { [K_2 in Exclude<keyof I, keyof Room>]: never; }>(base?: I | undefined): Room;
419
- fromPartial<I_1 extends {
420
- sid?: string | undefined;
421
- name?: string | undefined;
422
- emptyTimeout?: number | undefined;
423
- maxParticipants?: number | undefined;
424
- creationTime?: number | undefined;
425
- turnPassword?: string | undefined;
426
- enabledCodecs?: {
427
- mime?: string | undefined;
428
- fmtpLine?: string | undefined;
429
- }[] | undefined;
430
- metadata?: string | undefined;
431
- numParticipants?: number | undefined;
432
- numPublishers?: number | undefined;
433
- activeRecording?: boolean | undefined;
434
- } & {
435
- sid?: string | undefined;
436
- name?: string | undefined;
437
- emptyTimeout?: number | undefined;
438
- maxParticipants?: number | undefined;
439
- creationTime?: number | undefined;
440
- turnPassword?: string | undefined;
441
- enabledCodecs?: ({
442
- mime?: string | undefined;
443
- fmtpLine?: string | undefined;
444
- }[] & ({
445
- mime?: string | undefined;
446
- fmtpLine?: string | undefined;
447
- } & {
448
- mime?: string | undefined;
449
- fmtpLine?: string | undefined;
450
- } & { [K_3 in Exclude<keyof I_1["enabledCodecs"][number], keyof Codec>]: never; })[] & { [K_4 in Exclude<keyof I_1["enabledCodecs"], keyof {
451
- mime?: string | undefined;
452
- fmtpLine?: string | undefined;
453
- }[]>]: never; }) | undefined;
454
- metadata?: string | undefined;
455
- numParticipants?: number | undefined;
456
- numPublishers?: number | undefined;
457
- activeRecording?: boolean | undefined;
458
- } & { [K_5 in Exclude<keyof I_1, keyof Room>]: never; }>(object: I_1): Room;
459
- };
460
- export declare const Codec: {
461
- encode(message: Codec, writer?: _m0.Writer): _m0.Writer;
462
- decode(input: _m0.Reader | Uint8Array, length?: number): Codec;
463
- fromJSON(object: any): Codec;
464
- toJSON(message: Codec): unknown;
465
- create<I extends {
466
- mime?: string | undefined;
467
- fmtpLine?: string | undefined;
468
- } & {
469
- mime?: string | undefined;
470
- fmtpLine?: string | undefined;
471
- } & { [K in Exclude<keyof I, keyof Codec>]: never; }>(base?: I | undefined): Codec;
472
- fromPartial<I_1 extends {
473
- mime?: string | undefined;
474
- fmtpLine?: string | undefined;
475
- } & {
476
- mime?: string | undefined;
477
- fmtpLine?: string | undefined;
478
- } & { [K_1 in Exclude<keyof I_1, keyof Codec>]: never; }>(object: I_1): Codec;
479
- };
480
- export declare const ParticipantPermission: {
481
- encode(message: ParticipantPermission, writer?: _m0.Writer): _m0.Writer;
482
- decode(input: _m0.Reader | Uint8Array, length?: number): ParticipantPermission;
483
- fromJSON(object: any): ParticipantPermission;
484
- toJSON(message: ParticipantPermission): unknown;
485
- create<I extends {
486
- canSubscribe?: boolean | undefined;
487
- canPublish?: boolean | undefined;
488
- canPublishData?: boolean | undefined;
489
- canPublishSources?: TrackSource[] | undefined;
490
- hidden?: boolean | undefined;
491
- recorder?: boolean | undefined;
492
- canUpdateMetadata?: boolean | undefined;
493
- } & {
494
- canSubscribe?: boolean | undefined;
495
- canPublish?: boolean | undefined;
496
- canPublishData?: boolean | undefined;
497
- canPublishSources?: (TrackSource[] & TrackSource[] & { [K in Exclude<keyof I["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
498
- hidden?: boolean | undefined;
499
- recorder?: boolean | undefined;
500
- canUpdateMetadata?: boolean | undefined;
501
- } & { [K_1 in Exclude<keyof I, keyof ParticipantPermission>]: never; }>(base?: I | undefined): ParticipantPermission;
502
- fromPartial<I_1 extends {
503
- canSubscribe?: boolean | undefined;
504
- canPublish?: boolean | undefined;
505
- canPublishData?: boolean | undefined;
506
- canPublishSources?: TrackSource[] | undefined;
507
- hidden?: boolean | undefined;
508
- recorder?: boolean | undefined;
509
- canUpdateMetadata?: boolean | undefined;
510
- } & {
511
- canSubscribe?: boolean | undefined;
512
- canPublish?: boolean | undefined;
513
- canPublishData?: boolean | undefined;
514
- canPublishSources?: (TrackSource[] & TrackSource[] & { [K_2 in Exclude<keyof I_1["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
515
- hidden?: boolean | undefined;
516
- recorder?: boolean | undefined;
517
- canUpdateMetadata?: boolean | undefined;
518
- } & { [K_3 in Exclude<keyof I_1, keyof ParticipantPermission>]: never; }>(object: I_1): ParticipantPermission;
519
- };
520
- export declare const ParticipantInfo: {
521
- encode(message: ParticipantInfo, writer?: _m0.Writer): _m0.Writer;
522
- decode(input: _m0.Reader | Uint8Array, length?: number): ParticipantInfo;
523
- fromJSON(object: any): ParticipantInfo;
524
- toJSON(message: ParticipantInfo): unknown;
525
- create<I extends {
526
- sid?: string | undefined;
527
- identity?: string | undefined;
528
- state?: ParticipantInfo_State | undefined;
529
- tracks?: {
530
- sid?: string | undefined;
531
- type?: TrackType | undefined;
532
- name?: string | undefined;
533
- muted?: boolean | undefined;
534
- width?: number | undefined;
535
- height?: number | undefined;
536
- simulcast?: boolean | undefined;
537
- disableDtx?: boolean | undefined;
538
- source?: TrackSource | undefined;
539
- layers?: {
540
- quality?: VideoQuality | undefined;
541
- width?: number | undefined;
542
- height?: number | undefined;
543
- bitrate?: number | undefined;
544
- ssrc?: number | undefined;
545
- }[] | undefined;
546
- mimeType?: string | undefined;
547
- mid?: string | undefined;
548
- codecs?: {
549
- mimeType?: string | undefined;
550
- mid?: string | undefined;
551
- cid?: string | undefined;
552
- layers?: {
553
- quality?: VideoQuality | undefined;
554
- width?: number | undefined;
555
- height?: number | undefined;
556
- bitrate?: number | undefined;
557
- ssrc?: number | undefined;
558
- }[] | undefined;
559
- }[] | undefined;
560
- stereo?: boolean | undefined;
561
- disableRed?: boolean | undefined;
562
- encryption?: Encryption_Type | undefined;
563
- }[] | undefined;
564
- metadata?: string | undefined;
565
- joinedAt?: number | undefined;
566
- name?: string | undefined;
567
- version?: number | undefined;
568
- permission?: {
569
- canSubscribe?: boolean | undefined;
570
- canPublish?: boolean | undefined;
571
- canPublishData?: boolean | undefined;
572
- canPublishSources?: TrackSource[] | undefined;
573
- hidden?: boolean | undefined;
574
- recorder?: boolean | undefined;
575
- canUpdateMetadata?: boolean | undefined;
576
- } | undefined;
577
- region?: string | undefined;
578
- isPublisher?: boolean | undefined;
579
- } & {
580
- sid?: string | undefined;
581
- identity?: string | undefined;
582
- state?: ParticipantInfo_State | undefined;
583
- tracks?: ({
584
- sid?: string | undefined;
585
- type?: TrackType | undefined;
586
- name?: string | undefined;
587
- muted?: boolean | undefined;
588
- width?: number | undefined;
589
- height?: number | undefined;
590
- simulcast?: boolean | undefined;
591
- disableDtx?: boolean | undefined;
592
- source?: TrackSource | undefined;
593
- layers?: {
594
- quality?: VideoQuality | undefined;
595
- width?: number | undefined;
596
- height?: number | undefined;
597
- bitrate?: number | undefined;
598
- ssrc?: number | undefined;
599
- }[] | undefined;
600
- mimeType?: string | undefined;
601
- mid?: string | undefined;
602
- codecs?: {
603
- mimeType?: string | undefined;
604
- mid?: string | undefined;
605
- cid?: string | undefined;
606
- layers?: {
607
- quality?: VideoQuality | undefined;
608
- width?: number | undefined;
609
- height?: number | undefined;
610
- bitrate?: number | undefined;
611
- ssrc?: number | undefined;
612
- }[] | undefined;
613
- }[] | undefined;
614
- stereo?: boolean | undefined;
615
- disableRed?: boolean | undefined;
616
- encryption?: Encryption_Type | undefined;
617
- }[] & ({
618
- sid?: string | undefined;
619
- type?: TrackType | undefined;
620
- name?: string | undefined;
621
- muted?: boolean | undefined;
622
- width?: number | undefined;
623
- height?: number | undefined;
624
- simulcast?: boolean | undefined;
625
- disableDtx?: boolean | undefined;
626
- source?: TrackSource | undefined;
627
- layers?: {
628
- quality?: VideoQuality | undefined;
629
- width?: number | undefined;
630
- height?: number | undefined;
631
- bitrate?: number | undefined;
632
- ssrc?: number | undefined;
633
- }[] | undefined;
634
- mimeType?: string | undefined;
635
- mid?: string | undefined;
636
- codecs?: {
637
- mimeType?: string | undefined;
638
- mid?: string | undefined;
639
- cid?: string | undefined;
640
- layers?: {
641
- quality?: VideoQuality | undefined;
642
- width?: number | undefined;
643
- height?: number | undefined;
644
- bitrate?: number | undefined;
645
- ssrc?: number | undefined;
646
- }[] | undefined;
647
- }[] | undefined;
648
- stereo?: boolean | undefined;
649
- disableRed?: boolean | undefined;
650
- encryption?: Encryption_Type | undefined;
651
- } & {
652
- sid?: string | undefined;
653
- type?: TrackType | undefined;
654
- name?: string | undefined;
655
- muted?: boolean | undefined;
656
- width?: number | undefined;
657
- height?: number | undefined;
658
- simulcast?: boolean | undefined;
659
- disableDtx?: boolean | undefined;
660
- source?: TrackSource | undefined;
661
- layers?: ({
662
- quality?: VideoQuality | undefined;
663
- width?: number | undefined;
664
- height?: number | undefined;
665
- bitrate?: number | undefined;
666
- ssrc?: number | undefined;
667
- }[] & ({
668
- quality?: VideoQuality | undefined;
669
- width?: number | undefined;
670
- height?: number | undefined;
671
- bitrate?: number | undefined;
672
- ssrc?: number | undefined;
673
- } & {
674
- quality?: VideoQuality | undefined;
675
- width?: number | undefined;
676
- height?: number | undefined;
677
- bitrate?: number | undefined;
678
- ssrc?: number | undefined;
679
- } & { [K in Exclude<keyof I["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_1 in Exclude<keyof I["tracks"][number]["layers"], keyof {
680
- quality?: VideoQuality | undefined;
681
- width?: number | undefined;
682
- height?: number | undefined;
683
- bitrate?: number | undefined;
684
- ssrc?: number | undefined;
685
- }[]>]: never; }) | undefined;
686
- mimeType?: string | undefined;
687
- mid?: string | undefined;
688
- codecs?: ({
689
- mimeType?: string | undefined;
690
- mid?: string | undefined;
691
- cid?: string | undefined;
692
- layers?: {
693
- quality?: VideoQuality | undefined;
694
- width?: number | undefined;
695
- height?: number | undefined;
696
- bitrate?: number | undefined;
697
- ssrc?: number | undefined;
698
- }[] | undefined;
699
- }[] & ({
700
- mimeType?: string | undefined;
701
- mid?: string | undefined;
702
- cid?: string | undefined;
703
- layers?: {
704
- quality?: VideoQuality | undefined;
705
- width?: number | undefined;
706
- height?: number | undefined;
707
- bitrate?: number | undefined;
708
- ssrc?: number | undefined;
709
- }[] | undefined;
710
- } & {
711
- mimeType?: string | undefined;
712
- mid?: string | undefined;
713
- cid?: string | undefined;
714
- layers?: ({
715
- quality?: VideoQuality | undefined;
716
- width?: number | undefined;
717
- height?: number | undefined;
718
- bitrate?: number | undefined;
719
- ssrc?: number | undefined;
720
- }[] & ({
721
- quality?: VideoQuality | undefined;
722
- width?: number | undefined;
723
- height?: number | undefined;
724
- bitrate?: number | undefined;
725
- ssrc?: number | undefined;
726
- } & {
727
- quality?: VideoQuality | undefined;
728
- width?: number | undefined;
729
- height?: number | undefined;
730
- bitrate?: number | undefined;
731
- ssrc?: number | undefined;
732
- } & { [K_2 in Exclude<keyof I["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_3 in Exclude<keyof I["tracks"][number]["codecs"][number]["layers"], keyof {
733
- quality?: VideoQuality | undefined;
734
- width?: number | undefined;
735
- height?: number | undefined;
736
- bitrate?: number | undefined;
737
- ssrc?: number | undefined;
738
- }[]>]: never; }) | undefined;
739
- } & { [K_4 in Exclude<keyof I["tracks"][number]["codecs"][number], keyof SimulcastCodecInfo>]: never; })[] & { [K_5 in Exclude<keyof I["tracks"][number]["codecs"], keyof {
740
- mimeType?: string | undefined;
741
- mid?: string | undefined;
742
- cid?: string | undefined;
743
- layers?: {
744
- quality?: VideoQuality | undefined;
745
- width?: number | undefined;
746
- height?: number | undefined;
747
- bitrate?: number | undefined;
748
- ssrc?: number | undefined;
749
- }[] | undefined;
750
- }[]>]: never; }) | undefined;
751
- stereo?: boolean | undefined;
752
- disableRed?: boolean | undefined;
753
- encryption?: Encryption_Type | undefined;
754
- } & { [K_6 in Exclude<keyof I["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_7 in Exclude<keyof I["tracks"], keyof {
755
- sid?: string | undefined;
756
- type?: TrackType | undefined;
757
- name?: string | undefined;
758
- muted?: boolean | undefined;
759
- width?: number | undefined;
760
- height?: number | undefined;
761
- simulcast?: boolean | undefined;
762
- disableDtx?: boolean | undefined;
763
- source?: TrackSource | undefined;
764
- layers?: {
765
- quality?: VideoQuality | undefined;
766
- width?: number | undefined;
767
- height?: number | undefined;
768
- bitrate?: number | undefined;
769
- ssrc?: number | undefined;
770
- }[] | undefined;
771
- mimeType?: string | undefined;
772
- mid?: string | undefined;
773
- codecs?: {
774
- mimeType?: string | undefined;
775
- mid?: string | undefined;
776
- cid?: string | undefined;
777
- layers?: {
778
- quality?: VideoQuality | undefined;
779
- width?: number | undefined;
780
- height?: number | undefined;
781
- bitrate?: number | undefined;
782
- ssrc?: number | undefined;
783
- }[] | undefined;
784
- }[] | undefined;
785
- stereo?: boolean | undefined;
786
- disableRed?: boolean | undefined;
787
- encryption?: Encryption_Type | undefined;
788
- }[]>]: never; }) | undefined;
789
- metadata?: string | undefined;
790
- joinedAt?: number | undefined;
791
- name?: string | undefined;
792
- version?: number | undefined;
793
- permission?: ({
794
- canSubscribe?: boolean | undefined;
795
- canPublish?: boolean | undefined;
796
- canPublishData?: boolean | undefined;
797
- canPublishSources?: TrackSource[] | undefined;
798
- hidden?: boolean | undefined;
799
- recorder?: boolean | undefined;
800
- canUpdateMetadata?: boolean | undefined;
801
- } & {
802
- canSubscribe?: boolean | undefined;
803
- canPublish?: boolean | undefined;
804
- canPublishData?: boolean | undefined;
805
- canPublishSources?: (TrackSource[] & TrackSource[] & { [K_8 in Exclude<keyof I["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
806
- hidden?: boolean | undefined;
807
- recorder?: boolean | undefined;
808
- canUpdateMetadata?: boolean | undefined;
809
- } & { [K_9 in Exclude<keyof I["permission"], keyof ParticipantPermission>]: never; }) | undefined;
810
- region?: string | undefined;
811
- isPublisher?: boolean | undefined;
812
- } & { [K_10 in Exclude<keyof I, keyof ParticipantInfo>]: never; }>(base?: I | undefined): ParticipantInfo;
813
- fromPartial<I_1 extends {
814
- sid?: string | undefined;
815
- identity?: string | undefined;
816
- state?: ParticipantInfo_State | undefined;
817
- tracks?: {
818
- sid?: string | undefined;
819
- type?: TrackType | undefined;
820
- name?: string | undefined;
821
- muted?: boolean | undefined;
822
- width?: number | undefined;
823
- height?: number | undefined;
824
- simulcast?: boolean | undefined;
825
- disableDtx?: boolean | undefined;
826
- source?: TrackSource | undefined;
827
- layers?: {
828
- quality?: VideoQuality | undefined;
829
- width?: number | undefined;
830
- height?: number | undefined;
831
- bitrate?: number | undefined;
832
- ssrc?: number | undefined;
833
- }[] | undefined;
834
- mimeType?: string | undefined;
835
- mid?: string | undefined;
836
- codecs?: {
837
- mimeType?: string | undefined;
838
- mid?: string | undefined;
839
- cid?: string | undefined;
840
- layers?: {
841
- quality?: VideoQuality | undefined;
842
- width?: number | undefined;
843
- height?: number | undefined;
844
- bitrate?: number | undefined;
845
- ssrc?: number | undefined;
846
- }[] | undefined;
847
- }[] | undefined;
848
- stereo?: boolean | undefined;
849
- disableRed?: boolean | undefined;
850
- encryption?: Encryption_Type | undefined;
851
- }[] | undefined;
852
- metadata?: string | undefined;
853
- joinedAt?: number | undefined;
854
- name?: string | undefined;
855
- version?: number | undefined;
856
- permission?: {
857
- canSubscribe?: boolean | undefined;
858
- canPublish?: boolean | undefined;
859
- canPublishData?: boolean | undefined;
860
- canPublishSources?: TrackSource[] | undefined;
861
- hidden?: boolean | undefined;
862
- recorder?: boolean | undefined;
863
- canUpdateMetadata?: boolean | undefined;
864
- } | undefined;
865
- region?: string | undefined;
866
- isPublisher?: boolean | undefined;
867
- } & {
868
- sid?: string | undefined;
869
- identity?: string | undefined;
870
- state?: ParticipantInfo_State | undefined;
871
- tracks?: ({
872
- sid?: string | undefined;
873
- type?: TrackType | undefined;
874
- name?: string | undefined;
875
- muted?: boolean | undefined;
876
- width?: number | undefined;
877
- height?: number | undefined;
878
- simulcast?: boolean | undefined;
879
- disableDtx?: boolean | undefined;
880
- source?: TrackSource | undefined;
881
- layers?: {
882
- quality?: VideoQuality | undefined;
883
- width?: number | undefined;
884
- height?: number | undefined;
885
- bitrate?: number | undefined;
886
- ssrc?: number | undefined;
887
- }[] | undefined;
888
- mimeType?: string | undefined;
889
- mid?: string | undefined;
890
- codecs?: {
891
- mimeType?: string | undefined;
892
- mid?: string | undefined;
893
- cid?: string | undefined;
894
- layers?: {
895
- quality?: VideoQuality | undefined;
896
- width?: number | undefined;
897
- height?: number | undefined;
898
- bitrate?: number | undefined;
899
- ssrc?: number | undefined;
900
- }[] | undefined;
901
- }[] | undefined;
902
- stereo?: boolean | undefined;
903
- disableRed?: boolean | undefined;
904
- encryption?: Encryption_Type | undefined;
905
- }[] & ({
906
- sid?: string | undefined;
907
- type?: TrackType | undefined;
908
- name?: string | undefined;
909
- muted?: boolean | undefined;
910
- width?: number | undefined;
911
- height?: number | undefined;
912
- simulcast?: boolean | undefined;
913
- disableDtx?: boolean | undefined;
914
- source?: TrackSource | undefined;
915
- layers?: {
916
- quality?: VideoQuality | undefined;
917
- width?: number | undefined;
918
- height?: number | undefined;
919
- bitrate?: number | undefined;
920
- ssrc?: number | undefined;
921
- }[] | undefined;
922
- mimeType?: string | undefined;
923
- mid?: string | undefined;
924
- codecs?: {
925
- mimeType?: string | undefined;
926
- mid?: string | undefined;
927
- cid?: string | undefined;
928
- layers?: {
929
- quality?: VideoQuality | undefined;
930
- width?: number | undefined;
931
- height?: number | undefined;
932
- bitrate?: number | undefined;
933
- ssrc?: number | undefined;
934
- }[] | undefined;
935
- }[] | undefined;
936
- stereo?: boolean | undefined;
937
- disableRed?: boolean | undefined;
938
- encryption?: Encryption_Type | undefined;
939
- } & {
940
- sid?: string | undefined;
941
- type?: TrackType | undefined;
942
- name?: string | undefined;
943
- muted?: boolean | undefined;
944
- width?: number | undefined;
945
- height?: number | undefined;
946
- simulcast?: boolean | undefined;
947
- disableDtx?: boolean | undefined;
948
- source?: TrackSource | undefined;
949
- layers?: ({
950
- quality?: VideoQuality | undefined;
951
- width?: number | undefined;
952
- height?: number | undefined;
953
- bitrate?: number | undefined;
954
- ssrc?: number | undefined;
955
- }[] & ({
956
- quality?: VideoQuality | undefined;
957
- width?: number | undefined;
958
- height?: number | undefined;
959
- bitrate?: number | undefined;
960
- ssrc?: number | undefined;
961
- } & {
962
- quality?: VideoQuality | undefined;
963
- width?: number | undefined;
964
- height?: number | undefined;
965
- bitrate?: number | undefined;
966
- ssrc?: number | undefined;
967
- } & { [K_11 in Exclude<keyof I_1["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_12 in Exclude<keyof I_1["tracks"][number]["layers"], keyof {
968
- quality?: VideoQuality | undefined;
969
- width?: number | undefined;
970
- height?: number | undefined;
971
- bitrate?: number | undefined;
972
- ssrc?: number | undefined;
973
- }[]>]: never; }) | undefined;
974
- mimeType?: string | undefined;
975
- mid?: string | undefined;
976
- codecs?: ({
977
- mimeType?: string | undefined;
978
- mid?: string | undefined;
979
- cid?: string | undefined;
980
- layers?: {
981
- quality?: VideoQuality | undefined;
982
- width?: number | undefined;
983
- height?: number | undefined;
984
- bitrate?: number | undefined;
985
- ssrc?: number | undefined;
986
- }[] | undefined;
987
- }[] & ({
988
- mimeType?: string | undefined;
989
- mid?: string | undefined;
990
- cid?: string | undefined;
991
- layers?: {
992
- quality?: VideoQuality | undefined;
993
- width?: number | undefined;
994
- height?: number | undefined;
995
- bitrate?: number | undefined;
996
- ssrc?: number | undefined;
997
- }[] | undefined;
998
- } & {
999
- mimeType?: string | undefined;
1000
- mid?: string | undefined;
1001
- cid?: string | undefined;
1002
- layers?: ({
1003
- quality?: VideoQuality | undefined;
1004
- width?: number | undefined;
1005
- height?: number | undefined;
1006
- bitrate?: number | undefined;
1007
- ssrc?: number | undefined;
1008
- }[] & ({
1009
- quality?: VideoQuality | undefined;
1010
- width?: number | undefined;
1011
- height?: number | undefined;
1012
- bitrate?: number | undefined;
1013
- ssrc?: number | undefined;
1014
- } & {
1015
- quality?: VideoQuality | undefined;
1016
- width?: number | undefined;
1017
- height?: number | undefined;
1018
- bitrate?: number | undefined;
1019
- ssrc?: number | undefined;
1020
- } & { [K_13 in Exclude<keyof I_1["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_14 in Exclude<keyof I_1["tracks"][number]["codecs"][number]["layers"], keyof {
1021
- quality?: VideoQuality | undefined;
1022
- width?: number | undefined;
1023
- height?: number | undefined;
1024
- bitrate?: number | undefined;
1025
- ssrc?: number | undefined;
1026
- }[]>]: never; }) | undefined;
1027
- } & { [K_15 in Exclude<keyof I_1["tracks"][number]["codecs"][number], keyof SimulcastCodecInfo>]: never; })[] & { [K_16 in Exclude<keyof I_1["tracks"][number]["codecs"], keyof {
1028
- mimeType?: string | undefined;
1029
- mid?: string | undefined;
1030
- cid?: string | undefined;
1031
- layers?: {
1032
- quality?: VideoQuality | undefined;
1033
- width?: number | undefined;
1034
- height?: number | undefined;
1035
- bitrate?: number | undefined;
1036
- ssrc?: number | undefined;
1037
- }[] | undefined;
1038
- }[]>]: never; }) | undefined;
1039
- stereo?: boolean | undefined;
1040
- disableRed?: boolean | undefined;
1041
- encryption?: Encryption_Type | undefined;
1042
- } & { [K_17 in Exclude<keyof I_1["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_18 in Exclude<keyof I_1["tracks"], keyof {
1043
- sid?: string | undefined;
1044
- type?: TrackType | undefined;
1045
- name?: string | undefined;
1046
- muted?: boolean | undefined;
1047
- width?: number | undefined;
1048
- height?: number | undefined;
1049
- simulcast?: boolean | undefined;
1050
- disableDtx?: boolean | undefined;
1051
- source?: TrackSource | undefined;
1052
- layers?: {
1053
- quality?: VideoQuality | undefined;
1054
- width?: number | undefined;
1055
- height?: number | undefined;
1056
- bitrate?: number | undefined;
1057
- ssrc?: number | undefined;
1058
- }[] | undefined;
1059
- mimeType?: string | undefined;
1060
- mid?: string | undefined;
1061
- codecs?: {
1062
- mimeType?: string | undefined;
1063
- mid?: string | undefined;
1064
- cid?: string | undefined;
1065
- layers?: {
1066
- quality?: VideoQuality | undefined;
1067
- width?: number | undefined;
1068
- height?: number | undefined;
1069
- bitrate?: number | undefined;
1070
- ssrc?: number | undefined;
1071
- }[] | undefined;
1072
- }[] | undefined;
1073
- stereo?: boolean | undefined;
1074
- disableRed?: boolean | undefined;
1075
- encryption?: Encryption_Type | undefined;
1076
- }[]>]: never; }) | undefined;
1077
- metadata?: string | undefined;
1078
- joinedAt?: number | undefined;
1079
- name?: string | undefined;
1080
- version?: number | undefined;
1081
- permission?: ({
1082
- canSubscribe?: boolean | undefined;
1083
- canPublish?: boolean | undefined;
1084
- canPublishData?: boolean | undefined;
1085
- canPublishSources?: TrackSource[] | undefined;
1086
- hidden?: boolean | undefined;
1087
- recorder?: boolean | undefined;
1088
- canUpdateMetadata?: boolean | undefined;
1089
- } & {
1090
- canSubscribe?: boolean | undefined;
1091
- canPublish?: boolean | undefined;
1092
- canPublishData?: boolean | undefined;
1093
- canPublishSources?: (TrackSource[] & TrackSource[] & { [K_19 in Exclude<keyof I_1["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
1094
- hidden?: boolean | undefined;
1095
- recorder?: boolean | undefined;
1096
- canUpdateMetadata?: boolean | undefined;
1097
- } & { [K_20 in Exclude<keyof I_1["permission"], keyof ParticipantPermission>]: never; }) | undefined;
1098
- region?: string | undefined;
1099
- isPublisher?: boolean | undefined;
1100
- } & { [K_21 in Exclude<keyof I_1, keyof ParticipantInfo>]: never; }>(object: I_1): ParticipantInfo;
1101
- };
1102
- export declare const Encryption: {
1103
- encode(_: Encryption, writer?: _m0.Writer): _m0.Writer;
1104
- decode(input: _m0.Reader | Uint8Array, length?: number): Encryption;
1105
- fromJSON(_: any): Encryption;
1106
- toJSON(_: Encryption): unknown;
1107
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I | undefined): Encryption;
1108
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): Encryption;
1109
- };
1110
- export declare const SimulcastCodecInfo: {
1111
- encode(message: SimulcastCodecInfo, writer?: _m0.Writer): _m0.Writer;
1112
- decode(input: _m0.Reader | Uint8Array, length?: number): SimulcastCodecInfo;
1113
- fromJSON(object: any): SimulcastCodecInfo;
1114
- toJSON(message: SimulcastCodecInfo): unknown;
1115
- create<I extends {
1116
- mimeType?: string | undefined;
1117
- mid?: string | undefined;
1118
- cid?: string | undefined;
1119
- layers?: {
1120
- quality?: VideoQuality | undefined;
1121
- width?: number | undefined;
1122
- height?: number | undefined;
1123
- bitrate?: number | undefined;
1124
- ssrc?: number | undefined;
1125
- }[] | undefined;
1126
- } & {
1127
- mimeType?: string | undefined;
1128
- mid?: string | undefined;
1129
- cid?: string | undefined;
1130
- layers?: ({
1131
- quality?: VideoQuality | undefined;
1132
- width?: number | undefined;
1133
- height?: number | undefined;
1134
- bitrate?: number | undefined;
1135
- ssrc?: number | undefined;
1136
- }[] & ({
1137
- quality?: VideoQuality | undefined;
1138
- width?: number | undefined;
1139
- height?: number | undefined;
1140
- bitrate?: number | undefined;
1141
- ssrc?: number | undefined;
1142
- } & {
1143
- quality?: VideoQuality | undefined;
1144
- width?: number | undefined;
1145
- height?: number | undefined;
1146
- bitrate?: number | undefined;
1147
- ssrc?: number | undefined;
1148
- } & { [K in Exclude<keyof I["layers"][number], keyof VideoLayer>]: never; })[] & { [K_1 in Exclude<keyof I["layers"], keyof {
1149
- quality?: VideoQuality | undefined;
1150
- width?: number | undefined;
1151
- height?: number | undefined;
1152
- bitrate?: number | undefined;
1153
- ssrc?: number | undefined;
1154
- }[]>]: never; }) | undefined;
1155
- } & { [K_2 in Exclude<keyof I, keyof SimulcastCodecInfo>]: never; }>(base?: I | undefined): SimulcastCodecInfo;
1156
- fromPartial<I_1 extends {
1157
- mimeType?: string | undefined;
1158
- mid?: string | undefined;
1159
- cid?: string | undefined;
1160
- layers?: {
1161
- quality?: VideoQuality | undefined;
1162
- width?: number | undefined;
1163
- height?: number | undefined;
1164
- bitrate?: number | undefined;
1165
- ssrc?: number | undefined;
1166
- }[] | undefined;
1167
- } & {
1168
- mimeType?: string | undefined;
1169
- mid?: string | undefined;
1170
- cid?: string | undefined;
1171
- layers?: ({
1172
- quality?: VideoQuality | undefined;
1173
- width?: number | undefined;
1174
- height?: number | undefined;
1175
- bitrate?: number | undefined;
1176
- ssrc?: number | undefined;
1177
- }[] & ({
1178
- quality?: VideoQuality | undefined;
1179
- width?: number | undefined;
1180
- height?: number | undefined;
1181
- bitrate?: number | undefined;
1182
- ssrc?: number | undefined;
1183
- } & {
1184
- quality?: VideoQuality | undefined;
1185
- width?: number | undefined;
1186
- height?: number | undefined;
1187
- bitrate?: number | undefined;
1188
- ssrc?: number | undefined;
1189
- } & { [K_3 in Exclude<keyof I_1["layers"][number], keyof VideoLayer>]: never; })[] & { [K_4 in Exclude<keyof I_1["layers"], keyof {
1190
- quality?: VideoQuality | undefined;
1191
- width?: number | undefined;
1192
- height?: number | undefined;
1193
- bitrate?: number | undefined;
1194
- ssrc?: number | undefined;
1195
- }[]>]: never; }) | undefined;
1196
- } & { [K_5 in Exclude<keyof I_1, keyof SimulcastCodecInfo>]: never; }>(object: I_1): SimulcastCodecInfo;
1197
- };
1198
- export declare const TrackInfo: {
1199
- encode(message: TrackInfo, writer?: _m0.Writer): _m0.Writer;
1200
- decode(input: _m0.Reader | Uint8Array, length?: number): TrackInfo;
1201
- fromJSON(object: any): TrackInfo;
1202
- toJSON(message: TrackInfo): unknown;
1203
- create<I extends {
1204
- sid?: string | undefined;
1205
- type?: TrackType | undefined;
1206
- name?: string | undefined;
1207
- muted?: boolean | undefined;
1208
- width?: number | undefined;
1209
- height?: number | undefined;
1210
- simulcast?: boolean | undefined;
1211
- disableDtx?: boolean | undefined;
1212
- source?: TrackSource | undefined;
1213
- layers?: {
1214
- quality?: VideoQuality | undefined;
1215
- width?: number | undefined;
1216
- height?: number | undefined;
1217
- bitrate?: number | undefined;
1218
- ssrc?: number | undefined;
1219
- }[] | undefined;
1220
- mimeType?: string | undefined;
1221
- mid?: string | undefined;
1222
- codecs?: {
1223
- mimeType?: string | undefined;
1224
- mid?: string | undefined;
1225
- cid?: string | undefined;
1226
- layers?: {
1227
- quality?: VideoQuality | undefined;
1228
- width?: number | undefined;
1229
- height?: number | undefined;
1230
- bitrate?: number | undefined;
1231
- ssrc?: number | undefined;
1232
- }[] | undefined;
1233
- }[] | undefined;
1234
- stereo?: boolean | undefined;
1235
- disableRed?: boolean | undefined;
1236
- encryption?: Encryption_Type | undefined;
1237
- } & {
1238
- sid?: string | undefined;
1239
- type?: TrackType | undefined;
1240
- name?: string | undefined;
1241
- muted?: boolean | undefined;
1242
- width?: number | undefined;
1243
- height?: number | undefined;
1244
- simulcast?: boolean | undefined;
1245
- disableDtx?: boolean | undefined;
1246
- source?: TrackSource | undefined;
1247
- layers?: ({
1248
- quality?: VideoQuality | undefined;
1249
- width?: number | undefined;
1250
- height?: number | undefined;
1251
- bitrate?: number | undefined;
1252
- ssrc?: number | undefined;
1253
- }[] & ({
1254
- quality?: VideoQuality | undefined;
1255
- width?: number | undefined;
1256
- height?: number | undefined;
1257
- bitrate?: number | undefined;
1258
- ssrc?: number | undefined;
1259
- } & {
1260
- quality?: VideoQuality | undefined;
1261
- width?: number | undefined;
1262
- height?: number | undefined;
1263
- bitrate?: number | undefined;
1264
- ssrc?: number | undefined;
1265
- } & { [K in Exclude<keyof I["layers"][number], keyof VideoLayer>]: never; })[] & { [K_1 in Exclude<keyof I["layers"], keyof {
1266
- quality?: VideoQuality | undefined;
1267
- width?: number | undefined;
1268
- height?: number | undefined;
1269
- bitrate?: number | undefined;
1270
- ssrc?: number | undefined;
1271
- }[]>]: never; }) | undefined;
1272
- mimeType?: string | undefined;
1273
- mid?: string | undefined;
1274
- codecs?: ({
1275
- mimeType?: string | undefined;
1276
- mid?: string | undefined;
1277
- cid?: string | undefined;
1278
- layers?: {
1279
- quality?: VideoQuality | undefined;
1280
- width?: number | undefined;
1281
- height?: number | undefined;
1282
- bitrate?: number | undefined;
1283
- ssrc?: number | undefined;
1284
- }[] | undefined;
1285
- }[] & ({
1286
- mimeType?: string | undefined;
1287
- mid?: string | undefined;
1288
- cid?: string | undefined;
1289
- layers?: {
1290
- quality?: VideoQuality | undefined;
1291
- width?: number | undefined;
1292
- height?: number | undefined;
1293
- bitrate?: number | undefined;
1294
- ssrc?: number | undefined;
1295
- }[] | undefined;
1296
- } & {
1297
- mimeType?: string | undefined;
1298
- mid?: string | undefined;
1299
- cid?: string | undefined;
1300
- layers?: ({
1301
- quality?: VideoQuality | undefined;
1302
- width?: number | undefined;
1303
- height?: number | undefined;
1304
- bitrate?: number | undefined;
1305
- ssrc?: number | undefined;
1306
- }[] & ({
1307
- quality?: VideoQuality | undefined;
1308
- width?: number | undefined;
1309
- height?: number | undefined;
1310
- bitrate?: number | undefined;
1311
- ssrc?: number | undefined;
1312
- } & {
1313
- quality?: VideoQuality | undefined;
1314
- width?: number | undefined;
1315
- height?: number | undefined;
1316
- bitrate?: number | undefined;
1317
- ssrc?: number | undefined;
1318
- } & { [K_2 in Exclude<keyof I["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_3 in Exclude<keyof I["codecs"][number]["layers"], keyof {
1319
- quality?: VideoQuality | undefined;
1320
- width?: number | undefined;
1321
- height?: number | undefined;
1322
- bitrate?: number | undefined;
1323
- ssrc?: number | undefined;
1324
- }[]>]: never; }) | undefined;
1325
- } & { [K_4 in Exclude<keyof I["codecs"][number], keyof SimulcastCodecInfo>]: never; })[] & { [K_5 in Exclude<keyof I["codecs"], keyof {
1326
- mimeType?: string | undefined;
1327
- mid?: string | undefined;
1328
- cid?: string | undefined;
1329
- layers?: {
1330
- quality?: VideoQuality | undefined;
1331
- width?: number | undefined;
1332
- height?: number | undefined;
1333
- bitrate?: number | undefined;
1334
- ssrc?: number | undefined;
1335
- }[] | undefined;
1336
- }[]>]: never; }) | undefined;
1337
- stereo?: boolean | undefined;
1338
- disableRed?: boolean | undefined;
1339
- encryption?: Encryption_Type | undefined;
1340
- } & { [K_6 in Exclude<keyof I, keyof TrackInfo>]: never; }>(base?: I | undefined): TrackInfo;
1341
- fromPartial<I_1 extends {
1342
- sid?: string | undefined;
1343
- type?: TrackType | undefined;
1344
- name?: string | undefined;
1345
- muted?: boolean | undefined;
1346
- width?: number | undefined;
1347
- height?: number | undefined;
1348
- simulcast?: boolean | undefined;
1349
- disableDtx?: boolean | undefined;
1350
- source?: TrackSource | undefined;
1351
- layers?: {
1352
- quality?: VideoQuality | undefined;
1353
- width?: number | undefined;
1354
- height?: number | undefined;
1355
- bitrate?: number | undefined;
1356
- ssrc?: number | undefined;
1357
- }[] | undefined;
1358
- mimeType?: string | undefined;
1359
- mid?: string | undefined;
1360
- codecs?: {
1361
- mimeType?: string | undefined;
1362
- mid?: string | undefined;
1363
- cid?: string | undefined;
1364
- layers?: {
1365
- quality?: VideoQuality | undefined;
1366
- width?: number | undefined;
1367
- height?: number | undefined;
1368
- bitrate?: number | undefined;
1369
- ssrc?: number | undefined;
1370
- }[] | undefined;
1371
- }[] | undefined;
1372
- stereo?: boolean | undefined;
1373
- disableRed?: boolean | undefined;
1374
- encryption?: Encryption_Type | undefined;
1375
- } & {
1376
- sid?: string | undefined;
1377
- type?: TrackType | undefined;
1378
- name?: string | undefined;
1379
- muted?: boolean | undefined;
1380
- width?: number | undefined;
1381
- height?: number | undefined;
1382
- simulcast?: boolean | undefined;
1383
- disableDtx?: boolean | undefined;
1384
- source?: TrackSource | undefined;
1385
- layers?: ({
1386
- quality?: VideoQuality | undefined;
1387
- width?: number | undefined;
1388
- height?: number | undefined;
1389
- bitrate?: number | undefined;
1390
- ssrc?: number | undefined;
1391
- }[] & ({
1392
- quality?: VideoQuality | undefined;
1393
- width?: number | undefined;
1394
- height?: number | undefined;
1395
- bitrate?: number | undefined;
1396
- ssrc?: number | undefined;
1397
- } & {
1398
- quality?: VideoQuality | undefined;
1399
- width?: number | undefined;
1400
- height?: number | undefined;
1401
- bitrate?: number | undefined;
1402
- ssrc?: number | undefined;
1403
- } & { [K_7 in Exclude<keyof I_1["layers"][number], keyof VideoLayer>]: never; })[] & { [K_8 in Exclude<keyof I_1["layers"], keyof {
1404
- quality?: VideoQuality | undefined;
1405
- width?: number | undefined;
1406
- height?: number | undefined;
1407
- bitrate?: number | undefined;
1408
- ssrc?: number | undefined;
1409
- }[]>]: never; }) | undefined;
1410
- mimeType?: string | undefined;
1411
- mid?: string | undefined;
1412
- codecs?: ({
1413
- mimeType?: string | undefined;
1414
- mid?: string | undefined;
1415
- cid?: string | undefined;
1416
- layers?: {
1417
- quality?: VideoQuality | undefined;
1418
- width?: number | undefined;
1419
- height?: number | undefined;
1420
- bitrate?: number | undefined;
1421
- ssrc?: number | undefined;
1422
- }[] | undefined;
1423
- }[] & ({
1424
- mimeType?: string | undefined;
1425
- mid?: string | undefined;
1426
- cid?: string | undefined;
1427
- layers?: {
1428
- quality?: VideoQuality | undefined;
1429
- width?: number | undefined;
1430
- height?: number | undefined;
1431
- bitrate?: number | undefined;
1432
- ssrc?: number | undefined;
1433
- }[] | undefined;
1434
- } & {
1435
- mimeType?: string | undefined;
1436
- mid?: string | undefined;
1437
- cid?: string | undefined;
1438
- layers?: ({
1439
- quality?: VideoQuality | undefined;
1440
- width?: number | undefined;
1441
- height?: number | undefined;
1442
- bitrate?: number | undefined;
1443
- ssrc?: number | undefined;
1444
- }[] & ({
1445
- quality?: VideoQuality | undefined;
1446
- width?: number | undefined;
1447
- height?: number | undefined;
1448
- bitrate?: number | undefined;
1449
- ssrc?: number | undefined;
1450
- } & {
1451
- quality?: VideoQuality | undefined;
1452
- width?: number | undefined;
1453
- height?: number | undefined;
1454
- bitrate?: number | undefined;
1455
- ssrc?: number | undefined;
1456
- } & { [K_9 in Exclude<keyof I_1["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_10 in Exclude<keyof I_1["codecs"][number]["layers"], keyof {
1457
- quality?: VideoQuality | undefined;
1458
- width?: number | undefined;
1459
- height?: number | undefined;
1460
- bitrate?: number | undefined;
1461
- ssrc?: number | undefined;
1462
- }[]>]: never; }) | undefined;
1463
- } & { [K_11 in Exclude<keyof I_1["codecs"][number], keyof SimulcastCodecInfo>]: never; })[] & { [K_12 in Exclude<keyof I_1["codecs"], keyof {
1464
- mimeType?: string | undefined;
1465
- mid?: string | undefined;
1466
- cid?: string | undefined;
1467
- layers?: {
1468
- quality?: VideoQuality | undefined;
1469
- width?: number | undefined;
1470
- height?: number | undefined;
1471
- bitrate?: number | undefined;
1472
- ssrc?: number | undefined;
1473
- }[] | undefined;
1474
- }[]>]: never; }) | undefined;
1475
- stereo?: boolean | undefined;
1476
- disableRed?: boolean | undefined;
1477
- encryption?: Encryption_Type | undefined;
1478
- } & { [K_13 in Exclude<keyof I_1, keyof TrackInfo>]: never; }>(object: I_1): TrackInfo;
1479
- };
1480
- export declare const VideoLayer: {
1481
- encode(message: VideoLayer, writer?: _m0.Writer): _m0.Writer;
1482
- decode(input: _m0.Reader | Uint8Array, length?: number): VideoLayer;
1483
- fromJSON(object: any): VideoLayer;
1484
- toJSON(message: VideoLayer): unknown;
1485
- create<I extends {
1486
- quality?: VideoQuality | undefined;
1487
- width?: number | undefined;
1488
- height?: number | undefined;
1489
- bitrate?: number | undefined;
1490
- ssrc?: number | undefined;
1491
- } & {
1492
- quality?: VideoQuality | undefined;
1493
- width?: number | undefined;
1494
- height?: number | undefined;
1495
- bitrate?: number | undefined;
1496
- ssrc?: number | undefined;
1497
- } & { [K in Exclude<keyof I, keyof VideoLayer>]: never; }>(base?: I | undefined): VideoLayer;
1498
- fromPartial<I_1 extends {
1499
- quality?: VideoQuality | undefined;
1500
- width?: number | undefined;
1501
- height?: number | undefined;
1502
- bitrate?: number | undefined;
1503
- ssrc?: number | undefined;
1504
- } & {
1505
- quality?: VideoQuality | undefined;
1506
- width?: number | undefined;
1507
- height?: number | undefined;
1508
- bitrate?: number | undefined;
1509
- ssrc?: number | undefined;
1510
- } & { [K_1 in Exclude<keyof I_1, keyof VideoLayer>]: never; }>(object: I_1): VideoLayer;
1511
- };
1512
- export declare const DataPacket: {
1513
- encode(message: DataPacket, writer?: _m0.Writer): _m0.Writer;
1514
- decode(input: _m0.Reader | Uint8Array, length?: number): DataPacket;
1515
- fromJSON(object: any): DataPacket;
1516
- toJSON(message: DataPacket): unknown;
1517
- create<I extends {
1518
- kind?: DataPacket_Kind | undefined;
1519
- value?: ({
1520
- user?: {
1521
- participantSid?: string | undefined;
1522
- payload?: Uint8Array | undefined;
1523
- destinationSids?: string[] | undefined;
1524
- topic?: string | undefined;
1525
- } | undefined;
1526
- } & {
1527
- $case: "user";
1528
- }) | ({
1529
- speaker?: {
1530
- speakers?: {
1531
- sid?: string | undefined;
1532
- level?: number | undefined;
1533
- active?: boolean | undefined;
1534
- }[] | undefined;
1535
- } | undefined;
1536
- } & {
1537
- $case: "speaker";
1538
- }) | undefined;
1539
- } & {
1540
- kind?: DataPacket_Kind | undefined;
1541
- value?: ({
1542
- user?: {
1543
- participantSid?: string | undefined;
1544
- payload?: Uint8Array | undefined;
1545
- destinationSids?: string[] | undefined;
1546
- topic?: string | undefined;
1547
- } | undefined;
1548
- } & {
1549
- $case: "user";
1550
- } & {
1551
- user?: ({
1552
- participantSid?: string | undefined;
1553
- payload?: Uint8Array | undefined;
1554
- destinationSids?: string[] | undefined;
1555
- topic?: string | undefined;
1556
- } & {
1557
- participantSid?: string | undefined;
1558
- payload?: Uint8Array | undefined;
1559
- destinationSids?: (string[] & string[] & { [K in Exclude<keyof I["value"]["user"]["destinationSids"], keyof string[]>]: never; }) | undefined;
1560
- topic?: string | undefined;
1561
- } & { [K_1 in Exclude<keyof I["value"]["user"], keyof UserPacket>]: never; }) | undefined;
1562
- $case: "user";
1563
- } & { [K_2 in Exclude<keyof I["value"], "user" | "$case">]: never; }) | ({
1564
- speaker?: {
1565
- speakers?: {
1566
- sid?: string | undefined;
1567
- level?: number | undefined;
1568
- active?: boolean | undefined;
1569
- }[] | undefined;
1570
- } | undefined;
1571
- } & {
1572
- $case: "speaker";
1573
- } & {
1574
- speaker?: ({
1575
- speakers?: {
1576
- sid?: string | undefined;
1577
- level?: number | undefined;
1578
- active?: boolean | undefined;
1579
- }[] | undefined;
1580
- } & {
1581
- speakers?: ({
1582
- sid?: string | undefined;
1583
- level?: number | undefined;
1584
- active?: boolean | undefined;
1585
- }[] & ({
1586
- sid?: string | undefined;
1587
- level?: number | undefined;
1588
- active?: boolean | undefined;
1589
- } & {
1590
- sid?: string | undefined;
1591
- level?: number | undefined;
1592
- active?: boolean | undefined;
1593
- } & { [K_3 in Exclude<keyof I["value"]["speaker"]["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_4 in Exclude<keyof I["value"]["speaker"]["speakers"], keyof {
1594
- sid?: string | undefined;
1595
- level?: number | undefined;
1596
- active?: boolean | undefined;
1597
- }[]>]: never; }) | undefined;
1598
- } & { [K_5 in Exclude<keyof I["value"]["speaker"], "speakers">]: never; }) | undefined;
1599
- $case: "speaker";
1600
- } & { [K_6 in Exclude<keyof I["value"], "speaker" | "$case">]: never; }) | undefined;
1601
- } & { [K_7 in Exclude<keyof I, keyof DataPacket>]: never; }>(base?: I | undefined): DataPacket;
1602
- fromPartial<I_1 extends {
1603
- kind?: DataPacket_Kind | undefined;
1604
- value?: ({
1605
- user?: {
1606
- participantSid?: string | undefined;
1607
- payload?: Uint8Array | undefined;
1608
- destinationSids?: string[] | undefined;
1609
- topic?: string | undefined;
1610
- } | undefined;
1611
- } & {
1612
- $case: "user";
1613
- }) | ({
1614
- speaker?: {
1615
- speakers?: {
1616
- sid?: string | undefined;
1617
- level?: number | undefined;
1618
- active?: boolean | undefined;
1619
- }[] | undefined;
1620
- } | undefined;
1621
- } & {
1622
- $case: "speaker";
1623
- }) | undefined;
1624
- } & {
1625
- kind?: DataPacket_Kind | undefined;
1626
- value?: ({
1627
- user?: {
1628
- participantSid?: string | undefined;
1629
- payload?: Uint8Array | undefined;
1630
- destinationSids?: string[] | undefined;
1631
- topic?: string | undefined;
1632
- } | undefined;
1633
- } & {
1634
- $case: "user";
1635
- } & {
1636
- user?: ({
1637
- participantSid?: string | undefined;
1638
- payload?: Uint8Array | undefined;
1639
- destinationSids?: string[] | undefined;
1640
- topic?: string | undefined;
1641
- } & {
1642
- participantSid?: string | undefined;
1643
- payload?: Uint8Array | undefined;
1644
- destinationSids?: (string[] & string[] & { [K_8 in Exclude<keyof I_1["value"]["user"]["destinationSids"], keyof string[]>]: never; }) | undefined;
1645
- topic?: string | undefined;
1646
- } & { [K_9 in Exclude<keyof I_1["value"]["user"], keyof UserPacket>]: never; }) | undefined;
1647
- $case: "user";
1648
- } & { [K_10 in Exclude<keyof I_1["value"], "user" | "$case">]: never; }) | ({
1649
- speaker?: {
1650
- speakers?: {
1651
- sid?: string | undefined;
1652
- level?: number | undefined;
1653
- active?: boolean | undefined;
1654
- }[] | undefined;
1655
- } | undefined;
1656
- } & {
1657
- $case: "speaker";
1658
- } & {
1659
- speaker?: ({
1660
- speakers?: {
1661
- sid?: string | undefined;
1662
- level?: number | undefined;
1663
- active?: boolean | undefined;
1664
- }[] | undefined;
1665
- } & {
1666
- speakers?: ({
1667
- sid?: string | undefined;
1668
- level?: number | undefined;
1669
- active?: boolean | undefined;
1670
- }[] & ({
1671
- sid?: string | undefined;
1672
- level?: number | undefined;
1673
- active?: boolean | undefined;
1674
- } & {
1675
- sid?: string | undefined;
1676
- level?: number | undefined;
1677
- active?: boolean | undefined;
1678
- } & { [K_11 in Exclude<keyof I_1["value"]["speaker"]["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_12 in Exclude<keyof I_1["value"]["speaker"]["speakers"], keyof {
1679
- sid?: string | undefined;
1680
- level?: number | undefined;
1681
- active?: boolean | undefined;
1682
- }[]>]: never; }) | undefined;
1683
- } & { [K_13 in Exclude<keyof I_1["value"]["speaker"], "speakers">]: never; }) | undefined;
1684
- $case: "speaker";
1685
- } & { [K_14 in Exclude<keyof I_1["value"], "speaker" | "$case">]: never; }) | undefined;
1686
- } & { [K_15 in Exclude<keyof I_1, keyof DataPacket>]: never; }>(object: I_1): DataPacket;
1687
- };
1688
- export declare const ActiveSpeakerUpdate: {
1689
- encode(message: ActiveSpeakerUpdate, writer?: _m0.Writer): _m0.Writer;
1690
- decode(input: _m0.Reader | Uint8Array, length?: number): ActiveSpeakerUpdate;
1691
- fromJSON(object: any): ActiveSpeakerUpdate;
1692
- toJSON(message: ActiveSpeakerUpdate): unknown;
1693
- create<I extends {
1694
- speakers?: {
1695
- sid?: string | undefined;
1696
- level?: number | undefined;
1697
- active?: boolean | undefined;
1698
- }[] | undefined;
1699
- } & {
1700
- speakers?: ({
1701
- sid?: string | undefined;
1702
- level?: number | undefined;
1703
- active?: boolean | undefined;
1704
- }[] & ({
1705
- sid?: string | undefined;
1706
- level?: number | undefined;
1707
- active?: boolean | undefined;
1708
- } & {
1709
- sid?: string | undefined;
1710
- level?: number | undefined;
1711
- active?: boolean | undefined;
1712
- } & { [K in Exclude<keyof I["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_1 in Exclude<keyof I["speakers"], keyof {
1713
- sid?: string | undefined;
1714
- level?: number | undefined;
1715
- active?: boolean | undefined;
1716
- }[]>]: never; }) | undefined;
1717
- } & { [K_2 in Exclude<keyof I, "speakers">]: never; }>(base?: I | undefined): ActiveSpeakerUpdate;
1718
- fromPartial<I_1 extends {
1719
- speakers?: {
1720
- sid?: string | undefined;
1721
- level?: number | undefined;
1722
- active?: boolean | undefined;
1723
- }[] | undefined;
1724
- } & {
1725
- speakers?: ({
1726
- sid?: string | undefined;
1727
- level?: number | undefined;
1728
- active?: boolean | undefined;
1729
- }[] & ({
1730
- sid?: string | undefined;
1731
- level?: number | undefined;
1732
- active?: boolean | undefined;
1733
- } & {
1734
- sid?: string | undefined;
1735
- level?: number | undefined;
1736
- active?: boolean | undefined;
1737
- } & { [K_3 in Exclude<keyof I_1["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_4 in Exclude<keyof I_1["speakers"], keyof {
1738
- sid?: string | undefined;
1739
- level?: number | undefined;
1740
- active?: boolean | undefined;
1741
- }[]>]: never; }) | undefined;
1742
- } & { [K_5 in Exclude<keyof I_1, "speakers">]: never; }>(object: I_1): ActiveSpeakerUpdate;
1743
- };
1744
- export declare const SpeakerInfo: {
1745
- encode(message: SpeakerInfo, writer?: _m0.Writer): _m0.Writer;
1746
- decode(input: _m0.Reader | Uint8Array, length?: number): SpeakerInfo;
1747
- fromJSON(object: any): SpeakerInfo;
1748
- toJSON(message: SpeakerInfo): unknown;
1749
- create<I extends {
1750
- sid?: string | undefined;
1751
- level?: number | undefined;
1752
- active?: boolean | undefined;
1753
- } & {
1754
- sid?: string | undefined;
1755
- level?: number | undefined;
1756
- active?: boolean | undefined;
1757
- } & { [K in Exclude<keyof I, keyof SpeakerInfo>]: never; }>(base?: I | undefined): SpeakerInfo;
1758
- fromPartial<I_1 extends {
1759
- sid?: string | undefined;
1760
- level?: number | undefined;
1761
- active?: boolean | undefined;
1762
- } & {
1763
- sid?: string | undefined;
1764
- level?: number | undefined;
1765
- active?: boolean | undefined;
1766
- } & { [K_1 in Exclude<keyof I_1, keyof SpeakerInfo>]: never; }>(object: I_1): SpeakerInfo;
1767
- };
1768
- export declare const UserPacket: {
1769
- encode(message: UserPacket, writer?: _m0.Writer): _m0.Writer;
1770
- decode(input: _m0.Reader | Uint8Array, length?: number): UserPacket;
1771
- fromJSON(object: any): UserPacket;
1772
- toJSON(message: UserPacket): unknown;
1773
- create<I extends {
1774
- participantSid?: string | undefined;
1775
- payload?: Uint8Array | undefined;
1776
- destinationSids?: string[] | undefined;
1777
- topic?: string | undefined;
1778
- } & {
1779
- participantSid?: string | undefined;
1780
- payload?: Uint8Array | undefined;
1781
- destinationSids?: (string[] & string[] & { [K in Exclude<keyof I["destinationSids"], keyof string[]>]: never; }) | undefined;
1782
- topic?: string | undefined;
1783
- } & { [K_1 in Exclude<keyof I, keyof UserPacket>]: never; }>(base?: I | undefined): UserPacket;
1784
- fromPartial<I_1 extends {
1785
- participantSid?: string | undefined;
1786
- payload?: Uint8Array | undefined;
1787
- destinationSids?: string[] | undefined;
1788
- topic?: string | undefined;
1789
- } & {
1790
- participantSid?: string | undefined;
1791
- payload?: Uint8Array | undefined;
1792
- destinationSids?: (string[] & string[] & { [K_2 in Exclude<keyof I_1["destinationSids"], keyof string[]>]: never; }) | undefined;
1793
- topic?: string | undefined;
1794
- } & { [K_3 in Exclude<keyof I_1, keyof UserPacket>]: never; }>(object: I_1): UserPacket;
1795
- };
1796
- export declare const ParticipantTracks: {
1797
- encode(message: ParticipantTracks, writer?: _m0.Writer): _m0.Writer;
1798
- decode(input: _m0.Reader | Uint8Array, length?: number): ParticipantTracks;
1799
- fromJSON(object: any): ParticipantTracks;
1800
- toJSON(message: ParticipantTracks): unknown;
1801
- create<I extends {
1802
- participantSid?: string | undefined;
1803
- trackSids?: string[] | undefined;
1804
- } & {
1805
- participantSid?: string | undefined;
1806
- trackSids?: (string[] & string[] & { [K in Exclude<keyof I["trackSids"], keyof string[]>]: never; }) | undefined;
1807
- } & { [K_1 in Exclude<keyof I, keyof ParticipantTracks>]: never; }>(base?: I | undefined): ParticipantTracks;
1808
- fromPartial<I_1 extends {
1809
- participantSid?: string | undefined;
1810
- trackSids?: string[] | undefined;
1811
- } & {
1812
- participantSid?: string | undefined;
1813
- trackSids?: (string[] & string[] & { [K_2 in Exclude<keyof I_1["trackSids"], keyof string[]>]: never; }) | undefined;
1814
- } & { [K_3 in Exclude<keyof I_1, keyof ParticipantTracks>]: never; }>(object: I_1): ParticipantTracks;
1815
- };
1816
- export declare const ServerInfo: {
1817
- encode(message: ServerInfo, writer?: _m0.Writer): _m0.Writer;
1818
- decode(input: _m0.Reader | Uint8Array, length?: number): ServerInfo;
1819
- fromJSON(object: any): ServerInfo;
1820
- toJSON(message: ServerInfo): unknown;
1821
- create<I extends {
1822
- edition?: ServerInfo_Edition | undefined;
1823
- version?: string | undefined;
1824
- protocol?: number | undefined;
1825
- region?: string | undefined;
1826
- nodeId?: string | undefined;
1827
- debugInfo?: string | undefined;
1828
- } & {
1829
- edition?: ServerInfo_Edition | undefined;
1830
- version?: string | undefined;
1831
- protocol?: number | undefined;
1832
- region?: string | undefined;
1833
- nodeId?: string | undefined;
1834
- debugInfo?: string | undefined;
1835
- } & { [K in Exclude<keyof I, keyof ServerInfo>]: never; }>(base?: I | undefined): ServerInfo;
1836
- fromPartial<I_1 extends {
1837
- edition?: ServerInfo_Edition | undefined;
1838
- version?: string | undefined;
1839
- protocol?: number | undefined;
1840
- region?: string | undefined;
1841
- nodeId?: string | undefined;
1842
- debugInfo?: string | undefined;
1843
- } & {
1844
- edition?: ServerInfo_Edition | undefined;
1845
- version?: string | undefined;
1846
- protocol?: number | undefined;
1847
- region?: string | undefined;
1848
- nodeId?: string | undefined;
1849
- debugInfo?: string | undefined;
1850
- } & { [K_1 in Exclude<keyof I_1, keyof ServerInfo>]: never; }>(object: I_1): ServerInfo;
1851
- };
1852
- export declare const ClientInfo: {
1853
- encode(message: ClientInfo, writer?: _m0.Writer): _m0.Writer;
1854
- decode(input: _m0.Reader | Uint8Array, length?: number): ClientInfo;
1855
- fromJSON(object: any): ClientInfo;
1856
- toJSON(message: ClientInfo): unknown;
1857
- create<I extends {
1858
- sdk?: ClientInfo_SDK | undefined;
1859
- version?: string | undefined;
1860
- protocol?: number | undefined;
1861
- os?: string | undefined;
1862
- osVersion?: string | undefined;
1863
- deviceModel?: string | undefined;
1864
- browser?: string | undefined;
1865
- browserVersion?: string | undefined;
1866
- address?: string | undefined;
1867
- network?: string | undefined;
1868
- } & {
1869
- sdk?: ClientInfo_SDK | undefined;
1870
- version?: string | undefined;
1871
- protocol?: number | undefined;
1872
- os?: string | undefined;
1873
- osVersion?: string | undefined;
1874
- deviceModel?: string | undefined;
1875
- browser?: string | undefined;
1876
- browserVersion?: string | undefined;
1877
- address?: string | undefined;
1878
- network?: string | undefined;
1879
- } & { [K in Exclude<keyof I, keyof ClientInfo>]: never; }>(base?: I | undefined): ClientInfo;
1880
- fromPartial<I_1 extends {
1881
- sdk?: ClientInfo_SDK | undefined;
1882
- version?: string | undefined;
1883
- protocol?: number | undefined;
1884
- os?: string | undefined;
1885
- osVersion?: string | undefined;
1886
- deviceModel?: string | undefined;
1887
- browser?: string | undefined;
1888
- browserVersion?: string | undefined;
1889
- address?: string | undefined;
1890
- network?: string | undefined;
1891
- } & {
1892
- sdk?: ClientInfo_SDK | undefined;
1893
- version?: string | undefined;
1894
- protocol?: number | undefined;
1895
- os?: string | undefined;
1896
- osVersion?: string | undefined;
1897
- deviceModel?: string | undefined;
1898
- browser?: string | undefined;
1899
- browserVersion?: string | undefined;
1900
- address?: string | undefined;
1901
- network?: string | undefined;
1902
- } & { [K_1 in Exclude<keyof I_1, keyof ClientInfo>]: never; }>(object: I_1): ClientInfo;
1903
- };
1904
- export declare const ClientConfiguration: {
1905
- encode(message: ClientConfiguration, writer?: _m0.Writer): _m0.Writer;
1906
- decode(input: _m0.Reader | Uint8Array, length?: number): ClientConfiguration;
1907
- fromJSON(object: any): ClientConfiguration;
1908
- toJSON(message: ClientConfiguration): unknown;
1909
- create<I extends {
1910
- video?: {
1911
- hardwareEncoder?: ClientConfigSetting | undefined;
1912
- } | undefined;
1913
- screen?: {
1914
- hardwareEncoder?: ClientConfigSetting | undefined;
1915
- } | undefined;
1916
- resumeConnection?: ClientConfigSetting | undefined;
1917
- disabledCodecs?: {
1918
- codecs?: {
1919
- mime?: string | undefined;
1920
- fmtpLine?: string | undefined;
1921
- }[] | undefined;
1922
- publish?: {
1923
- mime?: string | undefined;
1924
- fmtpLine?: string | undefined;
1925
- }[] | undefined;
1926
- } | undefined;
1927
- forceRelay?: ClientConfigSetting | undefined;
1928
- } & {
1929
- video?: ({
1930
- hardwareEncoder?: ClientConfigSetting | undefined;
1931
- } & {
1932
- hardwareEncoder?: ClientConfigSetting | undefined;
1933
- } & { [K in Exclude<keyof I["video"], "hardwareEncoder">]: never; }) | undefined;
1934
- screen?: ({
1935
- hardwareEncoder?: ClientConfigSetting | undefined;
1936
- } & {
1937
- hardwareEncoder?: ClientConfigSetting | undefined;
1938
- } & { [K_1 in Exclude<keyof I["screen"], "hardwareEncoder">]: never; }) | undefined;
1939
- resumeConnection?: ClientConfigSetting | undefined;
1940
- disabledCodecs?: ({
1941
- codecs?: {
1942
- mime?: string | undefined;
1943
- fmtpLine?: string | undefined;
1944
- }[] | undefined;
1945
- publish?: {
1946
- mime?: string | undefined;
1947
- fmtpLine?: string | undefined;
1948
- }[] | undefined;
1949
- } & {
1950
- codecs?: ({
1951
- mime?: string | undefined;
1952
- fmtpLine?: string | undefined;
1953
- }[] & ({
1954
- mime?: string | undefined;
1955
- fmtpLine?: string | undefined;
1956
- } & {
1957
- mime?: string | undefined;
1958
- fmtpLine?: string | undefined;
1959
- } & { [K_2 in Exclude<keyof I["disabledCodecs"]["codecs"][number], keyof Codec>]: never; })[] & { [K_3 in Exclude<keyof I["disabledCodecs"]["codecs"], keyof {
1960
- mime?: string | undefined;
1961
- fmtpLine?: string | undefined;
1962
- }[]>]: never; }) | undefined;
1963
- publish?: ({
1964
- mime?: string | undefined;
1965
- fmtpLine?: string | undefined;
1966
- }[] & ({
1967
- mime?: string | undefined;
1968
- fmtpLine?: string | undefined;
1969
- } & {
1970
- mime?: string | undefined;
1971
- fmtpLine?: string | undefined;
1972
- } & { [K_4 in Exclude<keyof I["disabledCodecs"]["publish"][number], keyof Codec>]: never; })[] & { [K_5 in Exclude<keyof I["disabledCodecs"]["publish"], keyof {
1973
- mime?: string | undefined;
1974
- fmtpLine?: string | undefined;
1975
- }[]>]: never; }) | undefined;
1976
- } & { [K_6 in Exclude<keyof I["disabledCodecs"], keyof DisabledCodecs>]: never; }) | undefined;
1977
- forceRelay?: ClientConfigSetting | undefined;
1978
- } & { [K_7 in Exclude<keyof I, keyof ClientConfiguration>]: never; }>(base?: I | undefined): ClientConfiguration;
1979
- fromPartial<I_1 extends {
1980
- video?: {
1981
- hardwareEncoder?: ClientConfigSetting | undefined;
1982
- } | undefined;
1983
- screen?: {
1984
- hardwareEncoder?: ClientConfigSetting | undefined;
1985
- } | undefined;
1986
- resumeConnection?: ClientConfigSetting | undefined;
1987
- disabledCodecs?: {
1988
- codecs?: {
1989
- mime?: string | undefined;
1990
- fmtpLine?: string | undefined;
1991
- }[] | undefined;
1992
- publish?: {
1993
- mime?: string | undefined;
1994
- fmtpLine?: string | undefined;
1995
- }[] | undefined;
1996
- } | undefined;
1997
- forceRelay?: ClientConfigSetting | undefined;
1998
- } & {
1999
- video?: ({
2000
- hardwareEncoder?: ClientConfigSetting | undefined;
2001
- } & {
2002
- hardwareEncoder?: ClientConfigSetting | undefined;
2003
- } & { [K_8 in Exclude<keyof I_1["video"], "hardwareEncoder">]: never; }) | undefined;
2004
- screen?: ({
2005
- hardwareEncoder?: ClientConfigSetting | undefined;
2006
- } & {
2007
- hardwareEncoder?: ClientConfigSetting | undefined;
2008
- } & { [K_9 in Exclude<keyof I_1["screen"], "hardwareEncoder">]: never; }) | undefined;
2009
- resumeConnection?: ClientConfigSetting | undefined;
2010
- disabledCodecs?: ({
2011
- codecs?: {
2012
- mime?: string | undefined;
2013
- fmtpLine?: string | undefined;
2014
- }[] | undefined;
2015
- publish?: {
2016
- mime?: string | undefined;
2017
- fmtpLine?: string | undefined;
2018
- }[] | undefined;
2019
- } & {
2020
- codecs?: ({
2021
- mime?: string | undefined;
2022
- fmtpLine?: string | undefined;
2023
- }[] & ({
2024
- mime?: string | undefined;
2025
- fmtpLine?: string | undefined;
2026
- } & {
2027
- mime?: string | undefined;
2028
- fmtpLine?: string | undefined;
2029
- } & { [K_10 in Exclude<keyof I_1["disabledCodecs"]["codecs"][number], keyof Codec>]: never; })[] & { [K_11 in Exclude<keyof I_1["disabledCodecs"]["codecs"], keyof {
2030
- mime?: string | undefined;
2031
- fmtpLine?: string | undefined;
2032
- }[]>]: never; }) | undefined;
2033
- publish?: ({
2034
- mime?: string | undefined;
2035
- fmtpLine?: string | undefined;
2036
- }[] & ({
2037
- mime?: string | undefined;
2038
- fmtpLine?: string | undefined;
2039
- } & {
2040
- mime?: string | undefined;
2041
- fmtpLine?: string | undefined;
2042
- } & { [K_12 in Exclude<keyof I_1["disabledCodecs"]["publish"][number], keyof Codec>]: never; })[] & { [K_13 in Exclude<keyof I_1["disabledCodecs"]["publish"], keyof {
2043
- mime?: string | undefined;
2044
- fmtpLine?: string | undefined;
2045
- }[]>]: never; }) | undefined;
2046
- } & { [K_14 in Exclude<keyof I_1["disabledCodecs"], keyof DisabledCodecs>]: never; }) | undefined;
2047
- forceRelay?: ClientConfigSetting | undefined;
2048
- } & { [K_15 in Exclude<keyof I_1, keyof ClientConfiguration>]: never; }>(object: I_1): ClientConfiguration;
2049
- };
2050
- export declare const VideoConfiguration: {
2051
- encode(message: VideoConfiguration, writer?: _m0.Writer): _m0.Writer;
2052
- decode(input: _m0.Reader | Uint8Array, length?: number): VideoConfiguration;
2053
- fromJSON(object: any): VideoConfiguration;
2054
- toJSON(message: VideoConfiguration): unknown;
2055
- create<I extends {
2056
- hardwareEncoder?: ClientConfigSetting | undefined;
2057
- } & {
2058
- hardwareEncoder?: ClientConfigSetting | undefined;
2059
- } & { [K in Exclude<keyof I, "hardwareEncoder">]: never; }>(base?: I | undefined): VideoConfiguration;
2060
- fromPartial<I_1 extends {
2061
- hardwareEncoder?: ClientConfigSetting | undefined;
2062
- } & {
2063
- hardwareEncoder?: ClientConfigSetting | undefined;
2064
- } & { [K_1 in Exclude<keyof I_1, "hardwareEncoder">]: never; }>(object: I_1): VideoConfiguration;
2065
- };
2066
- export declare const DisabledCodecs: {
2067
- encode(message: DisabledCodecs, writer?: _m0.Writer): _m0.Writer;
2068
- decode(input: _m0.Reader | Uint8Array, length?: number): DisabledCodecs;
2069
- fromJSON(object: any): DisabledCodecs;
2070
- toJSON(message: DisabledCodecs): unknown;
2071
- create<I extends {
2072
- codecs?: {
2073
- mime?: string | undefined;
2074
- fmtpLine?: string | undefined;
2075
- }[] | undefined;
2076
- publish?: {
2077
- mime?: string | undefined;
2078
- fmtpLine?: string | undefined;
2079
- }[] | undefined;
2080
- } & {
2081
- codecs?: ({
2082
- mime?: string | undefined;
2083
- fmtpLine?: string | undefined;
2084
- }[] & ({
2085
- mime?: string | undefined;
2086
- fmtpLine?: string | undefined;
2087
- } & {
2088
- mime?: string | undefined;
2089
- fmtpLine?: string | undefined;
2090
- } & { [K in Exclude<keyof I["codecs"][number], keyof Codec>]: never; })[] & { [K_1 in Exclude<keyof I["codecs"], keyof {
2091
- mime?: string | undefined;
2092
- fmtpLine?: string | undefined;
2093
- }[]>]: never; }) | undefined;
2094
- publish?: ({
2095
- mime?: string | undefined;
2096
- fmtpLine?: string | undefined;
2097
- }[] & ({
2098
- mime?: string | undefined;
2099
- fmtpLine?: string | undefined;
2100
- } & {
2101
- mime?: string | undefined;
2102
- fmtpLine?: string | undefined;
2103
- } & { [K_2 in Exclude<keyof I["publish"][number], keyof Codec>]: never; })[] & { [K_3 in Exclude<keyof I["publish"], keyof {
2104
- mime?: string | undefined;
2105
- fmtpLine?: string | undefined;
2106
- }[]>]: never; }) | undefined;
2107
- } & { [K_4 in Exclude<keyof I, keyof DisabledCodecs>]: never; }>(base?: I | undefined): DisabledCodecs;
2108
- fromPartial<I_1 extends {
2109
- codecs?: {
2110
- mime?: string | undefined;
2111
- fmtpLine?: string | undefined;
2112
- }[] | undefined;
2113
- publish?: {
2114
- mime?: string | undefined;
2115
- fmtpLine?: string | undefined;
2116
- }[] | undefined;
2117
- } & {
2118
- codecs?: ({
2119
- mime?: string | undefined;
2120
- fmtpLine?: string | undefined;
2121
- }[] & ({
2122
- mime?: string | undefined;
2123
- fmtpLine?: string | undefined;
2124
- } & {
2125
- mime?: string | undefined;
2126
- fmtpLine?: string | undefined;
2127
- } & { [K_5 in Exclude<keyof I_1["codecs"][number], keyof Codec>]: never; })[] & { [K_6 in Exclude<keyof I_1["codecs"], keyof {
2128
- mime?: string | undefined;
2129
- fmtpLine?: string | undefined;
2130
- }[]>]: never; }) | undefined;
2131
- publish?: ({
2132
- mime?: string | undefined;
2133
- fmtpLine?: string | undefined;
2134
- }[] & ({
2135
- mime?: string | undefined;
2136
- fmtpLine?: string | undefined;
2137
- } & {
2138
- mime?: string | undefined;
2139
- fmtpLine?: string | undefined;
2140
- } & { [K_7 in Exclude<keyof I_1["publish"][number], keyof Codec>]: never; })[] & { [K_8 in Exclude<keyof I_1["publish"], keyof {
2141
- mime?: string | undefined;
2142
- fmtpLine?: string | undefined;
2143
- }[]>]: never; }) | undefined;
2144
- } & { [K_9 in Exclude<keyof I_1, keyof DisabledCodecs>]: never; }>(object: I_1): DisabledCodecs;
2145
- };
2146
- export declare const RTPStats: {
2147
- encode(message: RTPStats, writer?: _m0.Writer): _m0.Writer;
2148
- decode(input: _m0.Reader | Uint8Array, length?: number): RTPStats;
2149
- fromJSON(object: any): RTPStats;
2150
- toJSON(message: RTPStats): unknown;
2151
- create<I extends {
2152
- startTime?: Date | undefined;
2153
- endTime?: Date | undefined;
2154
- duration?: number | undefined;
2155
- packets?: number | undefined;
2156
- packetRate?: number | undefined;
2157
- bytes?: number | undefined;
2158
- headerBytes?: number | undefined;
2159
- bitrate?: number | undefined;
2160
- packetsLost?: number | undefined;
2161
- packetLossRate?: number | undefined;
2162
- packetLossPercentage?: number | undefined;
2163
- packetsDuplicate?: number | undefined;
2164
- packetDuplicateRate?: number | undefined;
2165
- bytesDuplicate?: number | undefined;
2166
- headerBytesDuplicate?: number | undefined;
2167
- bitrateDuplicate?: number | undefined;
2168
- packetsPadding?: number | undefined;
2169
- packetPaddingRate?: number | undefined;
2170
- bytesPadding?: number | undefined;
2171
- headerBytesPadding?: number | undefined;
2172
- bitratePadding?: number | undefined;
2173
- packetsOutOfOrder?: number | undefined;
2174
- frames?: number | undefined;
2175
- frameRate?: number | undefined;
2176
- jitterCurrent?: number | undefined;
2177
- jitterMax?: number | undefined;
2178
- gapHistogram?: {
2179
- [x: number]: number | undefined;
2180
- } | undefined;
2181
- nacks?: number | undefined;
2182
- nackAcks?: number | undefined;
2183
- nackMisses?: number | undefined;
2184
- nackRepeated?: number | undefined;
2185
- plis?: number | undefined;
2186
- lastPli?: Date | undefined;
2187
- firs?: number | undefined;
2188
- lastFir?: Date | undefined;
2189
- rttCurrent?: number | undefined;
2190
- rttMax?: number | undefined;
2191
- keyFrames?: number | undefined;
2192
- lastKeyFrame?: Date | undefined;
2193
- layerLockPlis?: number | undefined;
2194
- lastLayerLockPli?: Date | undefined;
2195
- sampleRate?: number | undefined;
2196
- driftMs?: number | undefined;
2197
- } & {
2198
- startTime?: Date | undefined;
2199
- endTime?: Date | undefined;
2200
- duration?: number | undefined;
2201
- packets?: number | undefined;
2202
- packetRate?: number | undefined;
2203
- bytes?: number | undefined;
2204
- headerBytes?: number | undefined;
2205
- bitrate?: number | undefined;
2206
- packetsLost?: number | undefined;
2207
- packetLossRate?: number | undefined;
2208
- packetLossPercentage?: number | undefined;
2209
- packetsDuplicate?: number | undefined;
2210
- packetDuplicateRate?: number | undefined;
2211
- bytesDuplicate?: number | undefined;
2212
- headerBytesDuplicate?: number | undefined;
2213
- bitrateDuplicate?: number | undefined;
2214
- packetsPadding?: number | undefined;
2215
- packetPaddingRate?: number | undefined;
2216
- bytesPadding?: number | undefined;
2217
- headerBytesPadding?: number | undefined;
2218
- bitratePadding?: number | undefined;
2219
- packetsOutOfOrder?: number | undefined;
2220
- frames?: number | undefined;
2221
- frameRate?: number | undefined;
2222
- jitterCurrent?: number | undefined;
2223
- jitterMax?: number | undefined;
2224
- gapHistogram?: ({
2225
- [x: number]: number | undefined;
2226
- } & {
2227
- [x: number]: number | undefined;
2228
- } & { [K in Exclude<keyof I["gapHistogram"], number>]: never; }) | undefined;
2229
- nacks?: number | undefined;
2230
- nackAcks?: number | undefined;
2231
- nackMisses?: number | undefined;
2232
- nackRepeated?: number | undefined;
2233
- plis?: number | undefined;
2234
- lastPli?: Date | undefined;
2235
- firs?: number | undefined;
2236
- lastFir?: Date | undefined;
2237
- rttCurrent?: number | undefined;
2238
- rttMax?: number | undefined;
2239
- keyFrames?: number | undefined;
2240
- lastKeyFrame?: Date | undefined;
2241
- layerLockPlis?: number | undefined;
2242
- lastLayerLockPli?: Date | undefined;
2243
- sampleRate?: number | undefined;
2244
- driftMs?: number | undefined;
2245
- } & { [K_1 in Exclude<keyof I, keyof RTPStats>]: never; }>(base?: I | undefined): RTPStats;
2246
- fromPartial<I_1 extends {
2247
- startTime?: Date | undefined;
2248
- endTime?: Date | undefined;
2249
- duration?: number | undefined;
2250
- packets?: number | undefined;
2251
- packetRate?: number | undefined;
2252
- bytes?: number | undefined;
2253
- headerBytes?: number | undefined;
2254
- bitrate?: number | undefined;
2255
- packetsLost?: number | undefined;
2256
- packetLossRate?: number | undefined;
2257
- packetLossPercentage?: number | undefined;
2258
- packetsDuplicate?: number | undefined;
2259
- packetDuplicateRate?: number | undefined;
2260
- bytesDuplicate?: number | undefined;
2261
- headerBytesDuplicate?: number | undefined;
2262
- bitrateDuplicate?: number | undefined;
2263
- packetsPadding?: number | undefined;
2264
- packetPaddingRate?: number | undefined;
2265
- bytesPadding?: number | undefined;
2266
- headerBytesPadding?: number | undefined;
2267
- bitratePadding?: number | undefined;
2268
- packetsOutOfOrder?: number | undefined;
2269
- frames?: number | undefined;
2270
- frameRate?: number | undefined;
2271
- jitterCurrent?: number | undefined;
2272
- jitterMax?: number | undefined;
2273
- gapHistogram?: {
2274
- [x: number]: number | undefined;
2275
- } | undefined;
2276
- nacks?: number | undefined;
2277
- nackAcks?: number | undefined;
2278
- nackMisses?: number | undefined;
2279
- nackRepeated?: number | undefined;
2280
- plis?: number | undefined;
2281
- lastPli?: Date | undefined;
2282
- firs?: number | undefined;
2283
- lastFir?: Date | undefined;
2284
- rttCurrent?: number | undefined;
2285
- rttMax?: number | undefined;
2286
- keyFrames?: number | undefined;
2287
- lastKeyFrame?: Date | undefined;
2288
- layerLockPlis?: number | undefined;
2289
- lastLayerLockPli?: Date | undefined;
2290
- sampleRate?: number | undefined;
2291
- driftMs?: number | undefined;
2292
- } & {
2293
- startTime?: Date | undefined;
2294
- endTime?: Date | undefined;
2295
- duration?: number | undefined;
2296
- packets?: number | undefined;
2297
- packetRate?: number | undefined;
2298
- bytes?: number | undefined;
2299
- headerBytes?: number | undefined;
2300
- bitrate?: number | undefined;
2301
- packetsLost?: number | undefined;
2302
- packetLossRate?: number | undefined;
2303
- packetLossPercentage?: number | undefined;
2304
- packetsDuplicate?: number | undefined;
2305
- packetDuplicateRate?: number | undefined;
2306
- bytesDuplicate?: number | undefined;
2307
- headerBytesDuplicate?: number | undefined;
2308
- bitrateDuplicate?: number | undefined;
2309
- packetsPadding?: number | undefined;
2310
- packetPaddingRate?: number | undefined;
2311
- bytesPadding?: number | undefined;
2312
- headerBytesPadding?: number | undefined;
2313
- bitratePadding?: number | undefined;
2314
- packetsOutOfOrder?: number | undefined;
2315
- frames?: number | undefined;
2316
- frameRate?: number | undefined;
2317
- jitterCurrent?: number | undefined;
2318
- jitterMax?: number | undefined;
2319
- gapHistogram?: ({
2320
- [x: number]: number | undefined;
2321
- } & {
2322
- [x: number]: number | undefined;
2323
- } & { [K_2 in Exclude<keyof I_1["gapHistogram"], number>]: never; }) | undefined;
2324
- nacks?: number | undefined;
2325
- nackAcks?: number | undefined;
2326
- nackMisses?: number | undefined;
2327
- nackRepeated?: number | undefined;
2328
- plis?: number | undefined;
2329
- lastPli?: Date | undefined;
2330
- firs?: number | undefined;
2331
- lastFir?: Date | undefined;
2332
- rttCurrent?: number | undefined;
2333
- rttMax?: number | undefined;
2334
- keyFrames?: number | undefined;
2335
- lastKeyFrame?: Date | undefined;
2336
- layerLockPlis?: number | undefined;
2337
- lastLayerLockPli?: Date | undefined;
2338
- sampleRate?: number | undefined;
2339
- driftMs?: number | undefined;
2340
- } & { [K_3 in Exclude<keyof I_1, keyof RTPStats>]: never; }>(object: I_1): RTPStats;
2341
- };
2342
- export declare const RTPStats_GapHistogramEntry: {
2343
- encode(message: RTPStats_GapHistogramEntry, writer?: _m0.Writer): _m0.Writer;
2344
- decode(input: _m0.Reader | Uint8Array, length?: number): RTPStats_GapHistogramEntry;
2345
- fromJSON(object: any): RTPStats_GapHistogramEntry;
2346
- toJSON(message: RTPStats_GapHistogramEntry): unknown;
2347
- create<I extends {
2348
- key?: number | undefined;
2349
- value?: number | undefined;
2350
- } & {
2351
- key?: number | undefined;
2352
- value?: number | undefined;
2353
- } & { [K in Exclude<keyof I, keyof RTPStats_GapHistogramEntry>]: never; }>(base?: I | undefined): RTPStats_GapHistogramEntry;
2354
- fromPartial<I_1 extends {
2355
- key?: number | undefined;
2356
- value?: number | undefined;
2357
- } & {
2358
- key?: number | undefined;
2359
- value?: number | undefined;
2360
- } & { [K_1 in Exclude<keyof I_1, keyof RTPStats_GapHistogramEntry>]: never; }>(object: I_1): RTPStats_GapHistogramEntry;
2361
- };
2362
- export declare const TimedVersion: {
2363
- encode(message: TimedVersion, writer?: _m0.Writer): _m0.Writer;
2364
- decode(input: _m0.Reader | Uint8Array, length?: number): TimedVersion;
2365
- fromJSON(object: any): TimedVersion;
2366
- toJSON(message: TimedVersion): unknown;
2367
- create<I extends {
2368
- unixMicro?: number | undefined;
2369
- ticks?: number | undefined;
2370
- } & {
2371
- unixMicro?: number | undefined;
2372
- ticks?: number | undefined;
2373
- } & { [K in Exclude<keyof I, keyof TimedVersion>]: never; }>(base?: I | undefined): TimedVersion;
2374
- fromPartial<I_1 extends {
2375
- unixMicro?: number | undefined;
2376
- ticks?: number | undefined;
2377
- } & {
2378
- unixMicro?: number | undefined;
2379
- ticks?: number | undefined;
2380
- } & { [K_1 in Exclude<keyof I_1, keyof TimedVersion>]: never; }>(object: I_1): TimedVersion;
2381
- };
2382
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
2383
- 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 {
2384
- $case: string;
2385
- } ? {
2386
- [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
2387
- } & {
2388
- $case: T["$case"];
2389
- } : T extends {} ? {
2390
- [K in keyof T]?: DeepPartial<T[K]>;
2391
- } : Partial<T>;
2392
- type KeysOfUnion<T> = T extends T ? keyof T : never;
2393
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
2394
- [K in keyof P]: Exact<P[K], I[K]>;
2395
- } & {
2396
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
2397
- };
2398
- export {};
2399
- //# sourceMappingURL=livekit_models.d.ts.map