livekit-client 1.6.4 → 1.6.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -66,6 +66,9 @@ export interface SignalRequest {
66
66
  } | {
67
67
  $case: "updateMetadata";
68
68
  updateMetadata: UpdateParticipantMetadata;
69
+ } | {
70
+ $case: "pingReq";
71
+ pingReq: Ping;
69
72
  };
70
73
  }
71
74
  export interface SignalResponse {
@@ -123,6 +126,9 @@ export interface SignalResponse {
123
126
  } | {
124
127
  $case: "reconnect";
125
128
  reconnect: ReconnectResponse;
129
+ } | {
130
+ $case: "pongResp";
131
+ pongResp: Pong;
126
132
  };
127
133
  }
128
134
  export interface SimulcastCodec {
@@ -184,6 +190,9 @@ export interface JoinResponse {
184
190
  export interface ReconnectResponse {
185
191
  iceServers: ICEServer[];
186
192
  clientConfiguration?: ClientConfiguration;
193
+ room?: Room;
194
+ participant?: ParticipantInfo;
195
+ otherParticipants: ParticipantInfo[];
187
196
  }
188
197
  export interface TrackPublishedResponse {
189
198
  cid: string;
@@ -331,6 +340,16 @@ export interface SimulateScenario {
331
340
  switchCandidateProtocol: CandidateProtocol;
332
341
  };
333
342
  }
343
+ export interface Ping {
344
+ timestamp: number;
345
+ /** rtt in milliseconds calculated by client */
346
+ rtt: number;
347
+ }
348
+ export interface Pong {
349
+ /** timestamp field of last received ping request */
350
+ lastPingTimestamp: number;
351
+ timestamp: number;
352
+ }
334
353
  export declare const SignalRequest: {
335
354
  encode(message: SignalRequest, writer?: _m0.Writer): _m0.Writer;
336
355
  decode(input: _m0.Reader | Uint8Array, length?: number): SignalRequest;
@@ -549,6 +568,13 @@ export declare const SignalRequest: {
549
568
  } | undefined;
550
569
  } & {
551
570
  $case: "updateMetadata";
571
+ }) | ({
572
+ pingReq?: {
573
+ timestamp?: number | undefined;
574
+ rtt?: number | undefined;
575
+ } | undefined;
576
+ } & {
577
+ $case: "pingReq";
552
578
  }) | undefined;
553
579
  } & {
554
580
  message?: ({
@@ -1580,9 +1606,29 @@ export declare const SignalRequest: {
1580
1606
  $case: "updateMetadata";
1581
1607
  } & {
1582
1608
  [K_63 in Exclude<keyof I["message"], "updateMetadata" | "$case">]: never;
1609
+ }) | ({
1610
+ pingReq?: {
1611
+ timestamp?: number | undefined;
1612
+ rtt?: number | undefined;
1613
+ } | undefined;
1614
+ } & {
1615
+ $case: "pingReq";
1616
+ } & {
1617
+ pingReq?: ({
1618
+ timestamp?: number | undefined;
1619
+ rtt?: number | undefined;
1620
+ } & {
1621
+ timestamp?: number | undefined;
1622
+ rtt?: number | undefined;
1623
+ } & {
1624
+ [K_64 in Exclude<keyof I["message"]["pingReq"], keyof Ping>]: never;
1625
+ }) | undefined;
1626
+ $case: "pingReq";
1627
+ } & {
1628
+ [K_65 in Exclude<keyof I["message"], "pingReq" | "$case">]: never;
1583
1629
  }) | undefined;
1584
1630
  } & {
1585
- [K_64 in Exclude<keyof I, "message">]: never;
1631
+ [K_66 in Exclude<keyof I, "message">]: never;
1586
1632
  }>(object: I): SignalRequest;
1587
1633
  };
1588
1634
  export declare const SignalResponse: {
@@ -2001,9 +2047,139 @@ export declare const SignalResponse: {
2001
2047
  } | undefined;
2002
2048
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
2003
2049
  } | undefined;
2050
+ room?: {
2051
+ sid?: string | undefined;
2052
+ name?: string | undefined;
2053
+ emptyTimeout?: number | undefined;
2054
+ maxParticipants?: number | undefined;
2055
+ creationTime?: number | undefined;
2056
+ turnPassword?: string | undefined;
2057
+ enabledCodecs?: {
2058
+ mime?: string | undefined;
2059
+ fmtpLine?: string | undefined;
2060
+ }[] | undefined;
2061
+ metadata?: string | undefined;
2062
+ numParticipants?: number | undefined;
2063
+ activeRecording?: boolean | undefined;
2064
+ } | undefined;
2065
+ participant?: {
2066
+ sid?: string | undefined;
2067
+ identity?: string | undefined;
2068
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
2069
+ tracks?: {
2070
+ sid?: string | undefined;
2071
+ type?: TrackType | undefined;
2072
+ name?: string | undefined;
2073
+ muted?: boolean | undefined;
2074
+ width?: number | undefined;
2075
+ height?: number | undefined;
2076
+ simulcast?: boolean | undefined;
2077
+ disableDtx?: boolean | undefined;
2078
+ source?: TrackSource | undefined;
2079
+ layers?: {
2080
+ quality?: VideoQuality | undefined;
2081
+ width?: number | undefined;
2082
+ height?: number | undefined;
2083
+ bitrate?: number | undefined;
2084
+ ssrc?: number | undefined;
2085
+ }[] | undefined;
2086
+ mimeType?: string | undefined;
2087
+ mid?: string | undefined;
2088
+ codecs?: {
2089
+ mimeType?: string | undefined;
2090
+ mid?: string | undefined;
2091
+ cid?: string | undefined;
2092
+ layers?: {
2093
+ quality?: VideoQuality | undefined;
2094
+ width?: number | undefined;
2095
+ height?: number | undefined;
2096
+ bitrate?: number | undefined;
2097
+ ssrc?: number | undefined;
2098
+ }[] | undefined;
2099
+ }[] | undefined;
2100
+ stereo?: boolean | undefined;
2101
+ disableRed?: boolean | undefined;
2102
+ encryption?: Encryption_Type | undefined;
2103
+ }[] | undefined;
2104
+ metadata?: string | undefined;
2105
+ joinedAt?: number | undefined;
2106
+ name?: string | undefined;
2107
+ version?: number | undefined;
2108
+ permission?: {
2109
+ canSubscribe?: boolean | undefined;
2110
+ canPublish?: boolean | undefined;
2111
+ canPublishData?: boolean | undefined;
2112
+ canPublishSources?: TrackSource[] | undefined;
2113
+ hidden?: boolean | undefined;
2114
+ recorder?: boolean | undefined;
2115
+ } | undefined;
2116
+ region?: string | undefined;
2117
+ isPublisher?: boolean | undefined;
2118
+ } | undefined;
2119
+ otherParticipants?: {
2120
+ sid?: string | undefined;
2121
+ identity?: string | undefined;
2122
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
2123
+ tracks?: {
2124
+ sid?: string | undefined;
2125
+ type?: TrackType | undefined;
2126
+ name?: string | undefined;
2127
+ muted?: boolean | undefined;
2128
+ width?: number | undefined;
2129
+ height?: number | undefined;
2130
+ simulcast?: boolean | undefined;
2131
+ disableDtx?: boolean | undefined;
2132
+ source?: TrackSource | undefined;
2133
+ layers?: {
2134
+ quality?: VideoQuality | undefined;
2135
+ width?: number | undefined;
2136
+ height?: number | undefined;
2137
+ bitrate?: number | undefined;
2138
+ ssrc?: number | undefined;
2139
+ }[] | undefined;
2140
+ mimeType?: string | undefined;
2141
+ mid?: string | undefined;
2142
+ codecs?: {
2143
+ mimeType?: string | undefined;
2144
+ mid?: string | undefined;
2145
+ cid?: string | undefined;
2146
+ layers?: {
2147
+ quality?: VideoQuality | undefined;
2148
+ width?: number | undefined;
2149
+ height?: number | undefined;
2150
+ bitrate?: number | undefined;
2151
+ ssrc?: number | undefined;
2152
+ }[] | undefined;
2153
+ }[] | undefined;
2154
+ stereo?: boolean | undefined;
2155
+ disableRed?: boolean | undefined;
2156
+ encryption?: Encryption_Type | undefined;
2157
+ }[] | undefined;
2158
+ metadata?: string | undefined;
2159
+ joinedAt?: number | undefined;
2160
+ name?: string | undefined;
2161
+ version?: number | undefined;
2162
+ permission?: {
2163
+ canSubscribe?: boolean | undefined;
2164
+ canPublish?: boolean | undefined;
2165
+ canPublishData?: boolean | undefined;
2166
+ canPublishSources?: TrackSource[] | undefined;
2167
+ hidden?: boolean | undefined;
2168
+ recorder?: boolean | undefined;
2169
+ } | undefined;
2170
+ region?: string | undefined;
2171
+ isPublisher?: boolean | undefined;
2172
+ }[] | undefined;
2004
2173
  } | undefined;
2005
2174
  } & {
2006
2175
  $case: "reconnect";
2176
+ }) | ({
2177
+ pongResp?: {
2178
+ lastPingTimestamp?: number | undefined;
2179
+ timestamp?: number | undefined;
2180
+ } | undefined;
2181
+ } & {
2182
+ $case: "pongResp";
2007
2183
  }) | undefined;
2008
2184
  } & {
2009
2185
  message?: ({
@@ -4487,57 +4663,303 @@ export declare const SignalResponse: {
4487
4663
  } | undefined;
4488
4664
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4489
4665
  } | undefined;
4490
- } | undefined;
4491
- } & {
4492
- $case: "reconnect";
4493
- } & {
4494
- reconnect?: ({
4495
- iceServers?: {
4496
- urls?: string[] | undefined;
4497
- username?: string | undefined;
4498
- credential?: string | undefined;
4499
- }[] | undefined;
4500
- clientConfiguration?: {
4501
- video?: {
4502
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4503
- } | undefined;
4504
- screen?: {
4505
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4506
- } | undefined;
4507
- resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
4508
- disabledCodecs?: {
4666
+ room?: {
4667
+ sid?: string | undefined;
4668
+ name?: string | undefined;
4669
+ emptyTimeout?: number | undefined;
4670
+ maxParticipants?: number | undefined;
4671
+ creationTime?: number | undefined;
4672
+ turnPassword?: string | undefined;
4673
+ enabledCodecs?: {
4674
+ mime?: string | undefined;
4675
+ fmtpLine?: string | undefined;
4676
+ }[] | undefined;
4677
+ metadata?: string | undefined;
4678
+ numParticipants?: number | undefined;
4679
+ activeRecording?: boolean | undefined;
4680
+ } | undefined;
4681
+ participant?: {
4682
+ sid?: string | undefined;
4683
+ identity?: string | undefined;
4684
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
4685
+ tracks?: {
4686
+ sid?: string | undefined;
4687
+ type?: TrackType | undefined;
4688
+ name?: string | undefined;
4689
+ muted?: boolean | undefined;
4690
+ width?: number | undefined;
4691
+ height?: number | undefined;
4692
+ simulcast?: boolean | undefined;
4693
+ disableDtx?: boolean | undefined;
4694
+ source?: TrackSource | undefined;
4695
+ layers?: {
4696
+ quality?: VideoQuality | undefined;
4697
+ width?: number | undefined;
4698
+ height?: number | undefined;
4699
+ bitrate?: number | undefined;
4700
+ ssrc?: number | undefined;
4701
+ }[] | undefined;
4702
+ mimeType?: string | undefined;
4703
+ mid?: string | undefined;
4509
4704
  codecs?: {
4510
- mime?: string | undefined;
4511
- fmtpLine?: string | undefined;
4705
+ mimeType?: string | undefined;
4706
+ mid?: string | undefined;
4707
+ cid?: string | undefined;
4708
+ layers?: {
4709
+ quality?: VideoQuality | undefined;
4710
+ width?: number | undefined;
4711
+ height?: number | undefined;
4712
+ bitrate?: number | undefined;
4713
+ ssrc?: number | undefined;
4714
+ }[] | undefined;
4512
4715
  }[] | undefined;
4716
+ stereo?: boolean | undefined;
4717
+ disableRed?: boolean | undefined;
4718
+ encryption?: Encryption_Type | undefined;
4719
+ }[] | undefined;
4720
+ metadata?: string | undefined;
4721
+ joinedAt?: number | undefined;
4722
+ name?: string | undefined;
4723
+ version?: number | undefined;
4724
+ permission?: {
4725
+ canSubscribe?: boolean | undefined;
4726
+ canPublish?: boolean | undefined;
4727
+ canPublishData?: boolean | undefined;
4728
+ canPublishSources?: TrackSource[] | undefined;
4729
+ hidden?: boolean | undefined;
4730
+ recorder?: boolean | undefined;
4513
4731
  } | undefined;
4514
- forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4732
+ region?: string | undefined;
4733
+ isPublisher?: boolean | undefined;
4515
4734
  } | undefined;
4516
- } & {
4517
- iceServers?: ({
4518
- urls?: string[] | undefined;
4519
- username?: string | undefined;
4520
- credential?: string | undefined;
4521
- }[] & ({
4522
- urls?: string[] | undefined;
4523
- username?: string | undefined;
4524
- credential?: string | undefined;
4525
- } & {
4526
- urls?: (string[] & string[] & {
4527
- [K_102 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number]["urls"], keyof string[]>]: never;
4528
- }) | undefined;
4529
- username?: string | undefined;
4530
- credential?: string | undefined;
4531
- } & {
4532
- [K_103 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number], keyof ICEServer>]: never;
4533
- })[] & {
4534
- [K_104 in Exclude<keyof I["message"]["reconnect"]["iceServers"], keyof {
4535
- urls?: string[] | undefined;
4536
- username?: string | undefined;
4537
- credential?: string | undefined;
4538
- }[]>]: never;
4539
- }) | undefined;
4540
- clientConfiguration?: ({
4735
+ otherParticipants?: {
4736
+ sid?: string | undefined;
4737
+ identity?: string | undefined;
4738
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
4739
+ tracks?: {
4740
+ sid?: string | undefined;
4741
+ type?: TrackType | undefined;
4742
+ name?: string | undefined;
4743
+ muted?: boolean | undefined;
4744
+ width?: number | undefined;
4745
+ height?: number | undefined;
4746
+ simulcast?: boolean | undefined;
4747
+ disableDtx?: boolean | undefined;
4748
+ source?: TrackSource | undefined;
4749
+ layers?: {
4750
+ quality?: VideoQuality | undefined;
4751
+ width?: number | undefined;
4752
+ height?: number | undefined;
4753
+ bitrate?: number | undefined;
4754
+ ssrc?: number | undefined;
4755
+ }[] | undefined;
4756
+ mimeType?: string | undefined;
4757
+ mid?: string | undefined;
4758
+ codecs?: {
4759
+ mimeType?: string | undefined;
4760
+ mid?: string | undefined;
4761
+ cid?: string | undefined;
4762
+ layers?: {
4763
+ quality?: VideoQuality | undefined;
4764
+ width?: number | undefined;
4765
+ height?: number | undefined;
4766
+ bitrate?: number | undefined;
4767
+ ssrc?: number | undefined;
4768
+ }[] | undefined;
4769
+ }[] | undefined;
4770
+ stereo?: boolean | undefined;
4771
+ disableRed?: boolean | undefined;
4772
+ encryption?: Encryption_Type | undefined;
4773
+ }[] | undefined;
4774
+ metadata?: string | undefined;
4775
+ joinedAt?: number | undefined;
4776
+ name?: string | undefined;
4777
+ version?: number | undefined;
4778
+ permission?: {
4779
+ canSubscribe?: boolean | undefined;
4780
+ canPublish?: boolean | undefined;
4781
+ canPublishData?: boolean | undefined;
4782
+ canPublishSources?: TrackSource[] | undefined;
4783
+ hidden?: boolean | undefined;
4784
+ recorder?: boolean | undefined;
4785
+ } | undefined;
4786
+ region?: string | undefined;
4787
+ isPublisher?: boolean | undefined;
4788
+ }[] | undefined;
4789
+ } | undefined;
4790
+ } & {
4791
+ $case: "reconnect";
4792
+ } & {
4793
+ reconnect?: ({
4794
+ iceServers?: {
4795
+ urls?: string[] | undefined;
4796
+ username?: string | undefined;
4797
+ credential?: string | undefined;
4798
+ }[] | undefined;
4799
+ clientConfiguration?: {
4800
+ video?: {
4801
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4802
+ } | undefined;
4803
+ screen?: {
4804
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4805
+ } | undefined;
4806
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
4807
+ disabledCodecs?: {
4808
+ codecs?: {
4809
+ mime?: string | undefined;
4810
+ fmtpLine?: string | undefined;
4811
+ }[] | undefined;
4812
+ } | undefined;
4813
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4814
+ } | undefined;
4815
+ room?: {
4816
+ sid?: string | undefined;
4817
+ name?: string | undefined;
4818
+ emptyTimeout?: number | undefined;
4819
+ maxParticipants?: number | undefined;
4820
+ creationTime?: number | undefined;
4821
+ turnPassword?: string | undefined;
4822
+ enabledCodecs?: {
4823
+ mime?: string | undefined;
4824
+ fmtpLine?: string | undefined;
4825
+ }[] | undefined;
4826
+ metadata?: string | undefined;
4827
+ numParticipants?: number | undefined;
4828
+ activeRecording?: boolean | undefined;
4829
+ } | undefined;
4830
+ participant?: {
4831
+ sid?: string | undefined;
4832
+ identity?: string | undefined;
4833
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
4834
+ tracks?: {
4835
+ sid?: string | undefined;
4836
+ type?: TrackType | undefined;
4837
+ name?: string | undefined;
4838
+ muted?: boolean | undefined;
4839
+ width?: number | undefined;
4840
+ height?: number | undefined;
4841
+ simulcast?: boolean | undefined;
4842
+ disableDtx?: boolean | undefined;
4843
+ source?: TrackSource | undefined;
4844
+ layers?: {
4845
+ quality?: VideoQuality | undefined;
4846
+ width?: number | undefined;
4847
+ height?: number | undefined;
4848
+ bitrate?: number | undefined;
4849
+ ssrc?: number | undefined;
4850
+ }[] | undefined;
4851
+ mimeType?: string | undefined;
4852
+ mid?: string | undefined;
4853
+ codecs?: {
4854
+ mimeType?: string | undefined;
4855
+ mid?: string | undefined;
4856
+ cid?: string | undefined;
4857
+ layers?: {
4858
+ quality?: VideoQuality | undefined;
4859
+ width?: number | undefined;
4860
+ height?: number | undefined;
4861
+ bitrate?: number | undefined;
4862
+ ssrc?: number | undefined;
4863
+ }[] | undefined;
4864
+ }[] | undefined;
4865
+ stereo?: boolean | undefined;
4866
+ disableRed?: boolean | undefined;
4867
+ encryption?: Encryption_Type | undefined;
4868
+ }[] | undefined;
4869
+ metadata?: string | undefined;
4870
+ joinedAt?: number | undefined;
4871
+ name?: string | undefined;
4872
+ version?: number | undefined;
4873
+ permission?: {
4874
+ canSubscribe?: boolean | undefined;
4875
+ canPublish?: boolean | undefined;
4876
+ canPublishData?: boolean | undefined;
4877
+ canPublishSources?: TrackSource[] | undefined;
4878
+ hidden?: boolean | undefined;
4879
+ recorder?: boolean | undefined;
4880
+ } | undefined;
4881
+ region?: string | undefined;
4882
+ isPublisher?: boolean | undefined;
4883
+ } | undefined;
4884
+ otherParticipants?: {
4885
+ sid?: string | undefined;
4886
+ identity?: string | undefined;
4887
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
4888
+ tracks?: {
4889
+ sid?: string | undefined;
4890
+ type?: TrackType | undefined;
4891
+ name?: string | undefined;
4892
+ muted?: boolean | undefined;
4893
+ width?: number | undefined;
4894
+ height?: number | undefined;
4895
+ simulcast?: boolean | undefined;
4896
+ disableDtx?: boolean | undefined;
4897
+ source?: TrackSource | undefined;
4898
+ layers?: {
4899
+ quality?: VideoQuality | undefined;
4900
+ width?: number | undefined;
4901
+ height?: number | undefined;
4902
+ bitrate?: number | undefined;
4903
+ ssrc?: number | undefined;
4904
+ }[] | undefined;
4905
+ mimeType?: string | undefined;
4906
+ mid?: string | undefined;
4907
+ codecs?: {
4908
+ mimeType?: string | undefined;
4909
+ mid?: string | undefined;
4910
+ cid?: string | undefined;
4911
+ layers?: {
4912
+ quality?: VideoQuality | undefined;
4913
+ width?: number | undefined;
4914
+ height?: number | undefined;
4915
+ bitrate?: number | undefined;
4916
+ ssrc?: number | undefined;
4917
+ }[] | undefined;
4918
+ }[] | undefined;
4919
+ stereo?: boolean | undefined;
4920
+ disableRed?: boolean | undefined;
4921
+ encryption?: Encryption_Type | undefined;
4922
+ }[] | undefined;
4923
+ metadata?: string | undefined;
4924
+ joinedAt?: number | undefined;
4925
+ name?: string | undefined;
4926
+ version?: number | undefined;
4927
+ permission?: {
4928
+ canSubscribe?: boolean | undefined;
4929
+ canPublish?: boolean | undefined;
4930
+ canPublishData?: boolean | undefined;
4931
+ canPublishSources?: TrackSource[] | undefined;
4932
+ hidden?: boolean | undefined;
4933
+ recorder?: boolean | undefined;
4934
+ } | undefined;
4935
+ region?: string | undefined;
4936
+ isPublisher?: boolean | undefined;
4937
+ }[] | undefined;
4938
+ } & {
4939
+ iceServers?: ({
4940
+ urls?: string[] | undefined;
4941
+ username?: string | undefined;
4942
+ credential?: string | undefined;
4943
+ }[] & ({
4944
+ urls?: string[] | undefined;
4945
+ username?: string | undefined;
4946
+ credential?: string | undefined;
4947
+ } & {
4948
+ urls?: (string[] & string[] & {
4949
+ [K_102 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number]["urls"], keyof string[]>]: never;
4950
+ }) | undefined;
4951
+ username?: string | undefined;
4952
+ credential?: string | undefined;
4953
+ } & {
4954
+ [K_103 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number], keyof ICEServer>]: never;
4955
+ })[] & {
4956
+ [K_104 in Exclude<keyof I["message"]["reconnect"]["iceServers"], keyof {
4957
+ urls?: string[] | undefined;
4958
+ username?: string | undefined;
4959
+ credential?: string | undefined;
4960
+ }[]>]: never;
4961
+ }) | undefined;
4962
+ clientConfiguration?: ({
4541
4963
  video?: {
4542
4964
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4543
4965
  } | undefined;
@@ -4598,37 +5020,823 @@ export declare const SignalResponse: {
4598
5020
  } & {
4599
5021
  [K_110 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"], keyof ClientConfiguration>]: never;
4600
5022
  }) | undefined;
4601
- } & {
4602
- [K_111 in Exclude<keyof I["message"]["reconnect"], keyof ReconnectResponse>]: never;
4603
- }) | undefined;
4604
- $case: "reconnect";
4605
- } & {
4606
- [K_112 in Exclude<keyof I["message"], "reconnect" | "$case">]: never;
4607
- }) | undefined;
4608
- } & {
4609
- [K_113 in Exclude<keyof I, "message">]: never;
4610
- }>(object: I): SignalResponse;
4611
- };
4612
- export declare const SimulcastCodec: {
4613
- encode(message: SimulcastCodec, writer?: _m0.Writer): _m0.Writer;
4614
- decode(input: _m0.Reader | Uint8Array, length?: number): SimulcastCodec;
4615
- fromJSON(object: any): SimulcastCodec;
4616
- toJSON(message: SimulcastCodec): unknown;
4617
- fromPartial<I extends {
4618
- codec?: string | undefined;
4619
- cid?: string | undefined;
4620
- enableSimulcastLayers?: boolean | undefined;
4621
- } & {
4622
- codec?: string | undefined;
4623
- cid?: string | undefined;
4624
- enableSimulcastLayers?: boolean | undefined;
4625
- } & {
4626
- [K in Exclude<keyof I, keyof SimulcastCodec>]: never;
4627
- }>(object: I): SimulcastCodec;
4628
- };
4629
- export declare const AddTrackRequest: {
4630
- encode(message: AddTrackRequest, writer?: _m0.Writer): _m0.Writer;
4631
- decode(input: _m0.Reader | Uint8Array, length?: number): AddTrackRequest;
5023
+ room?: ({
5024
+ sid?: string | undefined;
5025
+ name?: string | undefined;
5026
+ emptyTimeout?: number | undefined;
5027
+ maxParticipants?: number | undefined;
5028
+ creationTime?: number | undefined;
5029
+ turnPassword?: string | undefined;
5030
+ enabledCodecs?: {
5031
+ mime?: string | undefined;
5032
+ fmtpLine?: string | undefined;
5033
+ }[] | undefined;
5034
+ metadata?: string | undefined;
5035
+ numParticipants?: number | undefined;
5036
+ activeRecording?: boolean | undefined;
5037
+ } & {
5038
+ sid?: string | undefined;
5039
+ name?: string | undefined;
5040
+ emptyTimeout?: number | undefined;
5041
+ maxParticipants?: number | undefined;
5042
+ creationTime?: number | undefined;
5043
+ turnPassword?: string | undefined;
5044
+ enabledCodecs?: ({
5045
+ mime?: string | undefined;
5046
+ fmtpLine?: string | undefined;
5047
+ }[] & ({
5048
+ mime?: string | undefined;
5049
+ fmtpLine?: string | undefined;
5050
+ } & {
5051
+ mime?: string | undefined;
5052
+ fmtpLine?: string | undefined;
5053
+ } & {
5054
+ [K_111 in Exclude<keyof I["message"]["reconnect"]["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never;
5055
+ })[] & {
5056
+ [K_112 in Exclude<keyof I["message"]["reconnect"]["room"]["enabledCodecs"], keyof {
5057
+ mime?: string | undefined;
5058
+ fmtpLine?: string | undefined;
5059
+ }[]>]: never;
5060
+ }) | undefined;
5061
+ metadata?: string | undefined;
5062
+ numParticipants?: number | undefined;
5063
+ activeRecording?: boolean | undefined;
5064
+ } & {
5065
+ [K_113 in Exclude<keyof I["message"]["reconnect"]["room"], keyof Room>]: never;
5066
+ }) | undefined;
5067
+ participant?: ({
5068
+ sid?: string | undefined;
5069
+ identity?: string | undefined;
5070
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
5071
+ tracks?: {
5072
+ sid?: string | undefined;
5073
+ type?: TrackType | undefined;
5074
+ name?: string | undefined;
5075
+ muted?: boolean | undefined;
5076
+ width?: number | undefined;
5077
+ height?: number | undefined;
5078
+ simulcast?: boolean | undefined;
5079
+ disableDtx?: boolean | undefined;
5080
+ source?: TrackSource | undefined;
5081
+ layers?: {
5082
+ quality?: VideoQuality | undefined;
5083
+ width?: number | undefined;
5084
+ height?: number | undefined;
5085
+ bitrate?: number | undefined;
5086
+ ssrc?: number | undefined;
5087
+ }[] | undefined;
5088
+ mimeType?: string | undefined;
5089
+ mid?: string | undefined;
5090
+ codecs?: {
5091
+ mimeType?: string | undefined;
5092
+ mid?: string | undefined;
5093
+ cid?: string | undefined;
5094
+ layers?: {
5095
+ quality?: VideoQuality | undefined;
5096
+ width?: number | undefined;
5097
+ height?: number | undefined;
5098
+ bitrate?: number | undefined;
5099
+ ssrc?: number | undefined;
5100
+ }[] | undefined;
5101
+ }[] | undefined;
5102
+ stereo?: boolean | undefined;
5103
+ disableRed?: boolean | undefined;
5104
+ encryption?: Encryption_Type | undefined;
5105
+ }[] | undefined;
5106
+ metadata?: string | undefined;
5107
+ joinedAt?: number | undefined;
5108
+ name?: string | undefined;
5109
+ version?: number | undefined;
5110
+ permission?: {
5111
+ canSubscribe?: boolean | undefined;
5112
+ canPublish?: boolean | undefined;
5113
+ canPublishData?: boolean | undefined;
5114
+ canPublishSources?: TrackSource[] | undefined;
5115
+ hidden?: boolean | undefined;
5116
+ recorder?: boolean | undefined;
5117
+ } | undefined;
5118
+ region?: string | undefined;
5119
+ isPublisher?: boolean | undefined;
5120
+ } & {
5121
+ sid?: string | undefined;
5122
+ identity?: string | undefined;
5123
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
5124
+ tracks?: ({
5125
+ sid?: string | undefined;
5126
+ type?: TrackType | undefined;
5127
+ name?: string | undefined;
5128
+ muted?: boolean | undefined;
5129
+ width?: number | undefined;
5130
+ height?: number | undefined;
5131
+ simulcast?: boolean | undefined;
5132
+ disableDtx?: boolean | undefined;
5133
+ source?: TrackSource | undefined;
5134
+ layers?: {
5135
+ quality?: VideoQuality | undefined;
5136
+ width?: number | undefined;
5137
+ height?: number | undefined;
5138
+ bitrate?: number | undefined;
5139
+ ssrc?: number | undefined;
5140
+ }[] | undefined;
5141
+ mimeType?: string | undefined;
5142
+ mid?: string | undefined;
5143
+ codecs?: {
5144
+ mimeType?: string | undefined;
5145
+ mid?: string | undefined;
5146
+ cid?: string | undefined;
5147
+ layers?: {
5148
+ quality?: VideoQuality | undefined;
5149
+ width?: number | undefined;
5150
+ height?: number | undefined;
5151
+ bitrate?: number | undefined;
5152
+ ssrc?: number | undefined;
5153
+ }[] | undefined;
5154
+ }[] | undefined;
5155
+ stereo?: boolean | undefined;
5156
+ disableRed?: boolean | undefined;
5157
+ encryption?: Encryption_Type | undefined;
5158
+ }[] & ({
5159
+ sid?: string | undefined;
5160
+ type?: TrackType | undefined;
5161
+ name?: string | undefined;
5162
+ muted?: boolean | undefined;
5163
+ width?: number | undefined;
5164
+ height?: number | undefined;
5165
+ simulcast?: boolean | undefined;
5166
+ disableDtx?: boolean | undefined;
5167
+ source?: TrackSource | undefined;
5168
+ layers?: {
5169
+ quality?: VideoQuality | undefined;
5170
+ width?: number | undefined;
5171
+ height?: number | undefined;
5172
+ bitrate?: number | undefined;
5173
+ ssrc?: number | undefined;
5174
+ }[] | undefined;
5175
+ mimeType?: string | undefined;
5176
+ mid?: string | undefined;
5177
+ codecs?: {
5178
+ mimeType?: string | undefined;
5179
+ mid?: string | undefined;
5180
+ cid?: string | undefined;
5181
+ layers?: {
5182
+ quality?: VideoQuality | undefined;
5183
+ width?: number | undefined;
5184
+ height?: number | undefined;
5185
+ bitrate?: number | undefined;
5186
+ ssrc?: number | undefined;
5187
+ }[] | undefined;
5188
+ }[] | undefined;
5189
+ stereo?: boolean | undefined;
5190
+ disableRed?: boolean | undefined;
5191
+ encryption?: Encryption_Type | undefined;
5192
+ } & {
5193
+ sid?: string | undefined;
5194
+ type?: TrackType | undefined;
5195
+ name?: string | undefined;
5196
+ muted?: boolean | undefined;
5197
+ width?: number | undefined;
5198
+ height?: number | undefined;
5199
+ simulcast?: boolean | undefined;
5200
+ disableDtx?: boolean | undefined;
5201
+ source?: TrackSource | undefined;
5202
+ layers?: ({
5203
+ quality?: VideoQuality | undefined;
5204
+ width?: number | undefined;
5205
+ height?: number | undefined;
5206
+ bitrate?: number | undefined;
5207
+ ssrc?: number | undefined;
5208
+ }[] & ({
5209
+ quality?: VideoQuality | undefined;
5210
+ width?: number | undefined;
5211
+ height?: number | undefined;
5212
+ bitrate?: number | undefined;
5213
+ ssrc?: number | undefined;
5214
+ } & {
5215
+ quality?: VideoQuality | undefined;
5216
+ width?: number | undefined;
5217
+ height?: number | undefined;
5218
+ bitrate?: number | undefined;
5219
+ ssrc?: number | undefined;
5220
+ } & {
5221
+ [K_114 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
5222
+ })[] & {
5223
+ [K_115 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number]["layers"], keyof {
5224
+ quality?: VideoQuality | undefined;
5225
+ width?: number | undefined;
5226
+ height?: number | undefined;
5227
+ bitrate?: number | undefined;
5228
+ ssrc?: number | undefined;
5229
+ }[]>]: never;
5230
+ }) | undefined;
5231
+ mimeType?: string | undefined;
5232
+ mid?: string | undefined;
5233
+ codecs?: ({
5234
+ mimeType?: string | undefined;
5235
+ mid?: string | undefined;
5236
+ cid?: string | undefined;
5237
+ layers?: {
5238
+ quality?: VideoQuality | undefined;
5239
+ width?: number | undefined;
5240
+ height?: number | undefined;
5241
+ bitrate?: number | undefined;
5242
+ ssrc?: number | undefined;
5243
+ }[] | undefined;
5244
+ }[] & ({
5245
+ mimeType?: string | undefined;
5246
+ mid?: string | undefined;
5247
+ cid?: string | undefined;
5248
+ layers?: {
5249
+ quality?: VideoQuality | undefined;
5250
+ width?: number | undefined;
5251
+ height?: number | undefined;
5252
+ bitrate?: number | undefined;
5253
+ ssrc?: number | undefined;
5254
+ }[] | undefined;
5255
+ } & {
5256
+ mimeType?: string | undefined;
5257
+ mid?: string | undefined;
5258
+ cid?: string | undefined;
5259
+ layers?: ({
5260
+ quality?: VideoQuality | undefined;
5261
+ width?: number | undefined;
5262
+ height?: number | undefined;
5263
+ bitrate?: number | undefined;
5264
+ ssrc?: number | undefined;
5265
+ }[] & ({
5266
+ quality?: VideoQuality | undefined;
5267
+ width?: number | undefined;
5268
+ height?: number | undefined;
5269
+ bitrate?: number | undefined;
5270
+ ssrc?: number | undefined;
5271
+ } & {
5272
+ quality?: VideoQuality | undefined;
5273
+ width?: number | undefined;
5274
+ height?: number | undefined;
5275
+ bitrate?: number | undefined;
5276
+ ssrc?: number | undefined;
5277
+ } & {
5278
+ [K_116 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
5279
+ })[] & {
5280
+ [K_117 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number]["codecs"][number]["layers"], keyof {
5281
+ quality?: VideoQuality | undefined;
5282
+ width?: number | undefined;
5283
+ height?: number | undefined;
5284
+ bitrate?: number | undefined;
5285
+ ssrc?: number | undefined;
5286
+ }[]>]: never;
5287
+ }) | undefined;
5288
+ } & {
5289
+ [K_118 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
5290
+ })[] & {
5291
+ [K_119 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number]["codecs"], keyof {
5292
+ mimeType?: string | undefined;
5293
+ mid?: string | undefined;
5294
+ cid?: string | undefined;
5295
+ layers?: {
5296
+ quality?: VideoQuality | undefined;
5297
+ width?: number | undefined;
5298
+ height?: number | undefined;
5299
+ bitrate?: number | undefined;
5300
+ ssrc?: number | undefined;
5301
+ }[] | undefined;
5302
+ }[]>]: never;
5303
+ }) | undefined;
5304
+ stereo?: boolean | undefined;
5305
+ disableRed?: boolean | undefined;
5306
+ encryption?: Encryption_Type | undefined;
5307
+ } & {
5308
+ [K_120 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number], keyof TrackInfo>]: never;
5309
+ })[] & {
5310
+ [K_121 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"], keyof {
5311
+ sid?: string | undefined;
5312
+ type?: TrackType | undefined;
5313
+ name?: string | undefined;
5314
+ muted?: boolean | undefined;
5315
+ width?: number | undefined;
5316
+ height?: number | undefined;
5317
+ simulcast?: boolean | undefined;
5318
+ disableDtx?: boolean | undefined;
5319
+ source?: TrackSource | undefined;
5320
+ layers?: {
5321
+ quality?: VideoQuality | undefined;
5322
+ width?: number | undefined;
5323
+ height?: number | undefined;
5324
+ bitrate?: number | undefined;
5325
+ ssrc?: number | undefined;
5326
+ }[] | undefined;
5327
+ mimeType?: string | undefined;
5328
+ mid?: string | undefined;
5329
+ codecs?: {
5330
+ mimeType?: string | undefined;
5331
+ mid?: string | undefined;
5332
+ cid?: string | undefined;
5333
+ layers?: {
5334
+ quality?: VideoQuality | undefined;
5335
+ width?: number | undefined;
5336
+ height?: number | undefined;
5337
+ bitrate?: number | undefined;
5338
+ ssrc?: number | undefined;
5339
+ }[] | undefined;
5340
+ }[] | undefined;
5341
+ stereo?: boolean | undefined;
5342
+ disableRed?: boolean | undefined;
5343
+ encryption?: Encryption_Type | undefined;
5344
+ }[]>]: never;
5345
+ }) | undefined;
5346
+ metadata?: string | undefined;
5347
+ joinedAt?: number | undefined;
5348
+ name?: string | undefined;
5349
+ version?: number | undefined;
5350
+ permission?: ({
5351
+ canSubscribe?: boolean | undefined;
5352
+ canPublish?: boolean | undefined;
5353
+ canPublishData?: boolean | undefined;
5354
+ canPublishSources?: TrackSource[] | undefined;
5355
+ hidden?: boolean | undefined;
5356
+ recorder?: boolean | undefined;
5357
+ } & {
5358
+ canSubscribe?: boolean | undefined;
5359
+ canPublish?: boolean | undefined;
5360
+ canPublishData?: boolean | undefined;
5361
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
5362
+ [K_122 in Exclude<keyof I["message"]["reconnect"]["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
5363
+ }) | undefined;
5364
+ hidden?: boolean | undefined;
5365
+ recorder?: boolean | undefined;
5366
+ } & {
5367
+ [K_123 in Exclude<keyof I["message"]["reconnect"]["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
5368
+ }) | undefined;
5369
+ region?: string | undefined;
5370
+ isPublisher?: boolean | undefined;
5371
+ } & {
5372
+ [K_124 in Exclude<keyof I["message"]["reconnect"]["participant"], keyof ParticipantInfo>]: never;
5373
+ }) | undefined;
5374
+ otherParticipants?: ({
5375
+ sid?: string | undefined;
5376
+ identity?: string | undefined;
5377
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
5378
+ tracks?: {
5379
+ sid?: string | undefined;
5380
+ type?: TrackType | undefined;
5381
+ name?: string | undefined;
5382
+ muted?: boolean | undefined;
5383
+ width?: number | undefined;
5384
+ height?: number | undefined;
5385
+ simulcast?: boolean | undefined;
5386
+ disableDtx?: boolean | undefined;
5387
+ source?: TrackSource | undefined;
5388
+ layers?: {
5389
+ quality?: VideoQuality | undefined;
5390
+ width?: number | undefined;
5391
+ height?: number | undefined;
5392
+ bitrate?: number | undefined;
5393
+ ssrc?: number | undefined;
5394
+ }[] | undefined;
5395
+ mimeType?: string | undefined;
5396
+ mid?: string | undefined;
5397
+ codecs?: {
5398
+ mimeType?: string | undefined;
5399
+ mid?: string | undefined;
5400
+ cid?: string | undefined;
5401
+ layers?: {
5402
+ quality?: VideoQuality | undefined;
5403
+ width?: number | undefined;
5404
+ height?: number | undefined;
5405
+ bitrate?: number | undefined;
5406
+ ssrc?: number | undefined;
5407
+ }[] | undefined;
5408
+ }[] | undefined;
5409
+ stereo?: boolean | undefined;
5410
+ disableRed?: boolean | undefined;
5411
+ encryption?: Encryption_Type | undefined;
5412
+ }[] | undefined;
5413
+ metadata?: string | undefined;
5414
+ joinedAt?: number | undefined;
5415
+ name?: string | undefined;
5416
+ version?: number | undefined;
5417
+ permission?: {
5418
+ canSubscribe?: boolean | undefined;
5419
+ canPublish?: boolean | undefined;
5420
+ canPublishData?: boolean | undefined;
5421
+ canPublishSources?: TrackSource[] | undefined;
5422
+ hidden?: boolean | undefined;
5423
+ recorder?: boolean | undefined;
5424
+ } | undefined;
5425
+ region?: string | undefined;
5426
+ isPublisher?: boolean | undefined;
5427
+ }[] & ({
5428
+ sid?: string | undefined;
5429
+ identity?: string | undefined;
5430
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
5431
+ tracks?: {
5432
+ sid?: string | undefined;
5433
+ type?: TrackType | undefined;
5434
+ name?: string | undefined;
5435
+ muted?: boolean | undefined;
5436
+ width?: number | undefined;
5437
+ height?: number | undefined;
5438
+ simulcast?: boolean | undefined;
5439
+ disableDtx?: boolean | undefined;
5440
+ source?: TrackSource | undefined;
5441
+ layers?: {
5442
+ quality?: VideoQuality | undefined;
5443
+ width?: number | undefined;
5444
+ height?: number | undefined;
5445
+ bitrate?: number | undefined;
5446
+ ssrc?: number | undefined;
5447
+ }[] | undefined;
5448
+ mimeType?: string | undefined;
5449
+ mid?: string | undefined;
5450
+ codecs?: {
5451
+ mimeType?: string | undefined;
5452
+ mid?: string | undefined;
5453
+ cid?: string | undefined;
5454
+ layers?: {
5455
+ quality?: VideoQuality | undefined;
5456
+ width?: number | undefined;
5457
+ height?: number | undefined;
5458
+ bitrate?: number | undefined;
5459
+ ssrc?: number | undefined;
5460
+ }[] | undefined;
5461
+ }[] | undefined;
5462
+ stereo?: boolean | undefined;
5463
+ disableRed?: boolean | undefined;
5464
+ encryption?: Encryption_Type | undefined;
5465
+ }[] | undefined;
5466
+ metadata?: string | undefined;
5467
+ joinedAt?: number | undefined;
5468
+ name?: string | undefined;
5469
+ version?: number | undefined;
5470
+ permission?: {
5471
+ canSubscribe?: boolean | undefined;
5472
+ canPublish?: boolean | undefined;
5473
+ canPublishData?: boolean | undefined;
5474
+ canPublishSources?: TrackSource[] | undefined;
5475
+ hidden?: boolean | undefined;
5476
+ recorder?: boolean | undefined;
5477
+ } | undefined;
5478
+ region?: string | undefined;
5479
+ isPublisher?: boolean | undefined;
5480
+ } & {
5481
+ sid?: string | undefined;
5482
+ identity?: string | undefined;
5483
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
5484
+ tracks?: ({
5485
+ sid?: string | undefined;
5486
+ type?: TrackType | undefined;
5487
+ name?: string | undefined;
5488
+ muted?: boolean | undefined;
5489
+ width?: number | undefined;
5490
+ height?: number | undefined;
5491
+ simulcast?: boolean | undefined;
5492
+ disableDtx?: boolean | undefined;
5493
+ source?: TrackSource | undefined;
5494
+ layers?: {
5495
+ quality?: VideoQuality | undefined;
5496
+ width?: number | undefined;
5497
+ height?: number | undefined;
5498
+ bitrate?: number | undefined;
5499
+ ssrc?: number | undefined;
5500
+ }[] | undefined;
5501
+ mimeType?: string | undefined;
5502
+ mid?: string | undefined;
5503
+ codecs?: {
5504
+ mimeType?: string | undefined;
5505
+ mid?: string | undefined;
5506
+ cid?: string | undefined;
5507
+ layers?: {
5508
+ quality?: VideoQuality | undefined;
5509
+ width?: number | undefined;
5510
+ height?: number | undefined;
5511
+ bitrate?: number | undefined;
5512
+ ssrc?: number | undefined;
5513
+ }[] | undefined;
5514
+ }[] | undefined;
5515
+ stereo?: boolean | undefined;
5516
+ disableRed?: boolean | undefined;
5517
+ encryption?: Encryption_Type | undefined;
5518
+ }[] & ({
5519
+ sid?: string | undefined;
5520
+ type?: TrackType | undefined;
5521
+ name?: string | undefined;
5522
+ muted?: boolean | undefined;
5523
+ width?: number | undefined;
5524
+ height?: number | undefined;
5525
+ simulcast?: boolean | undefined;
5526
+ disableDtx?: boolean | undefined;
5527
+ source?: TrackSource | undefined;
5528
+ layers?: {
5529
+ quality?: VideoQuality | undefined;
5530
+ width?: number | undefined;
5531
+ height?: number | undefined;
5532
+ bitrate?: number | undefined;
5533
+ ssrc?: number | undefined;
5534
+ }[] | undefined;
5535
+ mimeType?: string | undefined;
5536
+ mid?: string | undefined;
5537
+ codecs?: {
5538
+ mimeType?: string | undefined;
5539
+ mid?: string | undefined;
5540
+ cid?: string | undefined;
5541
+ layers?: {
5542
+ quality?: VideoQuality | undefined;
5543
+ width?: number | undefined;
5544
+ height?: number | undefined;
5545
+ bitrate?: number | undefined;
5546
+ ssrc?: number | undefined;
5547
+ }[] | undefined;
5548
+ }[] | undefined;
5549
+ stereo?: boolean | undefined;
5550
+ disableRed?: boolean | undefined;
5551
+ encryption?: Encryption_Type | undefined;
5552
+ } & {
5553
+ sid?: string | undefined;
5554
+ type?: TrackType | undefined;
5555
+ name?: string | undefined;
5556
+ muted?: boolean | undefined;
5557
+ width?: number | undefined;
5558
+ height?: number | undefined;
5559
+ simulcast?: boolean | undefined;
5560
+ disableDtx?: boolean | undefined;
5561
+ source?: TrackSource | undefined;
5562
+ layers?: ({
5563
+ quality?: VideoQuality | undefined;
5564
+ width?: number | undefined;
5565
+ height?: number | undefined;
5566
+ bitrate?: number | undefined;
5567
+ ssrc?: number | undefined;
5568
+ }[] & ({
5569
+ quality?: VideoQuality | undefined;
5570
+ width?: number | undefined;
5571
+ height?: number | undefined;
5572
+ bitrate?: number | undefined;
5573
+ ssrc?: number | undefined;
5574
+ } & {
5575
+ quality?: VideoQuality | undefined;
5576
+ width?: number | undefined;
5577
+ height?: number | undefined;
5578
+ bitrate?: number | undefined;
5579
+ ssrc?: number | undefined;
5580
+ } & {
5581
+ [K_125 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
5582
+ })[] & {
5583
+ [K_126 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number]["layers"], keyof {
5584
+ quality?: VideoQuality | undefined;
5585
+ width?: number | undefined;
5586
+ height?: number | undefined;
5587
+ bitrate?: number | undefined;
5588
+ ssrc?: number | undefined;
5589
+ }[]>]: never;
5590
+ }) | undefined;
5591
+ mimeType?: string | undefined;
5592
+ mid?: string | undefined;
5593
+ codecs?: ({
5594
+ mimeType?: string | undefined;
5595
+ mid?: string | undefined;
5596
+ cid?: string | undefined;
5597
+ layers?: {
5598
+ quality?: VideoQuality | undefined;
5599
+ width?: number | undefined;
5600
+ height?: number | undefined;
5601
+ bitrate?: number | undefined;
5602
+ ssrc?: number | undefined;
5603
+ }[] | undefined;
5604
+ }[] & ({
5605
+ mimeType?: string | undefined;
5606
+ mid?: string | undefined;
5607
+ cid?: string | undefined;
5608
+ layers?: {
5609
+ quality?: VideoQuality | undefined;
5610
+ width?: number | undefined;
5611
+ height?: number | undefined;
5612
+ bitrate?: number | undefined;
5613
+ ssrc?: number | undefined;
5614
+ }[] | undefined;
5615
+ } & {
5616
+ mimeType?: string | undefined;
5617
+ mid?: string | undefined;
5618
+ cid?: string | undefined;
5619
+ layers?: ({
5620
+ quality?: VideoQuality | undefined;
5621
+ width?: number | undefined;
5622
+ height?: number | undefined;
5623
+ bitrate?: number | undefined;
5624
+ ssrc?: number | undefined;
5625
+ }[] & ({
5626
+ quality?: VideoQuality | undefined;
5627
+ width?: number | undefined;
5628
+ height?: number | undefined;
5629
+ bitrate?: number | undefined;
5630
+ ssrc?: number | undefined;
5631
+ } & {
5632
+ quality?: VideoQuality | undefined;
5633
+ width?: number | undefined;
5634
+ height?: number | undefined;
5635
+ bitrate?: number | undefined;
5636
+ ssrc?: number | undefined;
5637
+ } & {
5638
+ [K_127 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
5639
+ })[] & {
5640
+ [K_128 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
5641
+ quality?: VideoQuality | undefined;
5642
+ width?: number | undefined;
5643
+ height?: number | undefined;
5644
+ bitrate?: number | undefined;
5645
+ ssrc?: number | undefined;
5646
+ }[]>]: never;
5647
+ }) | undefined;
5648
+ } & {
5649
+ [K_129 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
5650
+ })[] & {
5651
+ [K_130 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
5652
+ mimeType?: string | undefined;
5653
+ mid?: string | undefined;
5654
+ cid?: string | undefined;
5655
+ layers?: {
5656
+ quality?: VideoQuality | undefined;
5657
+ width?: number | undefined;
5658
+ height?: number | undefined;
5659
+ bitrate?: number | undefined;
5660
+ ssrc?: number | undefined;
5661
+ }[] | undefined;
5662
+ }[]>]: never;
5663
+ }) | undefined;
5664
+ stereo?: boolean | undefined;
5665
+ disableRed?: boolean | undefined;
5666
+ encryption?: Encryption_Type | undefined;
5667
+ } & {
5668
+ [K_131 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
5669
+ })[] & {
5670
+ [K_132 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"], keyof {
5671
+ sid?: string | undefined;
5672
+ type?: TrackType | undefined;
5673
+ name?: string | undefined;
5674
+ muted?: boolean | undefined;
5675
+ width?: number | undefined;
5676
+ height?: number | undefined;
5677
+ simulcast?: boolean | undefined;
5678
+ disableDtx?: boolean | undefined;
5679
+ source?: TrackSource | undefined;
5680
+ layers?: {
5681
+ quality?: VideoQuality | undefined;
5682
+ width?: number | undefined;
5683
+ height?: number | undefined;
5684
+ bitrate?: number | undefined;
5685
+ ssrc?: number | undefined;
5686
+ }[] | undefined;
5687
+ mimeType?: string | undefined;
5688
+ mid?: string | undefined;
5689
+ codecs?: {
5690
+ mimeType?: string | undefined;
5691
+ mid?: string | undefined;
5692
+ cid?: string | undefined;
5693
+ layers?: {
5694
+ quality?: VideoQuality | undefined;
5695
+ width?: number | undefined;
5696
+ height?: number | undefined;
5697
+ bitrate?: number | undefined;
5698
+ ssrc?: number | undefined;
5699
+ }[] | undefined;
5700
+ }[] | undefined;
5701
+ stereo?: boolean | undefined;
5702
+ disableRed?: boolean | undefined;
5703
+ encryption?: Encryption_Type | undefined;
5704
+ }[]>]: never;
5705
+ }) | undefined;
5706
+ metadata?: string | undefined;
5707
+ joinedAt?: number | undefined;
5708
+ name?: string | undefined;
5709
+ version?: number | undefined;
5710
+ permission?: ({
5711
+ canSubscribe?: boolean | undefined;
5712
+ canPublish?: boolean | undefined;
5713
+ canPublishData?: boolean | undefined;
5714
+ canPublishSources?: TrackSource[] | undefined;
5715
+ hidden?: boolean | undefined;
5716
+ recorder?: boolean | undefined;
5717
+ } & {
5718
+ canSubscribe?: boolean | undefined;
5719
+ canPublish?: boolean | undefined;
5720
+ canPublishData?: boolean | undefined;
5721
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
5722
+ [K_133 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
5723
+ }) | undefined;
5724
+ hidden?: boolean | undefined;
5725
+ recorder?: boolean | undefined;
5726
+ } & {
5727
+ [K_134 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
5728
+ }) | undefined;
5729
+ region?: string | undefined;
5730
+ isPublisher?: boolean | undefined;
5731
+ } & {
5732
+ [K_135 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number], keyof ParticipantInfo>]: never;
5733
+ })[] & {
5734
+ [K_136 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"], keyof {
5735
+ sid?: string | undefined;
5736
+ identity?: string | undefined;
5737
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
5738
+ tracks?: {
5739
+ sid?: string | undefined;
5740
+ type?: TrackType | undefined;
5741
+ name?: string | undefined;
5742
+ muted?: boolean | undefined;
5743
+ width?: number | undefined;
5744
+ height?: number | undefined;
5745
+ simulcast?: boolean | undefined;
5746
+ disableDtx?: boolean | undefined;
5747
+ source?: TrackSource | undefined;
5748
+ layers?: {
5749
+ quality?: VideoQuality | undefined;
5750
+ width?: number | undefined;
5751
+ height?: number | undefined;
5752
+ bitrate?: number | undefined;
5753
+ ssrc?: number | undefined;
5754
+ }[] | undefined;
5755
+ mimeType?: string | undefined;
5756
+ mid?: string | undefined;
5757
+ codecs?: {
5758
+ mimeType?: string | undefined;
5759
+ mid?: string | undefined;
5760
+ cid?: string | undefined;
5761
+ layers?: {
5762
+ quality?: VideoQuality | undefined;
5763
+ width?: number | undefined;
5764
+ height?: number | undefined;
5765
+ bitrate?: number | undefined;
5766
+ ssrc?: number | undefined;
5767
+ }[] | undefined;
5768
+ }[] | undefined;
5769
+ stereo?: boolean | undefined;
5770
+ disableRed?: boolean | undefined;
5771
+ encryption?: Encryption_Type | undefined;
5772
+ }[] | undefined;
5773
+ metadata?: string | undefined;
5774
+ joinedAt?: number | undefined;
5775
+ name?: string | undefined;
5776
+ version?: number | undefined;
5777
+ permission?: {
5778
+ canSubscribe?: boolean | undefined;
5779
+ canPublish?: boolean | undefined;
5780
+ canPublishData?: boolean | undefined;
5781
+ canPublishSources?: TrackSource[] | undefined;
5782
+ hidden?: boolean | undefined;
5783
+ recorder?: boolean | undefined;
5784
+ } | undefined;
5785
+ region?: string | undefined;
5786
+ isPublisher?: boolean | undefined;
5787
+ }[]>]: never;
5788
+ }) | undefined;
5789
+ } & {
5790
+ [K_137 in Exclude<keyof I["message"]["reconnect"], keyof ReconnectResponse>]: never;
5791
+ }) | undefined;
5792
+ $case: "reconnect";
5793
+ } & {
5794
+ [K_138 in Exclude<keyof I["message"], "reconnect" | "$case">]: never;
5795
+ }) | ({
5796
+ pongResp?: {
5797
+ lastPingTimestamp?: number | undefined;
5798
+ timestamp?: number | undefined;
5799
+ } | undefined;
5800
+ } & {
5801
+ $case: "pongResp";
5802
+ } & {
5803
+ pongResp?: ({
5804
+ lastPingTimestamp?: number | undefined;
5805
+ timestamp?: number | undefined;
5806
+ } & {
5807
+ lastPingTimestamp?: number | undefined;
5808
+ timestamp?: number | undefined;
5809
+ } & {
5810
+ [K_139 in Exclude<keyof I["message"]["pongResp"], keyof Pong>]: never;
5811
+ }) | undefined;
5812
+ $case: "pongResp";
5813
+ } & {
5814
+ [K_140 in Exclude<keyof I["message"], "pongResp" | "$case">]: never;
5815
+ }) | undefined;
5816
+ } & {
5817
+ [K_141 in Exclude<keyof I, "message">]: never;
5818
+ }>(object: I): SignalResponse;
5819
+ };
5820
+ export declare const SimulcastCodec: {
5821
+ encode(message: SimulcastCodec, writer?: _m0.Writer): _m0.Writer;
5822
+ decode(input: _m0.Reader | Uint8Array, length?: number): SimulcastCodec;
5823
+ fromJSON(object: any): SimulcastCodec;
5824
+ toJSON(message: SimulcastCodec): unknown;
5825
+ fromPartial<I extends {
5826
+ codec?: string | undefined;
5827
+ cid?: string | undefined;
5828
+ enableSimulcastLayers?: boolean | undefined;
5829
+ } & {
5830
+ codec?: string | undefined;
5831
+ cid?: string | undefined;
5832
+ enableSimulcastLayers?: boolean | undefined;
5833
+ } & {
5834
+ [K in Exclude<keyof I, keyof SimulcastCodec>]: never;
5835
+ }>(object: I): SimulcastCodec;
5836
+ };
5837
+ export declare const AddTrackRequest: {
5838
+ encode(message: AddTrackRequest, writer?: _m0.Writer): _m0.Writer;
5839
+ decode(input: _m0.Reader | Uint8Array, length?: number): AddTrackRequest;
4632
5840
  fromJSON(object: any): AddTrackRequest;
4633
5841
  toJSON(message: AddTrackRequest): unknown;
4634
5842
  fromPartial<I extends {
@@ -4651,114 +5859,1177 @@ export declare const AddTrackRequest: {
4651
5859
  codec?: string | undefined;
4652
5860
  cid?: string | undefined;
4653
5861
  enableSimulcastLayers?: boolean | undefined;
4654
- }[] | undefined;
5862
+ }[] | undefined;
5863
+ sid?: string | undefined;
5864
+ stereo?: boolean | undefined;
5865
+ disableRed?: boolean | undefined;
5866
+ encryption?: Encryption_Type | undefined;
5867
+ } & {
5868
+ cid?: string | undefined;
5869
+ name?: string | undefined;
5870
+ type?: TrackType | undefined;
5871
+ width?: number | undefined;
5872
+ height?: number | undefined;
5873
+ muted?: boolean | undefined;
5874
+ disableDtx?: boolean | undefined;
5875
+ source?: TrackSource | undefined;
5876
+ layers?: ({
5877
+ quality?: VideoQuality | undefined;
5878
+ width?: number | undefined;
5879
+ height?: number | undefined;
5880
+ bitrate?: number | undefined;
5881
+ ssrc?: number | undefined;
5882
+ }[] & ({
5883
+ quality?: VideoQuality | undefined;
5884
+ width?: number | undefined;
5885
+ height?: number | undefined;
5886
+ bitrate?: number | undefined;
5887
+ ssrc?: number | undefined;
5888
+ } & {
5889
+ quality?: VideoQuality | undefined;
5890
+ width?: number | undefined;
5891
+ height?: number | undefined;
5892
+ bitrate?: number | undefined;
5893
+ ssrc?: number | undefined;
5894
+ } & {
5895
+ [K in Exclude<keyof I["layers"][number], keyof VideoLayer>]: never;
5896
+ })[] & {
5897
+ [K_1 in Exclude<keyof I["layers"], keyof {
5898
+ quality?: VideoQuality | undefined;
5899
+ width?: number | undefined;
5900
+ height?: number | undefined;
5901
+ bitrate?: number | undefined;
5902
+ ssrc?: number | undefined;
5903
+ }[]>]: never;
5904
+ }) | undefined;
5905
+ simulcastCodecs?: ({
5906
+ codec?: string | undefined;
5907
+ cid?: string | undefined;
5908
+ enableSimulcastLayers?: boolean | undefined;
5909
+ }[] & ({
5910
+ codec?: string | undefined;
5911
+ cid?: string | undefined;
5912
+ enableSimulcastLayers?: boolean | undefined;
5913
+ } & {
5914
+ codec?: string | undefined;
5915
+ cid?: string | undefined;
5916
+ enableSimulcastLayers?: boolean | undefined;
5917
+ } & {
5918
+ [K_2 in Exclude<keyof I["simulcastCodecs"][number], keyof SimulcastCodec>]: never;
5919
+ })[] & {
5920
+ [K_3 in Exclude<keyof I["simulcastCodecs"], keyof {
5921
+ codec?: string | undefined;
5922
+ cid?: string | undefined;
5923
+ enableSimulcastLayers?: boolean | undefined;
5924
+ }[]>]: never;
5925
+ }) | undefined;
4655
5926
  sid?: string | undefined;
4656
5927
  stereo?: boolean | undefined;
4657
5928
  disableRed?: boolean | undefined;
4658
5929
  encryption?: Encryption_Type | undefined;
4659
5930
  } & {
4660
- cid?: string | undefined;
4661
- name?: string | undefined;
4662
- type?: TrackType | undefined;
4663
- width?: number | undefined;
4664
- height?: number | undefined;
5931
+ [K_4 in Exclude<keyof I, keyof AddTrackRequest>]: never;
5932
+ }>(object: I): AddTrackRequest;
5933
+ };
5934
+ export declare const TrickleRequest: {
5935
+ encode(message: TrickleRequest, writer?: _m0.Writer): _m0.Writer;
5936
+ decode(input: _m0.Reader | Uint8Array, length?: number): TrickleRequest;
5937
+ fromJSON(object: any): TrickleRequest;
5938
+ toJSON(message: TrickleRequest): unknown;
5939
+ fromPartial<I extends {
5940
+ candidateInit?: string | undefined;
5941
+ target?: SignalTarget | undefined;
5942
+ } & {
5943
+ candidateInit?: string | undefined;
5944
+ target?: SignalTarget | undefined;
5945
+ } & {
5946
+ [K in Exclude<keyof I, keyof TrickleRequest>]: never;
5947
+ }>(object: I): TrickleRequest;
5948
+ };
5949
+ export declare const MuteTrackRequest: {
5950
+ encode(message: MuteTrackRequest, writer?: _m0.Writer): _m0.Writer;
5951
+ decode(input: _m0.Reader | Uint8Array, length?: number): MuteTrackRequest;
5952
+ fromJSON(object: any): MuteTrackRequest;
5953
+ toJSON(message: MuteTrackRequest): unknown;
5954
+ fromPartial<I extends {
5955
+ sid?: string | undefined;
4665
5956
  muted?: boolean | undefined;
4666
- disableDtx?: boolean | undefined;
4667
- source?: TrackSource | undefined;
4668
- layers?: ({
4669
- quality?: VideoQuality | undefined;
4670
- width?: number | undefined;
4671
- height?: number | undefined;
4672
- bitrate?: number | undefined;
4673
- ssrc?: number | undefined;
5957
+ } & {
5958
+ sid?: string | undefined;
5959
+ muted?: boolean | undefined;
5960
+ } & {
5961
+ [K in Exclude<keyof I, keyof MuteTrackRequest>]: never;
5962
+ }>(object: I): MuteTrackRequest;
5963
+ };
5964
+ export declare const JoinResponse: {
5965
+ encode(message: JoinResponse, writer?: _m0.Writer): _m0.Writer;
5966
+ decode(input: _m0.Reader | Uint8Array, length?: number): JoinResponse;
5967
+ fromJSON(object: any): JoinResponse;
5968
+ toJSON(message: JoinResponse): unknown;
5969
+ fromPartial<I extends {
5970
+ room?: {
5971
+ sid?: string | undefined;
5972
+ name?: string | undefined;
5973
+ emptyTimeout?: number | undefined;
5974
+ maxParticipants?: number | undefined;
5975
+ creationTime?: number | undefined;
5976
+ turnPassword?: string | undefined;
5977
+ enabledCodecs?: {
5978
+ mime?: string | undefined;
5979
+ fmtpLine?: string | undefined;
5980
+ }[] | undefined;
5981
+ metadata?: string | undefined;
5982
+ numParticipants?: number | undefined;
5983
+ activeRecording?: boolean | undefined;
5984
+ } | undefined;
5985
+ participant?: {
5986
+ sid?: string | undefined;
5987
+ identity?: string | undefined;
5988
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
5989
+ tracks?: {
5990
+ sid?: string | undefined;
5991
+ type?: TrackType | undefined;
5992
+ name?: string | undefined;
5993
+ muted?: boolean | undefined;
5994
+ width?: number | undefined;
5995
+ height?: number | undefined;
5996
+ simulcast?: boolean | undefined;
5997
+ disableDtx?: boolean | undefined;
5998
+ source?: TrackSource | undefined;
5999
+ layers?: {
6000
+ quality?: VideoQuality | undefined;
6001
+ width?: number | undefined;
6002
+ height?: number | undefined;
6003
+ bitrate?: number | undefined;
6004
+ ssrc?: number | undefined;
6005
+ }[] | undefined;
6006
+ mimeType?: string | undefined;
6007
+ mid?: string | undefined;
6008
+ codecs?: {
6009
+ mimeType?: string | undefined;
6010
+ mid?: string | undefined;
6011
+ cid?: string | undefined;
6012
+ layers?: {
6013
+ quality?: VideoQuality | undefined;
6014
+ width?: number | undefined;
6015
+ height?: number | undefined;
6016
+ bitrate?: number | undefined;
6017
+ ssrc?: number | undefined;
6018
+ }[] | undefined;
6019
+ }[] | undefined;
6020
+ stereo?: boolean | undefined;
6021
+ disableRed?: boolean | undefined;
6022
+ encryption?: Encryption_Type | undefined;
6023
+ }[] | undefined;
6024
+ metadata?: string | undefined;
6025
+ joinedAt?: number | undefined;
6026
+ name?: string | undefined;
6027
+ version?: number | undefined;
6028
+ permission?: {
6029
+ canSubscribe?: boolean | undefined;
6030
+ canPublish?: boolean | undefined;
6031
+ canPublishData?: boolean | undefined;
6032
+ canPublishSources?: TrackSource[] | undefined;
6033
+ hidden?: boolean | undefined;
6034
+ recorder?: boolean | undefined;
6035
+ } | undefined;
6036
+ region?: string | undefined;
6037
+ isPublisher?: boolean | undefined;
6038
+ } | undefined;
6039
+ otherParticipants?: {
6040
+ sid?: string | undefined;
6041
+ identity?: string | undefined;
6042
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
6043
+ tracks?: {
6044
+ sid?: string | undefined;
6045
+ type?: TrackType | undefined;
6046
+ name?: string | undefined;
6047
+ muted?: boolean | undefined;
6048
+ width?: number | undefined;
6049
+ height?: number | undefined;
6050
+ simulcast?: boolean | undefined;
6051
+ disableDtx?: boolean | undefined;
6052
+ source?: TrackSource | undefined;
6053
+ layers?: {
6054
+ quality?: VideoQuality | undefined;
6055
+ width?: number | undefined;
6056
+ height?: number | undefined;
6057
+ bitrate?: number | undefined;
6058
+ ssrc?: number | undefined;
6059
+ }[] | undefined;
6060
+ mimeType?: string | undefined;
6061
+ mid?: string | undefined;
6062
+ codecs?: {
6063
+ mimeType?: string | undefined;
6064
+ mid?: string | undefined;
6065
+ cid?: string | undefined;
6066
+ layers?: {
6067
+ quality?: VideoQuality | undefined;
6068
+ width?: number | undefined;
6069
+ height?: number | undefined;
6070
+ bitrate?: number | undefined;
6071
+ ssrc?: number | undefined;
6072
+ }[] | undefined;
6073
+ }[] | undefined;
6074
+ stereo?: boolean | undefined;
6075
+ disableRed?: boolean | undefined;
6076
+ encryption?: Encryption_Type | undefined;
6077
+ }[] | undefined;
6078
+ metadata?: string | undefined;
6079
+ joinedAt?: number | undefined;
6080
+ name?: string | undefined;
6081
+ version?: number | undefined;
6082
+ permission?: {
6083
+ canSubscribe?: boolean | undefined;
6084
+ canPublish?: boolean | undefined;
6085
+ canPublishData?: boolean | undefined;
6086
+ canPublishSources?: TrackSource[] | undefined;
6087
+ hidden?: boolean | undefined;
6088
+ recorder?: boolean | undefined;
6089
+ } | undefined;
6090
+ region?: string | undefined;
6091
+ isPublisher?: boolean | undefined;
6092
+ }[] | undefined;
6093
+ serverVersion?: string | undefined;
6094
+ iceServers?: {
6095
+ urls?: string[] | undefined;
6096
+ username?: string | undefined;
6097
+ credential?: string | undefined;
6098
+ }[] | undefined;
6099
+ subscriberPrimary?: boolean | undefined;
6100
+ alternativeUrl?: string | undefined;
6101
+ clientConfiguration?: {
6102
+ video?: {
6103
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
6104
+ } | undefined;
6105
+ screen?: {
6106
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
6107
+ } | undefined;
6108
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
6109
+ disabledCodecs?: {
6110
+ codecs?: {
6111
+ mime?: string | undefined;
6112
+ fmtpLine?: string | undefined;
6113
+ }[] | undefined;
6114
+ } | undefined;
6115
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
6116
+ } | undefined;
6117
+ serverRegion?: string | undefined;
6118
+ pingTimeout?: number | undefined;
6119
+ pingInterval?: number | undefined;
6120
+ serverInfo?: {
6121
+ edition?: import("./livekit_models").ServerInfo_Edition | undefined;
6122
+ version?: string | undefined;
6123
+ protocol?: number | undefined;
6124
+ region?: string | undefined;
6125
+ nodeId?: string | undefined;
6126
+ debugInfo?: string | undefined;
6127
+ } | undefined;
6128
+ } & {
6129
+ room?: ({
6130
+ sid?: string | undefined;
6131
+ name?: string | undefined;
6132
+ emptyTimeout?: number | undefined;
6133
+ maxParticipants?: number | undefined;
6134
+ creationTime?: number | undefined;
6135
+ turnPassword?: string | undefined;
6136
+ enabledCodecs?: {
6137
+ mime?: string | undefined;
6138
+ fmtpLine?: string | undefined;
6139
+ }[] | undefined;
6140
+ metadata?: string | undefined;
6141
+ numParticipants?: number | undefined;
6142
+ activeRecording?: boolean | undefined;
6143
+ } & {
6144
+ sid?: string | undefined;
6145
+ name?: string | undefined;
6146
+ emptyTimeout?: number | undefined;
6147
+ maxParticipants?: number | undefined;
6148
+ creationTime?: number | undefined;
6149
+ turnPassword?: string | undefined;
6150
+ enabledCodecs?: ({
6151
+ mime?: string | undefined;
6152
+ fmtpLine?: string | undefined;
6153
+ }[] & ({
6154
+ mime?: string | undefined;
6155
+ fmtpLine?: string | undefined;
6156
+ } & {
6157
+ mime?: string | undefined;
6158
+ fmtpLine?: string | undefined;
6159
+ } & {
6160
+ [K in Exclude<keyof I["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never;
6161
+ })[] & {
6162
+ [K_1 in Exclude<keyof I["room"]["enabledCodecs"], keyof {
6163
+ mime?: string | undefined;
6164
+ fmtpLine?: string | undefined;
6165
+ }[]>]: never;
6166
+ }) | undefined;
6167
+ metadata?: string | undefined;
6168
+ numParticipants?: number | undefined;
6169
+ activeRecording?: boolean | undefined;
6170
+ } & {
6171
+ [K_2 in Exclude<keyof I["room"], keyof Room>]: never;
6172
+ }) | undefined;
6173
+ participant?: ({
6174
+ sid?: string | undefined;
6175
+ identity?: string | undefined;
6176
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
6177
+ tracks?: {
6178
+ sid?: string | undefined;
6179
+ type?: TrackType | undefined;
6180
+ name?: string | undefined;
6181
+ muted?: boolean | undefined;
6182
+ width?: number | undefined;
6183
+ height?: number | undefined;
6184
+ simulcast?: boolean | undefined;
6185
+ disableDtx?: boolean | undefined;
6186
+ source?: TrackSource | undefined;
6187
+ layers?: {
6188
+ quality?: VideoQuality | undefined;
6189
+ width?: number | undefined;
6190
+ height?: number | undefined;
6191
+ bitrate?: number | undefined;
6192
+ ssrc?: number | undefined;
6193
+ }[] | undefined;
6194
+ mimeType?: string | undefined;
6195
+ mid?: string | undefined;
6196
+ codecs?: {
6197
+ mimeType?: string | undefined;
6198
+ mid?: string | undefined;
6199
+ cid?: string | undefined;
6200
+ layers?: {
6201
+ quality?: VideoQuality | undefined;
6202
+ width?: number | undefined;
6203
+ height?: number | undefined;
6204
+ bitrate?: number | undefined;
6205
+ ssrc?: number | undefined;
6206
+ }[] | undefined;
6207
+ }[] | undefined;
6208
+ stereo?: boolean | undefined;
6209
+ disableRed?: boolean | undefined;
6210
+ encryption?: Encryption_Type | undefined;
6211
+ }[] | undefined;
6212
+ metadata?: string | undefined;
6213
+ joinedAt?: number | undefined;
6214
+ name?: string | undefined;
6215
+ version?: number | undefined;
6216
+ permission?: {
6217
+ canSubscribe?: boolean | undefined;
6218
+ canPublish?: boolean | undefined;
6219
+ canPublishData?: boolean | undefined;
6220
+ canPublishSources?: TrackSource[] | undefined;
6221
+ hidden?: boolean | undefined;
6222
+ recorder?: boolean | undefined;
6223
+ } | undefined;
6224
+ region?: string | undefined;
6225
+ isPublisher?: boolean | undefined;
6226
+ } & {
6227
+ sid?: string | undefined;
6228
+ identity?: string | undefined;
6229
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
6230
+ tracks?: ({
6231
+ sid?: string | undefined;
6232
+ type?: TrackType | undefined;
6233
+ name?: string | undefined;
6234
+ muted?: boolean | undefined;
6235
+ width?: number | undefined;
6236
+ height?: number | undefined;
6237
+ simulcast?: boolean | undefined;
6238
+ disableDtx?: boolean | undefined;
6239
+ source?: TrackSource | undefined;
6240
+ layers?: {
6241
+ quality?: VideoQuality | undefined;
6242
+ width?: number | undefined;
6243
+ height?: number | undefined;
6244
+ bitrate?: number | undefined;
6245
+ ssrc?: number | undefined;
6246
+ }[] | undefined;
6247
+ mimeType?: string | undefined;
6248
+ mid?: string | undefined;
6249
+ codecs?: {
6250
+ mimeType?: string | undefined;
6251
+ mid?: string | undefined;
6252
+ cid?: string | undefined;
6253
+ layers?: {
6254
+ quality?: VideoQuality | undefined;
6255
+ width?: number | undefined;
6256
+ height?: number | undefined;
6257
+ bitrate?: number | undefined;
6258
+ ssrc?: number | undefined;
6259
+ }[] | undefined;
6260
+ }[] | undefined;
6261
+ stereo?: boolean | undefined;
6262
+ disableRed?: boolean | undefined;
6263
+ encryption?: Encryption_Type | undefined;
6264
+ }[] & ({
6265
+ sid?: string | undefined;
6266
+ type?: TrackType | undefined;
6267
+ name?: string | undefined;
6268
+ muted?: boolean | undefined;
6269
+ width?: number | undefined;
6270
+ height?: number | undefined;
6271
+ simulcast?: boolean | undefined;
6272
+ disableDtx?: boolean | undefined;
6273
+ source?: TrackSource | undefined;
6274
+ layers?: {
6275
+ quality?: VideoQuality | undefined;
6276
+ width?: number | undefined;
6277
+ height?: number | undefined;
6278
+ bitrate?: number | undefined;
6279
+ ssrc?: number | undefined;
6280
+ }[] | undefined;
6281
+ mimeType?: string | undefined;
6282
+ mid?: string | undefined;
6283
+ codecs?: {
6284
+ mimeType?: string | undefined;
6285
+ mid?: string | undefined;
6286
+ cid?: string | undefined;
6287
+ layers?: {
6288
+ quality?: VideoQuality | undefined;
6289
+ width?: number | undefined;
6290
+ height?: number | undefined;
6291
+ bitrate?: number | undefined;
6292
+ ssrc?: number | undefined;
6293
+ }[] | undefined;
6294
+ }[] | undefined;
6295
+ stereo?: boolean | undefined;
6296
+ disableRed?: boolean | undefined;
6297
+ encryption?: Encryption_Type | undefined;
6298
+ } & {
6299
+ sid?: string | undefined;
6300
+ type?: TrackType | undefined;
6301
+ name?: string | undefined;
6302
+ muted?: boolean | undefined;
6303
+ width?: number | undefined;
6304
+ height?: number | undefined;
6305
+ simulcast?: boolean | undefined;
6306
+ disableDtx?: boolean | undefined;
6307
+ source?: TrackSource | undefined;
6308
+ layers?: ({
6309
+ quality?: VideoQuality | undefined;
6310
+ width?: number | undefined;
6311
+ height?: number | undefined;
6312
+ bitrate?: number | undefined;
6313
+ ssrc?: number | undefined;
6314
+ }[] & ({
6315
+ quality?: VideoQuality | undefined;
6316
+ width?: number | undefined;
6317
+ height?: number | undefined;
6318
+ bitrate?: number | undefined;
6319
+ ssrc?: number | undefined;
6320
+ } & {
6321
+ quality?: VideoQuality | undefined;
6322
+ width?: number | undefined;
6323
+ height?: number | undefined;
6324
+ bitrate?: number | undefined;
6325
+ ssrc?: number | undefined;
6326
+ } & {
6327
+ [K_3 in Exclude<keyof I["participant"]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
6328
+ })[] & {
6329
+ [K_4 in Exclude<keyof I["participant"]["tracks"][number]["layers"], keyof {
6330
+ quality?: VideoQuality | undefined;
6331
+ width?: number | undefined;
6332
+ height?: number | undefined;
6333
+ bitrate?: number | undefined;
6334
+ ssrc?: number | undefined;
6335
+ }[]>]: never;
6336
+ }) | undefined;
6337
+ mimeType?: string | undefined;
6338
+ mid?: string | undefined;
6339
+ codecs?: ({
6340
+ mimeType?: string | undefined;
6341
+ mid?: string | undefined;
6342
+ cid?: string | undefined;
6343
+ layers?: {
6344
+ quality?: VideoQuality | undefined;
6345
+ width?: number | undefined;
6346
+ height?: number | undefined;
6347
+ bitrate?: number | undefined;
6348
+ ssrc?: number | undefined;
6349
+ }[] | undefined;
6350
+ }[] & ({
6351
+ mimeType?: string | undefined;
6352
+ mid?: string | undefined;
6353
+ cid?: string | undefined;
6354
+ layers?: {
6355
+ quality?: VideoQuality | undefined;
6356
+ width?: number | undefined;
6357
+ height?: number | undefined;
6358
+ bitrate?: number | undefined;
6359
+ ssrc?: number | undefined;
6360
+ }[] | undefined;
6361
+ } & {
6362
+ mimeType?: string | undefined;
6363
+ mid?: string | undefined;
6364
+ cid?: string | undefined;
6365
+ layers?: ({
6366
+ quality?: VideoQuality | undefined;
6367
+ width?: number | undefined;
6368
+ height?: number | undefined;
6369
+ bitrate?: number | undefined;
6370
+ ssrc?: number | undefined;
6371
+ }[] & ({
6372
+ quality?: VideoQuality | undefined;
6373
+ width?: number | undefined;
6374
+ height?: number | undefined;
6375
+ bitrate?: number | undefined;
6376
+ ssrc?: number | undefined;
6377
+ } & {
6378
+ quality?: VideoQuality | undefined;
6379
+ width?: number | undefined;
6380
+ height?: number | undefined;
6381
+ bitrate?: number | undefined;
6382
+ ssrc?: number | undefined;
6383
+ } & {
6384
+ [K_5 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
6385
+ })[] & {
6386
+ [K_6 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number]["layers"], keyof {
6387
+ quality?: VideoQuality | undefined;
6388
+ width?: number | undefined;
6389
+ height?: number | undefined;
6390
+ bitrate?: number | undefined;
6391
+ ssrc?: number | undefined;
6392
+ }[]>]: never;
6393
+ }) | undefined;
6394
+ } & {
6395
+ [K_7 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
6396
+ })[] & {
6397
+ [K_8 in Exclude<keyof I["participant"]["tracks"][number]["codecs"], keyof {
6398
+ mimeType?: string | undefined;
6399
+ mid?: string | undefined;
6400
+ cid?: string | undefined;
6401
+ layers?: {
6402
+ quality?: VideoQuality | undefined;
6403
+ width?: number | undefined;
6404
+ height?: number | undefined;
6405
+ bitrate?: number | undefined;
6406
+ ssrc?: number | undefined;
6407
+ }[] | undefined;
6408
+ }[]>]: never;
6409
+ }) | undefined;
6410
+ stereo?: boolean | undefined;
6411
+ disableRed?: boolean | undefined;
6412
+ encryption?: Encryption_Type | undefined;
6413
+ } & {
6414
+ [K_9 in Exclude<keyof I["participant"]["tracks"][number], keyof TrackInfo>]: never;
6415
+ })[] & {
6416
+ [K_10 in Exclude<keyof I["participant"]["tracks"], keyof {
6417
+ sid?: string | undefined;
6418
+ type?: TrackType | undefined;
6419
+ name?: string | undefined;
6420
+ muted?: boolean | undefined;
6421
+ width?: number | undefined;
6422
+ height?: number | undefined;
6423
+ simulcast?: boolean | undefined;
6424
+ disableDtx?: boolean | undefined;
6425
+ source?: TrackSource | undefined;
6426
+ layers?: {
6427
+ quality?: VideoQuality | undefined;
6428
+ width?: number | undefined;
6429
+ height?: number | undefined;
6430
+ bitrate?: number | undefined;
6431
+ ssrc?: number | undefined;
6432
+ }[] | undefined;
6433
+ mimeType?: string | undefined;
6434
+ mid?: string | undefined;
6435
+ codecs?: {
6436
+ mimeType?: string | undefined;
6437
+ mid?: string | undefined;
6438
+ cid?: string | undefined;
6439
+ layers?: {
6440
+ quality?: VideoQuality | undefined;
6441
+ width?: number | undefined;
6442
+ height?: number | undefined;
6443
+ bitrate?: number | undefined;
6444
+ ssrc?: number | undefined;
6445
+ }[] | undefined;
6446
+ }[] | undefined;
6447
+ stereo?: boolean | undefined;
6448
+ disableRed?: boolean | undefined;
6449
+ encryption?: Encryption_Type | undefined;
6450
+ }[]>]: never;
6451
+ }) | undefined;
6452
+ metadata?: string | undefined;
6453
+ joinedAt?: number | undefined;
6454
+ name?: string | undefined;
6455
+ version?: number | undefined;
6456
+ permission?: ({
6457
+ canSubscribe?: boolean | undefined;
6458
+ canPublish?: boolean | undefined;
6459
+ canPublishData?: boolean | undefined;
6460
+ canPublishSources?: TrackSource[] | undefined;
6461
+ hidden?: boolean | undefined;
6462
+ recorder?: boolean | undefined;
6463
+ } & {
6464
+ canSubscribe?: boolean | undefined;
6465
+ canPublish?: boolean | undefined;
6466
+ canPublishData?: boolean | undefined;
6467
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
6468
+ [K_11 in Exclude<keyof I["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
6469
+ }) | undefined;
6470
+ hidden?: boolean | undefined;
6471
+ recorder?: boolean | undefined;
6472
+ } & {
6473
+ [K_12 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
6474
+ }) | undefined;
6475
+ region?: string | undefined;
6476
+ isPublisher?: boolean | undefined;
6477
+ } & {
6478
+ [K_13 in Exclude<keyof I["participant"], keyof ParticipantInfo>]: never;
6479
+ }) | undefined;
6480
+ otherParticipants?: ({
6481
+ sid?: string | undefined;
6482
+ identity?: string | undefined;
6483
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
6484
+ tracks?: {
6485
+ sid?: string | undefined;
6486
+ type?: TrackType | undefined;
6487
+ name?: string | undefined;
6488
+ muted?: boolean | undefined;
6489
+ width?: number | undefined;
6490
+ height?: number | undefined;
6491
+ simulcast?: boolean | undefined;
6492
+ disableDtx?: boolean | undefined;
6493
+ source?: TrackSource | undefined;
6494
+ layers?: {
6495
+ quality?: VideoQuality | undefined;
6496
+ width?: number | undefined;
6497
+ height?: number | undefined;
6498
+ bitrate?: number | undefined;
6499
+ ssrc?: number | undefined;
6500
+ }[] | undefined;
6501
+ mimeType?: string | undefined;
6502
+ mid?: string | undefined;
6503
+ codecs?: {
6504
+ mimeType?: string | undefined;
6505
+ mid?: string | undefined;
6506
+ cid?: string | undefined;
6507
+ layers?: {
6508
+ quality?: VideoQuality | undefined;
6509
+ width?: number | undefined;
6510
+ height?: number | undefined;
6511
+ bitrate?: number | undefined;
6512
+ ssrc?: number | undefined;
6513
+ }[] | undefined;
6514
+ }[] | undefined;
6515
+ stereo?: boolean | undefined;
6516
+ disableRed?: boolean | undefined;
6517
+ encryption?: Encryption_Type | undefined;
6518
+ }[] | undefined;
6519
+ metadata?: string | undefined;
6520
+ joinedAt?: number | undefined;
6521
+ name?: string | undefined;
6522
+ version?: number | undefined;
6523
+ permission?: {
6524
+ canSubscribe?: boolean | undefined;
6525
+ canPublish?: boolean | undefined;
6526
+ canPublishData?: boolean | undefined;
6527
+ canPublishSources?: TrackSource[] | undefined;
6528
+ hidden?: boolean | undefined;
6529
+ recorder?: boolean | undefined;
6530
+ } | undefined;
6531
+ region?: string | undefined;
6532
+ isPublisher?: boolean | undefined;
6533
+ }[] & ({
6534
+ sid?: string | undefined;
6535
+ identity?: string | undefined;
6536
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
6537
+ tracks?: {
6538
+ sid?: string | undefined;
6539
+ type?: TrackType | undefined;
6540
+ name?: string | undefined;
6541
+ muted?: boolean | undefined;
6542
+ width?: number | undefined;
6543
+ height?: number | undefined;
6544
+ simulcast?: boolean | undefined;
6545
+ disableDtx?: boolean | undefined;
6546
+ source?: TrackSource | undefined;
6547
+ layers?: {
6548
+ quality?: VideoQuality | undefined;
6549
+ width?: number | undefined;
6550
+ height?: number | undefined;
6551
+ bitrate?: number | undefined;
6552
+ ssrc?: number | undefined;
6553
+ }[] | undefined;
6554
+ mimeType?: string | undefined;
6555
+ mid?: string | undefined;
6556
+ codecs?: {
6557
+ mimeType?: string | undefined;
6558
+ mid?: string | undefined;
6559
+ cid?: string | undefined;
6560
+ layers?: {
6561
+ quality?: VideoQuality | undefined;
6562
+ width?: number | undefined;
6563
+ height?: number | undefined;
6564
+ bitrate?: number | undefined;
6565
+ ssrc?: number | undefined;
6566
+ }[] | undefined;
6567
+ }[] | undefined;
6568
+ stereo?: boolean | undefined;
6569
+ disableRed?: boolean | undefined;
6570
+ encryption?: Encryption_Type | undefined;
6571
+ }[] | undefined;
6572
+ metadata?: string | undefined;
6573
+ joinedAt?: number | undefined;
6574
+ name?: string | undefined;
6575
+ version?: number | undefined;
6576
+ permission?: {
6577
+ canSubscribe?: boolean | undefined;
6578
+ canPublish?: boolean | undefined;
6579
+ canPublishData?: boolean | undefined;
6580
+ canPublishSources?: TrackSource[] | undefined;
6581
+ hidden?: boolean | undefined;
6582
+ recorder?: boolean | undefined;
6583
+ } | undefined;
6584
+ region?: string | undefined;
6585
+ isPublisher?: boolean | undefined;
6586
+ } & {
6587
+ sid?: string | undefined;
6588
+ identity?: string | undefined;
6589
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
6590
+ tracks?: ({
6591
+ sid?: string | undefined;
6592
+ type?: TrackType | undefined;
6593
+ name?: string | undefined;
6594
+ muted?: boolean | undefined;
6595
+ width?: number | undefined;
6596
+ height?: number | undefined;
6597
+ simulcast?: boolean | undefined;
6598
+ disableDtx?: boolean | undefined;
6599
+ source?: TrackSource | undefined;
6600
+ layers?: {
6601
+ quality?: VideoQuality | undefined;
6602
+ width?: number | undefined;
6603
+ height?: number | undefined;
6604
+ bitrate?: number | undefined;
6605
+ ssrc?: number | undefined;
6606
+ }[] | undefined;
6607
+ mimeType?: string | undefined;
6608
+ mid?: string | undefined;
6609
+ codecs?: {
6610
+ mimeType?: string | undefined;
6611
+ mid?: string | undefined;
6612
+ cid?: string | undefined;
6613
+ layers?: {
6614
+ quality?: VideoQuality | undefined;
6615
+ width?: number | undefined;
6616
+ height?: number | undefined;
6617
+ bitrate?: number | undefined;
6618
+ ssrc?: number | undefined;
6619
+ }[] | undefined;
6620
+ }[] | undefined;
6621
+ stereo?: boolean | undefined;
6622
+ disableRed?: boolean | undefined;
6623
+ encryption?: Encryption_Type | undefined;
6624
+ }[] & ({
6625
+ sid?: string | undefined;
6626
+ type?: TrackType | undefined;
6627
+ name?: string | undefined;
6628
+ muted?: boolean | undefined;
6629
+ width?: number | undefined;
6630
+ height?: number | undefined;
6631
+ simulcast?: boolean | undefined;
6632
+ disableDtx?: boolean | undefined;
6633
+ source?: TrackSource | undefined;
6634
+ layers?: {
6635
+ quality?: VideoQuality | undefined;
6636
+ width?: number | undefined;
6637
+ height?: number | undefined;
6638
+ bitrate?: number | undefined;
6639
+ ssrc?: number | undefined;
6640
+ }[] | undefined;
6641
+ mimeType?: string | undefined;
6642
+ mid?: string | undefined;
6643
+ codecs?: {
6644
+ mimeType?: string | undefined;
6645
+ mid?: string | undefined;
6646
+ cid?: string | undefined;
6647
+ layers?: {
6648
+ quality?: VideoQuality | undefined;
6649
+ width?: number | undefined;
6650
+ height?: number | undefined;
6651
+ bitrate?: number | undefined;
6652
+ ssrc?: number | undefined;
6653
+ }[] | undefined;
6654
+ }[] | undefined;
6655
+ stereo?: boolean | undefined;
6656
+ disableRed?: boolean | undefined;
6657
+ encryption?: Encryption_Type | undefined;
6658
+ } & {
6659
+ sid?: string | undefined;
6660
+ type?: TrackType | undefined;
6661
+ name?: string | undefined;
6662
+ muted?: boolean | undefined;
6663
+ width?: number | undefined;
6664
+ height?: number | undefined;
6665
+ simulcast?: boolean | undefined;
6666
+ disableDtx?: boolean | undefined;
6667
+ source?: TrackSource | undefined;
6668
+ layers?: ({
6669
+ quality?: VideoQuality | undefined;
6670
+ width?: number | undefined;
6671
+ height?: number | undefined;
6672
+ bitrate?: number | undefined;
6673
+ ssrc?: number | undefined;
6674
+ }[] & ({
6675
+ quality?: VideoQuality | undefined;
6676
+ width?: number | undefined;
6677
+ height?: number | undefined;
6678
+ bitrate?: number | undefined;
6679
+ ssrc?: number | undefined;
6680
+ } & {
6681
+ quality?: VideoQuality | undefined;
6682
+ width?: number | undefined;
6683
+ height?: number | undefined;
6684
+ bitrate?: number | undefined;
6685
+ ssrc?: number | undefined;
6686
+ } & {
6687
+ [K_14 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
6688
+ })[] & {
6689
+ [K_15 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"], keyof {
6690
+ quality?: VideoQuality | undefined;
6691
+ width?: number | undefined;
6692
+ height?: number | undefined;
6693
+ bitrate?: number | undefined;
6694
+ ssrc?: number | undefined;
6695
+ }[]>]: never;
6696
+ }) | undefined;
6697
+ mimeType?: string | undefined;
6698
+ mid?: string | undefined;
6699
+ codecs?: ({
6700
+ mimeType?: string | undefined;
6701
+ mid?: string | undefined;
6702
+ cid?: string | undefined;
6703
+ layers?: {
6704
+ quality?: VideoQuality | undefined;
6705
+ width?: number | undefined;
6706
+ height?: number | undefined;
6707
+ bitrate?: number | undefined;
6708
+ ssrc?: number | undefined;
6709
+ }[] | undefined;
6710
+ }[] & ({
6711
+ mimeType?: string | undefined;
6712
+ mid?: string | undefined;
6713
+ cid?: string | undefined;
6714
+ layers?: {
6715
+ quality?: VideoQuality | undefined;
6716
+ width?: number | undefined;
6717
+ height?: number | undefined;
6718
+ bitrate?: number | undefined;
6719
+ ssrc?: number | undefined;
6720
+ }[] | undefined;
6721
+ } & {
6722
+ mimeType?: string | undefined;
6723
+ mid?: string | undefined;
6724
+ cid?: string | undefined;
6725
+ layers?: ({
6726
+ quality?: VideoQuality | undefined;
6727
+ width?: number | undefined;
6728
+ height?: number | undefined;
6729
+ bitrate?: number | undefined;
6730
+ ssrc?: number | undefined;
6731
+ }[] & ({
6732
+ quality?: VideoQuality | undefined;
6733
+ width?: number | undefined;
6734
+ height?: number | undefined;
6735
+ bitrate?: number | undefined;
6736
+ ssrc?: number | undefined;
6737
+ } & {
6738
+ quality?: VideoQuality | undefined;
6739
+ width?: number | undefined;
6740
+ height?: number | undefined;
6741
+ bitrate?: number | undefined;
6742
+ ssrc?: number | undefined;
6743
+ } & {
6744
+ [K_16 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
6745
+ })[] & {
6746
+ [K_17 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
6747
+ quality?: VideoQuality | undefined;
6748
+ width?: number | undefined;
6749
+ height?: number | undefined;
6750
+ bitrate?: number | undefined;
6751
+ ssrc?: number | undefined;
6752
+ }[]>]: never;
6753
+ }) | undefined;
6754
+ } & {
6755
+ [K_18 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
6756
+ })[] & {
6757
+ [K_19 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
6758
+ mimeType?: string | undefined;
6759
+ mid?: string | undefined;
6760
+ cid?: string | undefined;
6761
+ layers?: {
6762
+ quality?: VideoQuality | undefined;
6763
+ width?: number | undefined;
6764
+ height?: number | undefined;
6765
+ bitrate?: number | undefined;
6766
+ ssrc?: number | undefined;
6767
+ }[] | undefined;
6768
+ }[]>]: never;
6769
+ }) | undefined;
6770
+ stereo?: boolean | undefined;
6771
+ disableRed?: boolean | undefined;
6772
+ encryption?: Encryption_Type | undefined;
6773
+ } & {
6774
+ [K_20 in Exclude<keyof I["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
6775
+ })[] & {
6776
+ [K_21 in Exclude<keyof I["otherParticipants"][number]["tracks"], keyof {
6777
+ sid?: string | undefined;
6778
+ type?: TrackType | undefined;
6779
+ name?: string | undefined;
6780
+ muted?: boolean | undefined;
6781
+ width?: number | undefined;
6782
+ height?: number | undefined;
6783
+ simulcast?: boolean | undefined;
6784
+ disableDtx?: boolean | undefined;
6785
+ source?: TrackSource | undefined;
6786
+ layers?: {
6787
+ quality?: VideoQuality | undefined;
6788
+ width?: number | undefined;
6789
+ height?: number | undefined;
6790
+ bitrate?: number | undefined;
6791
+ ssrc?: number | undefined;
6792
+ }[] | undefined;
6793
+ mimeType?: string | undefined;
6794
+ mid?: string | undefined;
6795
+ codecs?: {
6796
+ mimeType?: string | undefined;
6797
+ mid?: string | undefined;
6798
+ cid?: string | undefined;
6799
+ layers?: {
6800
+ quality?: VideoQuality | undefined;
6801
+ width?: number | undefined;
6802
+ height?: number | undefined;
6803
+ bitrate?: number | undefined;
6804
+ ssrc?: number | undefined;
6805
+ }[] | undefined;
6806
+ }[] | undefined;
6807
+ stereo?: boolean | undefined;
6808
+ disableRed?: boolean | undefined;
6809
+ encryption?: Encryption_Type | undefined;
6810
+ }[]>]: never;
6811
+ }) | undefined;
6812
+ metadata?: string | undefined;
6813
+ joinedAt?: number | undefined;
6814
+ name?: string | undefined;
6815
+ version?: number | undefined;
6816
+ permission?: ({
6817
+ canSubscribe?: boolean | undefined;
6818
+ canPublish?: boolean | undefined;
6819
+ canPublishData?: boolean | undefined;
6820
+ canPublishSources?: TrackSource[] | undefined;
6821
+ hidden?: boolean | undefined;
6822
+ recorder?: boolean | undefined;
6823
+ } & {
6824
+ canSubscribe?: boolean | undefined;
6825
+ canPublish?: boolean | undefined;
6826
+ canPublishData?: boolean | undefined;
6827
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
6828
+ [K_22 in Exclude<keyof I["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
6829
+ }) | undefined;
6830
+ hidden?: boolean | undefined;
6831
+ recorder?: boolean | undefined;
6832
+ } & {
6833
+ [K_23 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
6834
+ }) | undefined;
6835
+ region?: string | undefined;
6836
+ isPublisher?: boolean | undefined;
6837
+ } & {
6838
+ [K_24 in Exclude<keyof I["otherParticipants"][number], keyof ParticipantInfo>]: never;
6839
+ })[] & {
6840
+ [K_25 in Exclude<keyof I["otherParticipants"], keyof {
6841
+ sid?: string | undefined;
6842
+ identity?: string | undefined;
6843
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
6844
+ tracks?: {
6845
+ sid?: string | undefined;
6846
+ type?: TrackType | undefined;
6847
+ name?: string | undefined;
6848
+ muted?: boolean | undefined;
6849
+ width?: number | undefined;
6850
+ height?: number | undefined;
6851
+ simulcast?: boolean | undefined;
6852
+ disableDtx?: boolean | undefined;
6853
+ source?: TrackSource | undefined;
6854
+ layers?: {
6855
+ quality?: VideoQuality | undefined;
6856
+ width?: number | undefined;
6857
+ height?: number | undefined;
6858
+ bitrate?: number | undefined;
6859
+ ssrc?: number | undefined;
6860
+ }[] | undefined;
6861
+ mimeType?: string | undefined;
6862
+ mid?: string | undefined;
6863
+ codecs?: {
6864
+ mimeType?: string | undefined;
6865
+ mid?: string | undefined;
6866
+ cid?: string | undefined;
6867
+ layers?: {
6868
+ quality?: VideoQuality | undefined;
6869
+ width?: number | undefined;
6870
+ height?: number | undefined;
6871
+ bitrate?: number | undefined;
6872
+ ssrc?: number | undefined;
6873
+ }[] | undefined;
6874
+ }[] | undefined;
6875
+ stereo?: boolean | undefined;
6876
+ disableRed?: boolean | undefined;
6877
+ encryption?: Encryption_Type | undefined;
6878
+ }[] | undefined;
6879
+ metadata?: string | undefined;
6880
+ joinedAt?: number | undefined;
6881
+ name?: string | undefined;
6882
+ version?: number | undefined;
6883
+ permission?: {
6884
+ canSubscribe?: boolean | undefined;
6885
+ canPublish?: boolean | undefined;
6886
+ canPublishData?: boolean | undefined;
6887
+ canPublishSources?: TrackSource[] | undefined;
6888
+ hidden?: boolean | undefined;
6889
+ recorder?: boolean | undefined;
6890
+ } | undefined;
6891
+ region?: string | undefined;
6892
+ isPublisher?: boolean | undefined;
6893
+ }[]>]: never;
6894
+ }) | undefined;
6895
+ serverVersion?: string | undefined;
6896
+ iceServers?: ({
6897
+ urls?: string[] | undefined;
6898
+ username?: string | undefined;
6899
+ credential?: string | undefined;
4674
6900
  }[] & ({
4675
- quality?: VideoQuality | undefined;
4676
- width?: number | undefined;
4677
- height?: number | undefined;
4678
- bitrate?: number | undefined;
4679
- ssrc?: number | undefined;
6901
+ urls?: string[] | undefined;
6902
+ username?: string | undefined;
6903
+ credential?: string | undefined;
6904
+ } & {
6905
+ urls?: (string[] & string[] & {
6906
+ [K_26 in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never;
6907
+ }) | undefined;
6908
+ username?: string | undefined;
6909
+ credential?: string | undefined;
6910
+ } & {
6911
+ [K_27 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never;
6912
+ })[] & {
6913
+ [K_28 in Exclude<keyof I["iceServers"], keyof {
6914
+ urls?: string[] | undefined;
6915
+ username?: string | undefined;
6916
+ credential?: string | undefined;
6917
+ }[]>]: never;
6918
+ }) | undefined;
6919
+ subscriberPrimary?: boolean | undefined;
6920
+ alternativeUrl?: string | undefined;
6921
+ clientConfiguration?: ({
6922
+ video?: {
6923
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
6924
+ } | undefined;
6925
+ screen?: {
6926
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
6927
+ } | undefined;
6928
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
6929
+ disabledCodecs?: {
6930
+ codecs?: {
6931
+ mime?: string | undefined;
6932
+ fmtpLine?: string | undefined;
6933
+ }[] | undefined;
6934
+ } | undefined;
6935
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4680
6936
  } & {
4681
- quality?: VideoQuality | undefined;
4682
- width?: number | undefined;
4683
- height?: number | undefined;
4684
- bitrate?: number | undefined;
4685
- ssrc?: number | undefined;
6937
+ video?: ({
6938
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
6939
+ } & {
6940
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
6941
+ } & {
6942
+ [K_29 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never;
6943
+ }) | undefined;
6944
+ screen?: ({
6945
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
6946
+ } & {
6947
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
6948
+ } & {
6949
+ [K_30 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
6950
+ }) | undefined;
6951
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
6952
+ disabledCodecs?: ({
6953
+ codecs?: {
6954
+ mime?: string | undefined;
6955
+ fmtpLine?: string | undefined;
6956
+ }[] | undefined;
6957
+ } & {
6958
+ codecs?: ({
6959
+ mime?: string | undefined;
6960
+ fmtpLine?: string | undefined;
6961
+ }[] & ({
6962
+ mime?: string | undefined;
6963
+ fmtpLine?: string | undefined;
6964
+ } & {
6965
+ mime?: string | undefined;
6966
+ fmtpLine?: string | undefined;
6967
+ } & {
6968
+ [K_31 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
6969
+ })[] & {
6970
+ [K_32 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
6971
+ mime?: string | undefined;
6972
+ fmtpLine?: string | undefined;
6973
+ }[]>]: never;
6974
+ }) | undefined;
6975
+ } & {
6976
+ [K_33 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
6977
+ }) | undefined;
6978
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4686
6979
  } & {
4687
- [K in Exclude<keyof I["layers"][number], keyof VideoLayer>]: never;
4688
- })[] & {
4689
- [K_1 in Exclude<keyof I["layers"], keyof {
4690
- quality?: VideoQuality | undefined;
4691
- width?: number | undefined;
4692
- height?: number | undefined;
4693
- bitrate?: number | undefined;
4694
- ssrc?: number | undefined;
4695
- }[]>]: never;
6980
+ [K_34 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never;
4696
6981
  }) | undefined;
4697
- simulcastCodecs?: ({
4698
- codec?: string | undefined;
4699
- cid?: string | undefined;
4700
- enableSimulcastLayers?: boolean | undefined;
4701
- }[] & ({
4702
- codec?: string | undefined;
4703
- cid?: string | undefined;
4704
- enableSimulcastLayers?: boolean | undefined;
6982
+ serverRegion?: string | undefined;
6983
+ pingTimeout?: number | undefined;
6984
+ pingInterval?: number | undefined;
6985
+ serverInfo?: ({
6986
+ edition?: import("./livekit_models").ServerInfo_Edition | undefined;
6987
+ version?: string | undefined;
6988
+ protocol?: number | undefined;
6989
+ region?: string | undefined;
6990
+ nodeId?: string | undefined;
6991
+ debugInfo?: string | undefined;
4705
6992
  } & {
4706
- codec?: string | undefined;
4707
- cid?: string | undefined;
4708
- enableSimulcastLayers?: boolean | undefined;
6993
+ edition?: import("./livekit_models").ServerInfo_Edition | undefined;
6994
+ version?: string | undefined;
6995
+ protocol?: number | undefined;
6996
+ region?: string | undefined;
6997
+ nodeId?: string | undefined;
6998
+ debugInfo?: string | undefined;
4709
6999
  } & {
4710
- [K_2 in Exclude<keyof I["simulcastCodecs"][number], keyof SimulcastCodec>]: never;
4711
- })[] & {
4712
- [K_3 in Exclude<keyof I["simulcastCodecs"], keyof {
4713
- codec?: string | undefined;
4714
- cid?: string | undefined;
4715
- enableSimulcastLayers?: boolean | undefined;
4716
- }[]>]: never;
7000
+ [K_35 in Exclude<keyof I["serverInfo"], keyof ServerInfo>]: never;
4717
7001
  }) | undefined;
4718
- sid?: string | undefined;
4719
- stereo?: boolean | undefined;
4720
- disableRed?: boolean | undefined;
4721
- encryption?: Encryption_Type | undefined;
4722
- } & {
4723
- [K_4 in Exclude<keyof I, keyof AddTrackRequest>]: never;
4724
- }>(object: I): AddTrackRequest;
4725
- };
4726
- export declare const TrickleRequest: {
4727
- encode(message: TrickleRequest, writer?: _m0.Writer): _m0.Writer;
4728
- decode(input: _m0.Reader | Uint8Array, length?: number): TrickleRequest;
4729
- fromJSON(object: any): TrickleRequest;
4730
- toJSON(message: TrickleRequest): unknown;
4731
- fromPartial<I extends {
4732
- candidateInit?: string | undefined;
4733
- target?: SignalTarget | undefined;
4734
- } & {
4735
- candidateInit?: string | undefined;
4736
- target?: SignalTarget | undefined;
4737
- } & {
4738
- [K in Exclude<keyof I, keyof TrickleRequest>]: never;
4739
- }>(object: I): TrickleRequest;
4740
- };
4741
- export declare const MuteTrackRequest: {
4742
- encode(message: MuteTrackRequest, writer?: _m0.Writer): _m0.Writer;
4743
- decode(input: _m0.Reader | Uint8Array, length?: number): MuteTrackRequest;
4744
- fromJSON(object: any): MuteTrackRequest;
4745
- toJSON(message: MuteTrackRequest): unknown;
4746
- fromPartial<I extends {
4747
- sid?: string | undefined;
4748
- muted?: boolean | undefined;
4749
- } & {
4750
- sid?: string | undefined;
4751
- muted?: boolean | undefined;
4752
7002
  } & {
4753
- [K in Exclude<keyof I, keyof MuteTrackRequest>]: never;
4754
- }>(object: I): MuteTrackRequest;
7003
+ [K_36 in Exclude<keyof I, keyof JoinResponse>]: never;
7004
+ }>(object: I): JoinResponse;
4755
7005
  };
4756
- export declare const JoinResponse: {
4757
- encode(message: JoinResponse, writer?: _m0.Writer): _m0.Writer;
4758
- decode(input: _m0.Reader | Uint8Array, length?: number): JoinResponse;
4759
- fromJSON(object: any): JoinResponse;
4760
- toJSON(message: JoinResponse): unknown;
7006
+ export declare const ReconnectResponse: {
7007
+ encode(message: ReconnectResponse, writer?: _m0.Writer): _m0.Writer;
7008
+ decode(input: _m0.Reader | Uint8Array, length?: number): ReconnectResponse;
7009
+ fromJSON(object: any): ReconnectResponse;
7010
+ toJSON(message: ReconnectResponse): unknown;
4761
7011
  fromPartial<I extends {
7012
+ iceServers?: {
7013
+ urls?: string[] | undefined;
7014
+ username?: string | undefined;
7015
+ credential?: string | undefined;
7016
+ }[] | undefined;
7017
+ clientConfiguration?: {
7018
+ video?: {
7019
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
7020
+ } | undefined;
7021
+ screen?: {
7022
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
7023
+ } | undefined;
7024
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
7025
+ disabledCodecs?: {
7026
+ codecs?: {
7027
+ mime?: string | undefined;
7028
+ fmtpLine?: string | undefined;
7029
+ }[] | undefined;
7030
+ } | undefined;
7031
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
7032
+ } | undefined;
4762
7033
  room?: {
4763
7034
  sid?: string | undefined;
4764
7035
  name?: string | undefined;
@@ -4882,15 +7153,31 @@ export declare const JoinResponse: {
4882
7153
  region?: string | undefined;
4883
7154
  isPublisher?: boolean | undefined;
4884
7155
  }[] | undefined;
4885
- serverVersion?: string | undefined;
4886
- iceServers?: {
7156
+ } & {
7157
+ iceServers?: ({
4887
7158
  urls?: string[] | undefined;
4888
7159
  username?: string | undefined;
4889
7160
  credential?: string | undefined;
4890
- }[] | undefined;
4891
- subscriberPrimary?: boolean | undefined;
4892
- alternativeUrl?: string | undefined;
4893
- clientConfiguration?: {
7161
+ }[] & ({
7162
+ urls?: string[] | undefined;
7163
+ username?: string | undefined;
7164
+ credential?: string | undefined;
7165
+ } & {
7166
+ urls?: (string[] & string[] & {
7167
+ [K in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never;
7168
+ }) | undefined;
7169
+ username?: string | undefined;
7170
+ credential?: string | undefined;
7171
+ } & {
7172
+ [K_1 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never;
7173
+ })[] & {
7174
+ [K_2 in Exclude<keyof I["iceServers"], keyof {
7175
+ urls?: string[] | undefined;
7176
+ username?: string | undefined;
7177
+ credential?: string | undefined;
7178
+ }[]>]: never;
7179
+ }) | undefined;
7180
+ clientConfiguration?: ({
4894
7181
  video?: {
4895
7182
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4896
7183
  } | undefined;
@@ -4905,19 +7192,52 @@ export declare const JoinResponse: {
4905
7192
  }[] | undefined;
4906
7193
  } | undefined;
4907
7194
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4908
- } | undefined;
4909
- serverRegion?: string | undefined;
4910
- pingTimeout?: number | undefined;
4911
- pingInterval?: number | undefined;
4912
- serverInfo?: {
4913
- edition?: import("./livekit_models").ServerInfo_Edition | undefined;
4914
- version?: string | undefined;
4915
- protocol?: number | undefined;
4916
- region?: string | undefined;
4917
- nodeId?: string | undefined;
4918
- debugInfo?: string | undefined;
4919
- } | undefined;
4920
- } & {
7195
+ } & {
7196
+ video?: ({
7197
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
7198
+ } & {
7199
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
7200
+ } & {
7201
+ [K_3 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never;
7202
+ }) | undefined;
7203
+ screen?: ({
7204
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
7205
+ } & {
7206
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
7207
+ } & {
7208
+ [K_4 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
7209
+ }) | undefined;
7210
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
7211
+ disabledCodecs?: ({
7212
+ codecs?: {
7213
+ mime?: string | undefined;
7214
+ fmtpLine?: string | undefined;
7215
+ }[] | undefined;
7216
+ } & {
7217
+ codecs?: ({
7218
+ mime?: string | undefined;
7219
+ fmtpLine?: string | undefined;
7220
+ }[] & ({
7221
+ mime?: string | undefined;
7222
+ fmtpLine?: string | undefined;
7223
+ } & {
7224
+ mime?: string | undefined;
7225
+ fmtpLine?: string | undefined;
7226
+ } & {
7227
+ [K_5 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
7228
+ })[] & {
7229
+ [K_6 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
7230
+ mime?: string | undefined;
7231
+ fmtpLine?: string | undefined;
7232
+ }[]>]: never;
7233
+ }) | undefined;
7234
+ } & {
7235
+ [K_7 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
7236
+ }) | undefined;
7237
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
7238
+ } & {
7239
+ [K_8 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never;
7240
+ }) | undefined;
4921
7241
  room?: ({
4922
7242
  sid?: string | undefined;
4923
7243
  name?: string | undefined;
@@ -4949,9 +7269,9 @@ export declare const JoinResponse: {
4949
7269
  mime?: string | undefined;
4950
7270
  fmtpLine?: string | undefined;
4951
7271
  } & {
4952
- [K in Exclude<keyof I["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never;
7272
+ [K_9 in Exclude<keyof I["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never;
4953
7273
  })[] & {
4954
- [K_1 in Exclude<keyof I["room"]["enabledCodecs"], keyof {
7274
+ [K_10 in Exclude<keyof I["room"]["enabledCodecs"], keyof {
4955
7275
  mime?: string | undefined;
4956
7276
  fmtpLine?: string | undefined;
4957
7277
  }[]>]: never;
@@ -4960,7 +7280,7 @@ export declare const JoinResponse: {
4960
7280
  numParticipants?: number | undefined;
4961
7281
  activeRecording?: boolean | undefined;
4962
7282
  } & {
4963
- [K_2 in Exclude<keyof I["room"], keyof Room>]: never;
7283
+ [K_11 in Exclude<keyof I["room"], keyof Room>]: never;
4964
7284
  }) | undefined;
4965
7285
  participant?: ({
4966
7286
  sid?: string | undefined;
@@ -5116,9 +7436,9 @@ export declare const JoinResponse: {
5116
7436
  bitrate?: number | undefined;
5117
7437
  ssrc?: number | undefined;
5118
7438
  } & {
5119
- [K_3 in Exclude<keyof I["participant"]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
7439
+ [K_12 in Exclude<keyof I["participant"]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
5120
7440
  })[] & {
5121
- [K_4 in Exclude<keyof I["participant"]["tracks"][number]["layers"], keyof {
7441
+ [K_13 in Exclude<keyof I["participant"]["tracks"][number]["layers"], keyof {
5122
7442
  quality?: VideoQuality | undefined;
5123
7443
  width?: number | undefined;
5124
7444
  height?: number | undefined;
@@ -5173,9 +7493,9 @@ export declare const JoinResponse: {
5173
7493
  bitrate?: number | undefined;
5174
7494
  ssrc?: number | undefined;
5175
7495
  } & {
5176
- [K_5 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
7496
+ [K_14 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
5177
7497
  })[] & {
5178
- [K_6 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number]["layers"], keyof {
7498
+ [K_15 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number]["layers"], keyof {
5179
7499
  quality?: VideoQuality | undefined;
5180
7500
  width?: number | undefined;
5181
7501
  height?: number | undefined;
@@ -5184,9 +7504,9 @@ export declare const JoinResponse: {
5184
7504
  }[]>]: never;
5185
7505
  }) | undefined;
5186
7506
  } & {
5187
- [K_7 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
7507
+ [K_16 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
5188
7508
  })[] & {
5189
- [K_8 in Exclude<keyof I["participant"]["tracks"][number]["codecs"], keyof {
7509
+ [K_17 in Exclude<keyof I["participant"]["tracks"][number]["codecs"], keyof {
5190
7510
  mimeType?: string | undefined;
5191
7511
  mid?: string | undefined;
5192
7512
  cid?: string | undefined;
@@ -5203,9 +7523,9 @@ export declare const JoinResponse: {
5203
7523
  disableRed?: boolean | undefined;
5204
7524
  encryption?: Encryption_Type | undefined;
5205
7525
  } & {
5206
- [K_9 in Exclude<keyof I["participant"]["tracks"][number], keyof TrackInfo>]: never;
7526
+ [K_18 in Exclude<keyof I["participant"]["tracks"][number], keyof TrackInfo>]: never;
5207
7527
  })[] & {
5208
- [K_10 in Exclude<keyof I["participant"]["tracks"], keyof {
7528
+ [K_19 in Exclude<keyof I["participant"]["tracks"], keyof {
5209
7529
  sid?: string | undefined;
5210
7530
  type?: TrackType | undefined;
5211
7531
  name?: string | undefined;
@@ -5257,17 +7577,17 @@ export declare const JoinResponse: {
5257
7577
  canPublish?: boolean | undefined;
5258
7578
  canPublishData?: boolean | undefined;
5259
7579
  canPublishSources?: (TrackSource[] & TrackSource[] & {
5260
- [K_11 in Exclude<keyof I["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
7580
+ [K_20 in Exclude<keyof I["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
5261
7581
  }) | undefined;
5262
7582
  hidden?: boolean | undefined;
5263
7583
  recorder?: boolean | undefined;
5264
7584
  } & {
5265
- [K_12 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
7585
+ [K_21 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
5266
7586
  }) | undefined;
5267
7587
  region?: string | undefined;
5268
7588
  isPublisher?: boolean | undefined;
5269
7589
  } & {
5270
- [K_13 in Exclude<keyof I["participant"], keyof ParticipantInfo>]: never;
7590
+ [K_22 in Exclude<keyof I["participant"], keyof ParticipantInfo>]: never;
5271
7591
  }) | undefined;
5272
7592
  otherParticipants?: ({
5273
7593
  sid?: string | undefined;
@@ -5476,9 +7796,9 @@ export declare const JoinResponse: {
5476
7796
  bitrate?: number | undefined;
5477
7797
  ssrc?: number | undefined;
5478
7798
  } & {
5479
- [K_14 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
7799
+ [K_23 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
5480
7800
  })[] & {
5481
- [K_15 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"], keyof {
7801
+ [K_24 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"], keyof {
5482
7802
  quality?: VideoQuality | undefined;
5483
7803
  width?: number | undefined;
5484
7804
  height?: number | undefined;
@@ -5533,9 +7853,9 @@ export declare const JoinResponse: {
5533
7853
  bitrate?: number | undefined;
5534
7854
  ssrc?: number | undefined;
5535
7855
  } & {
5536
- [K_16 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
7856
+ [K_25 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
5537
7857
  })[] & {
5538
- [K_17 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
7858
+ [K_26 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
5539
7859
  quality?: VideoQuality | undefined;
5540
7860
  width?: number | undefined;
5541
7861
  height?: number | undefined;
@@ -5544,9 +7864,9 @@ export declare const JoinResponse: {
5544
7864
  }[]>]: never;
5545
7865
  }) | undefined;
5546
7866
  } & {
5547
- [K_18 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
7867
+ [K_27 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
5548
7868
  })[] & {
5549
- [K_19 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
7869
+ [K_28 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
5550
7870
  mimeType?: string | undefined;
5551
7871
  mid?: string | undefined;
5552
7872
  cid?: string | undefined;
@@ -5563,9 +7883,9 @@ export declare const JoinResponse: {
5563
7883
  disableRed?: boolean | undefined;
5564
7884
  encryption?: Encryption_Type | undefined;
5565
7885
  } & {
5566
- [K_20 in Exclude<keyof I["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
7886
+ [K_29 in Exclude<keyof I["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
5567
7887
  })[] & {
5568
- [K_21 in Exclude<keyof I["otherParticipants"][number]["tracks"], keyof {
7888
+ [K_30 in Exclude<keyof I["otherParticipants"][number]["tracks"], keyof {
5569
7889
  sid?: string | undefined;
5570
7890
  type?: TrackType | undefined;
5571
7891
  name?: string | undefined;
@@ -5617,19 +7937,19 @@ export declare const JoinResponse: {
5617
7937
  canPublish?: boolean | undefined;
5618
7938
  canPublishData?: boolean | undefined;
5619
7939
  canPublishSources?: (TrackSource[] & TrackSource[] & {
5620
- [K_22 in Exclude<keyof I["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
7940
+ [K_31 in Exclude<keyof I["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
5621
7941
  }) | undefined;
5622
7942
  hidden?: boolean | undefined;
5623
7943
  recorder?: boolean | undefined;
5624
7944
  } & {
5625
- [K_23 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
7945
+ [K_32 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
5626
7946
  }) | undefined;
5627
7947
  region?: string | undefined;
5628
7948
  isPublisher?: boolean | undefined;
5629
7949
  } & {
5630
- [K_24 in Exclude<keyof I["otherParticipants"][number], keyof ParticipantInfo>]: never;
7950
+ [K_33 in Exclude<keyof I["otherParticipants"][number], keyof ParticipantInfo>]: never;
5631
7951
  })[] & {
5632
- [K_25 in Exclude<keyof I["otherParticipants"], keyof {
7952
+ [K_34 in Exclude<keyof I["otherParticipants"], keyof {
5633
7953
  sid?: string | undefined;
5634
7954
  identity?: string | undefined;
5635
7955
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -5684,231 +8004,8 @@ export declare const JoinResponse: {
5684
8004
  isPublisher?: boolean | undefined;
5685
8005
  }[]>]: never;
5686
8006
  }) | undefined;
5687
- serverVersion?: string | undefined;
5688
- iceServers?: ({
5689
- urls?: string[] | undefined;
5690
- username?: string | undefined;
5691
- credential?: string | undefined;
5692
- }[] & ({
5693
- urls?: string[] | undefined;
5694
- username?: string | undefined;
5695
- credential?: string | undefined;
5696
- } & {
5697
- urls?: (string[] & string[] & {
5698
- [K_26 in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never;
5699
- }) | undefined;
5700
- username?: string | undefined;
5701
- credential?: string | undefined;
5702
- } & {
5703
- [K_27 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never;
5704
- })[] & {
5705
- [K_28 in Exclude<keyof I["iceServers"], keyof {
5706
- urls?: string[] | undefined;
5707
- username?: string | undefined;
5708
- credential?: string | undefined;
5709
- }[]>]: never;
5710
- }) | undefined;
5711
- subscriberPrimary?: boolean | undefined;
5712
- alternativeUrl?: string | undefined;
5713
- clientConfiguration?: ({
5714
- video?: {
5715
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5716
- } | undefined;
5717
- screen?: {
5718
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5719
- } | undefined;
5720
- resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5721
- disabledCodecs?: {
5722
- codecs?: {
5723
- mime?: string | undefined;
5724
- fmtpLine?: string | undefined;
5725
- }[] | undefined;
5726
- } | undefined;
5727
- forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5728
- } & {
5729
- video?: ({
5730
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5731
- } & {
5732
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5733
- } & {
5734
- [K_29 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never;
5735
- }) | undefined;
5736
- screen?: ({
5737
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5738
- } & {
5739
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5740
- } & {
5741
- [K_30 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
5742
- }) | undefined;
5743
- resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5744
- disabledCodecs?: ({
5745
- codecs?: {
5746
- mime?: string | undefined;
5747
- fmtpLine?: string | undefined;
5748
- }[] | undefined;
5749
- } & {
5750
- codecs?: ({
5751
- mime?: string | undefined;
5752
- fmtpLine?: string | undefined;
5753
- }[] & ({
5754
- mime?: string | undefined;
5755
- fmtpLine?: string | undefined;
5756
- } & {
5757
- mime?: string | undefined;
5758
- fmtpLine?: string | undefined;
5759
- } & {
5760
- [K_31 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
5761
- })[] & {
5762
- [K_32 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
5763
- mime?: string | undefined;
5764
- fmtpLine?: string | undefined;
5765
- }[]>]: never;
5766
- }) | undefined;
5767
- } & {
5768
- [K_33 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
5769
- }) | undefined;
5770
- forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5771
- } & {
5772
- [K_34 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never;
5773
- }) | undefined;
5774
- serverRegion?: string | undefined;
5775
- pingTimeout?: number | undefined;
5776
- pingInterval?: number | undefined;
5777
- serverInfo?: ({
5778
- edition?: import("./livekit_models").ServerInfo_Edition | undefined;
5779
- version?: string | undefined;
5780
- protocol?: number | undefined;
5781
- region?: string | undefined;
5782
- nodeId?: string | undefined;
5783
- debugInfo?: string | undefined;
5784
- } & {
5785
- edition?: import("./livekit_models").ServerInfo_Edition | undefined;
5786
- version?: string | undefined;
5787
- protocol?: number | undefined;
5788
- region?: string | undefined;
5789
- nodeId?: string | undefined;
5790
- debugInfo?: string | undefined;
5791
- } & {
5792
- [K_35 in Exclude<keyof I["serverInfo"], keyof ServerInfo>]: never;
5793
- }) | undefined;
5794
- } & {
5795
- [K_36 in Exclude<keyof I, keyof JoinResponse>]: never;
5796
- }>(object: I): JoinResponse;
5797
- };
5798
- export declare const ReconnectResponse: {
5799
- encode(message: ReconnectResponse, writer?: _m0.Writer): _m0.Writer;
5800
- decode(input: _m0.Reader | Uint8Array, length?: number): ReconnectResponse;
5801
- fromJSON(object: any): ReconnectResponse;
5802
- toJSON(message: ReconnectResponse): unknown;
5803
- fromPartial<I extends {
5804
- iceServers?: {
5805
- urls?: string[] | undefined;
5806
- username?: string | undefined;
5807
- credential?: string | undefined;
5808
- }[] | undefined;
5809
- clientConfiguration?: {
5810
- video?: {
5811
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5812
- } | undefined;
5813
- screen?: {
5814
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5815
- } | undefined;
5816
- resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5817
- disabledCodecs?: {
5818
- codecs?: {
5819
- mime?: string | undefined;
5820
- fmtpLine?: string | undefined;
5821
- }[] | undefined;
5822
- } | undefined;
5823
- forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5824
- } | undefined;
5825
- } & {
5826
- iceServers?: ({
5827
- urls?: string[] | undefined;
5828
- username?: string | undefined;
5829
- credential?: string | undefined;
5830
- }[] & ({
5831
- urls?: string[] | undefined;
5832
- username?: string | undefined;
5833
- credential?: string | undefined;
5834
- } & {
5835
- urls?: (string[] & string[] & {
5836
- [K in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never;
5837
- }) | undefined;
5838
- username?: string | undefined;
5839
- credential?: string | undefined;
5840
- } & {
5841
- [K_1 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never;
5842
- })[] & {
5843
- [K_2 in Exclude<keyof I["iceServers"], keyof {
5844
- urls?: string[] | undefined;
5845
- username?: string | undefined;
5846
- credential?: string | undefined;
5847
- }[]>]: never;
5848
- }) | undefined;
5849
- clientConfiguration?: ({
5850
- video?: {
5851
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5852
- } | undefined;
5853
- screen?: {
5854
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5855
- } | undefined;
5856
- resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5857
- disabledCodecs?: {
5858
- codecs?: {
5859
- mime?: string | undefined;
5860
- fmtpLine?: string | undefined;
5861
- }[] | undefined;
5862
- } | undefined;
5863
- forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5864
- } & {
5865
- video?: ({
5866
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5867
- } & {
5868
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5869
- } & {
5870
- [K_3 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never;
5871
- }) | undefined;
5872
- screen?: ({
5873
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5874
- } & {
5875
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5876
- } & {
5877
- [K_4 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
5878
- }) | undefined;
5879
- resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5880
- disabledCodecs?: ({
5881
- codecs?: {
5882
- mime?: string | undefined;
5883
- fmtpLine?: string | undefined;
5884
- }[] | undefined;
5885
- } & {
5886
- codecs?: ({
5887
- mime?: string | undefined;
5888
- fmtpLine?: string | undefined;
5889
- }[] & ({
5890
- mime?: string | undefined;
5891
- fmtpLine?: string | undefined;
5892
- } & {
5893
- mime?: string | undefined;
5894
- fmtpLine?: string | undefined;
5895
- } & {
5896
- [K_5 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
5897
- })[] & {
5898
- [K_6 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
5899
- mime?: string | undefined;
5900
- fmtpLine?: string | undefined;
5901
- }[]>]: never;
5902
- }) | undefined;
5903
- } & {
5904
- [K_7 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
5905
- }) | undefined;
5906
- forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5907
- } & {
5908
- [K_8 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never;
5909
- }) | undefined;
5910
8007
  } & {
5911
- [K_9 in Exclude<keyof I, keyof ReconnectResponse>]: never;
8008
+ [K_35 in Exclude<keyof I, keyof ReconnectResponse>]: never;
5912
8009
  }>(object: I): ReconnectResponse;
5913
8010
  };
5914
8011
  export declare const TrackPublishedResponse: {
@@ -7721,6 +9818,36 @@ export declare const SimulateScenario: {
7721
9818
  [K_5 in Exclude<keyof I, "scenario">]: never;
7722
9819
  }>(object: I): SimulateScenario;
7723
9820
  };
9821
+ export declare const Ping: {
9822
+ encode(message: Ping, writer?: _m0.Writer): _m0.Writer;
9823
+ decode(input: _m0.Reader | Uint8Array, length?: number): Ping;
9824
+ fromJSON(object: any): Ping;
9825
+ toJSON(message: Ping): unknown;
9826
+ fromPartial<I extends {
9827
+ timestamp?: number | undefined;
9828
+ rtt?: number | undefined;
9829
+ } & {
9830
+ timestamp?: number | undefined;
9831
+ rtt?: number | undefined;
9832
+ } & {
9833
+ [K in Exclude<keyof I, keyof Ping>]: never;
9834
+ }>(object: I): Ping;
9835
+ };
9836
+ export declare const Pong: {
9837
+ encode(message: Pong, writer?: _m0.Writer): _m0.Writer;
9838
+ decode(input: _m0.Reader | Uint8Array, length?: number): Pong;
9839
+ fromJSON(object: any): Pong;
9840
+ toJSON(message: Pong): unknown;
9841
+ fromPartial<I extends {
9842
+ lastPingTimestamp?: number | undefined;
9843
+ timestamp?: number | undefined;
9844
+ } & {
9845
+ lastPingTimestamp?: number | undefined;
9846
+ timestamp?: number | undefined;
9847
+ } & {
9848
+ [K in Exclude<keyof I, keyof Pong>]: never;
9849
+ }>(object: I): Pong;
9850
+ };
7724
9851
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
7725
9852
  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 {
7726
9853
  $case: string;