-
Notifications
You must be signed in to change notification settings - Fork 54
/
livekit_models.pb.go
4515 lines (3980 loc) · 159 KB
/
livekit_models.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Copyright 2023 LiveKit, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.1
// protoc v4.23.4
// source: livekit_models.proto
package livekit
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type AudioCodec int32
const (
AudioCodec_DEFAULT_AC AudioCodec = 0
AudioCodec_OPUS AudioCodec = 1
AudioCodec_AAC AudioCodec = 2
)
// Enum value maps for AudioCodec.
var (
AudioCodec_name = map[int32]string{
0: "DEFAULT_AC",
1: "OPUS",
2: "AAC",
}
AudioCodec_value = map[string]int32{
"DEFAULT_AC": 0,
"OPUS": 1,
"AAC": 2,
}
)
func (x AudioCodec) Enum() *AudioCodec {
p := new(AudioCodec)
*p = x
return p
}
func (x AudioCodec) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (AudioCodec) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[0].Descriptor()
}
func (AudioCodec) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[0]
}
func (x AudioCodec) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use AudioCodec.Descriptor instead.
func (AudioCodec) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{0}
}
type VideoCodec int32
const (
VideoCodec_DEFAULT_VC VideoCodec = 0
VideoCodec_H264_BASELINE VideoCodec = 1
VideoCodec_H264_MAIN VideoCodec = 2
VideoCodec_H264_HIGH VideoCodec = 3
VideoCodec_VP8 VideoCodec = 4
)
// Enum value maps for VideoCodec.
var (
VideoCodec_name = map[int32]string{
0: "DEFAULT_VC",
1: "H264_BASELINE",
2: "H264_MAIN",
3: "H264_HIGH",
4: "VP8",
}
VideoCodec_value = map[string]int32{
"DEFAULT_VC": 0,
"H264_BASELINE": 1,
"H264_MAIN": 2,
"H264_HIGH": 3,
"VP8": 4,
}
)
func (x VideoCodec) Enum() *VideoCodec {
p := new(VideoCodec)
*p = x
return p
}
func (x VideoCodec) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (VideoCodec) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[1].Descriptor()
}
func (VideoCodec) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[1]
}
func (x VideoCodec) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use VideoCodec.Descriptor instead.
func (VideoCodec) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{1}
}
type ImageCodec int32
const (
ImageCodec_IC_DEFAULT ImageCodec = 0
ImageCodec_IC_JPEG ImageCodec = 1
)
// Enum value maps for ImageCodec.
var (
ImageCodec_name = map[int32]string{
0: "IC_DEFAULT",
1: "IC_JPEG",
}
ImageCodec_value = map[string]int32{
"IC_DEFAULT": 0,
"IC_JPEG": 1,
}
)
func (x ImageCodec) Enum() *ImageCodec {
p := new(ImageCodec)
*p = x
return p
}
func (x ImageCodec) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ImageCodec) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[2].Descriptor()
}
func (ImageCodec) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[2]
}
func (x ImageCodec) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ImageCodec.Descriptor instead.
func (ImageCodec) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{2}
}
type TrackType int32
const (
TrackType_AUDIO TrackType = 0
TrackType_VIDEO TrackType = 1
TrackType_DATA TrackType = 2
)
// Enum value maps for TrackType.
var (
TrackType_name = map[int32]string{
0: "AUDIO",
1: "VIDEO",
2: "DATA",
}
TrackType_value = map[string]int32{
"AUDIO": 0,
"VIDEO": 1,
"DATA": 2,
}
)
func (x TrackType) Enum() *TrackType {
p := new(TrackType)
*p = x
return p
}
func (x TrackType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (TrackType) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[3].Descriptor()
}
func (TrackType) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[3]
}
func (x TrackType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use TrackType.Descriptor instead.
func (TrackType) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{3}
}
type TrackSource int32
const (
TrackSource_UNKNOWN TrackSource = 0
TrackSource_CAMERA TrackSource = 1
TrackSource_MICROPHONE TrackSource = 2
TrackSource_SCREEN_SHARE TrackSource = 3
TrackSource_SCREEN_SHARE_AUDIO TrackSource = 4
)
// Enum value maps for TrackSource.
var (
TrackSource_name = map[int32]string{
0: "UNKNOWN",
1: "CAMERA",
2: "MICROPHONE",
3: "SCREEN_SHARE",
4: "SCREEN_SHARE_AUDIO",
}
TrackSource_value = map[string]int32{
"UNKNOWN": 0,
"CAMERA": 1,
"MICROPHONE": 2,
"SCREEN_SHARE": 3,
"SCREEN_SHARE_AUDIO": 4,
}
)
func (x TrackSource) Enum() *TrackSource {
p := new(TrackSource)
*p = x
return p
}
func (x TrackSource) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (TrackSource) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[4].Descriptor()
}
func (TrackSource) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[4]
}
func (x TrackSource) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use TrackSource.Descriptor instead.
func (TrackSource) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{4}
}
type VideoQuality int32
const (
VideoQuality_LOW VideoQuality = 0
VideoQuality_MEDIUM VideoQuality = 1
VideoQuality_HIGH VideoQuality = 2
VideoQuality_OFF VideoQuality = 3
)
// Enum value maps for VideoQuality.
var (
VideoQuality_name = map[int32]string{
0: "LOW",
1: "MEDIUM",
2: "HIGH",
3: "OFF",
}
VideoQuality_value = map[string]int32{
"LOW": 0,
"MEDIUM": 1,
"HIGH": 2,
"OFF": 3,
}
)
func (x VideoQuality) Enum() *VideoQuality {
p := new(VideoQuality)
*p = x
return p
}
func (x VideoQuality) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (VideoQuality) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[5].Descriptor()
}
func (VideoQuality) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[5]
}
func (x VideoQuality) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use VideoQuality.Descriptor instead.
func (VideoQuality) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{5}
}
type ConnectionQuality int32
const (
ConnectionQuality_POOR ConnectionQuality = 0
ConnectionQuality_GOOD ConnectionQuality = 1
ConnectionQuality_EXCELLENT ConnectionQuality = 2
ConnectionQuality_LOST ConnectionQuality = 3
)
// Enum value maps for ConnectionQuality.
var (
ConnectionQuality_name = map[int32]string{
0: "POOR",
1: "GOOD",
2: "EXCELLENT",
3: "LOST",
}
ConnectionQuality_value = map[string]int32{
"POOR": 0,
"GOOD": 1,
"EXCELLENT": 2,
"LOST": 3,
}
)
func (x ConnectionQuality) Enum() *ConnectionQuality {
p := new(ConnectionQuality)
*p = x
return p
}
func (x ConnectionQuality) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ConnectionQuality) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[6].Descriptor()
}
func (ConnectionQuality) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[6]
}
func (x ConnectionQuality) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ConnectionQuality.Descriptor instead.
func (ConnectionQuality) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{6}
}
type ClientConfigSetting int32
const (
ClientConfigSetting_UNSET ClientConfigSetting = 0
ClientConfigSetting_DISABLED ClientConfigSetting = 1
ClientConfigSetting_ENABLED ClientConfigSetting = 2
)
// Enum value maps for ClientConfigSetting.
var (
ClientConfigSetting_name = map[int32]string{
0: "UNSET",
1: "DISABLED",
2: "ENABLED",
}
ClientConfigSetting_value = map[string]int32{
"UNSET": 0,
"DISABLED": 1,
"ENABLED": 2,
}
)
func (x ClientConfigSetting) Enum() *ClientConfigSetting {
p := new(ClientConfigSetting)
*p = x
return p
}
func (x ClientConfigSetting) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ClientConfigSetting) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[7].Descriptor()
}
func (ClientConfigSetting) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[7]
}
func (x ClientConfigSetting) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ClientConfigSetting.Descriptor instead.
func (ClientConfigSetting) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{7}
}
type DisconnectReason int32
const (
DisconnectReason_UNKNOWN_REASON DisconnectReason = 0
DisconnectReason_CLIENT_INITIATED DisconnectReason = 1
DisconnectReason_DUPLICATE_IDENTITY DisconnectReason = 2
DisconnectReason_SERVER_SHUTDOWN DisconnectReason = 3
DisconnectReason_PARTICIPANT_REMOVED DisconnectReason = 4
DisconnectReason_ROOM_DELETED DisconnectReason = 5
DisconnectReason_STATE_MISMATCH DisconnectReason = 6
DisconnectReason_JOIN_FAILURE DisconnectReason = 7
DisconnectReason_MIGRATION DisconnectReason = 8
DisconnectReason_SIGNAL_CLOSE DisconnectReason = 9
)
// Enum value maps for DisconnectReason.
var (
DisconnectReason_name = map[int32]string{
0: "UNKNOWN_REASON",
1: "CLIENT_INITIATED",
2: "DUPLICATE_IDENTITY",
3: "SERVER_SHUTDOWN",
4: "PARTICIPANT_REMOVED",
5: "ROOM_DELETED",
6: "STATE_MISMATCH",
7: "JOIN_FAILURE",
8: "MIGRATION",
9: "SIGNAL_CLOSE",
}
DisconnectReason_value = map[string]int32{
"UNKNOWN_REASON": 0,
"CLIENT_INITIATED": 1,
"DUPLICATE_IDENTITY": 2,
"SERVER_SHUTDOWN": 3,
"PARTICIPANT_REMOVED": 4,
"ROOM_DELETED": 5,
"STATE_MISMATCH": 6,
"JOIN_FAILURE": 7,
"MIGRATION": 8,
"SIGNAL_CLOSE": 9,
}
)
func (x DisconnectReason) Enum() *DisconnectReason {
p := new(DisconnectReason)
*p = x
return p
}
func (x DisconnectReason) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DisconnectReason) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[8].Descriptor()
}
func (DisconnectReason) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[8]
}
func (x DisconnectReason) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use DisconnectReason.Descriptor instead.
func (DisconnectReason) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{8}
}
type ReconnectReason int32
const (
ReconnectReason_RR_UNKNOWN ReconnectReason = 0
ReconnectReason_RR_SIGNAL_DISCONNECTED ReconnectReason = 1
ReconnectReason_RR_PUBLISHER_FAILED ReconnectReason = 2
ReconnectReason_RR_SUBSCRIBER_FAILED ReconnectReason = 3
ReconnectReason_RR_SWITCH_CANDIDATE ReconnectReason = 4
)
// Enum value maps for ReconnectReason.
var (
ReconnectReason_name = map[int32]string{
0: "RR_UNKNOWN",
1: "RR_SIGNAL_DISCONNECTED",
2: "RR_PUBLISHER_FAILED",
3: "RR_SUBSCRIBER_FAILED",
4: "RR_SWITCH_CANDIDATE",
}
ReconnectReason_value = map[string]int32{
"RR_UNKNOWN": 0,
"RR_SIGNAL_DISCONNECTED": 1,
"RR_PUBLISHER_FAILED": 2,
"RR_SUBSCRIBER_FAILED": 3,
"RR_SWITCH_CANDIDATE": 4,
}
)
func (x ReconnectReason) Enum() *ReconnectReason {
p := new(ReconnectReason)
*p = x
return p
}
func (x ReconnectReason) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ReconnectReason) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[9].Descriptor()
}
func (ReconnectReason) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[9]
}
func (x ReconnectReason) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ReconnectReason.Descriptor instead.
func (ReconnectReason) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{9}
}
type SubscriptionError int32
const (
SubscriptionError_SE_UNKNOWN SubscriptionError = 0
SubscriptionError_SE_CODEC_UNSUPPORTED SubscriptionError = 1
SubscriptionError_SE_TRACK_NOTFOUND SubscriptionError = 2
)
// Enum value maps for SubscriptionError.
var (
SubscriptionError_name = map[int32]string{
0: "SE_UNKNOWN",
1: "SE_CODEC_UNSUPPORTED",
2: "SE_TRACK_NOTFOUND",
}
SubscriptionError_value = map[string]int32{
"SE_UNKNOWN": 0,
"SE_CODEC_UNSUPPORTED": 1,
"SE_TRACK_NOTFOUND": 2,
}
)
func (x SubscriptionError) Enum() *SubscriptionError {
p := new(SubscriptionError)
*p = x
return p
}
func (x SubscriptionError) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SubscriptionError) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[10].Descriptor()
}
func (SubscriptionError) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[10]
}
func (x SubscriptionError) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use SubscriptionError.Descriptor instead.
func (SubscriptionError) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{10}
}
type AudioTrackFeature int32
const (
AudioTrackFeature_TF_STEREO AudioTrackFeature = 0
AudioTrackFeature_TF_NO_DTX AudioTrackFeature = 1
AudioTrackFeature_TF_AUTO_GAIN_CONTROL AudioTrackFeature = 2
AudioTrackFeature_TF_ECHO_CANCELLATION AudioTrackFeature = 3
AudioTrackFeature_TF_NOISE_SUPPRESSION AudioTrackFeature = 4
AudioTrackFeature_TF_ENHANCED_NOISE_CANCELLATION AudioTrackFeature = 5
)
// Enum value maps for AudioTrackFeature.
var (
AudioTrackFeature_name = map[int32]string{
0: "TF_STEREO",
1: "TF_NO_DTX",
2: "TF_AUTO_GAIN_CONTROL",
3: "TF_ECHO_CANCELLATION",
4: "TF_NOISE_SUPPRESSION",
5: "TF_ENHANCED_NOISE_CANCELLATION",
}
AudioTrackFeature_value = map[string]int32{
"TF_STEREO": 0,
"TF_NO_DTX": 1,
"TF_AUTO_GAIN_CONTROL": 2,
"TF_ECHO_CANCELLATION": 3,
"TF_NOISE_SUPPRESSION": 4,
"TF_ENHANCED_NOISE_CANCELLATION": 5,
}
)
func (x AudioTrackFeature) Enum() *AudioTrackFeature {
p := new(AudioTrackFeature)
*p = x
return p
}
func (x AudioTrackFeature) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (AudioTrackFeature) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[11].Descriptor()
}
func (AudioTrackFeature) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[11]
}
func (x AudioTrackFeature) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use AudioTrackFeature.Descriptor instead.
func (AudioTrackFeature) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{11}
}
type ParticipantInfo_State int32
const (
// websocket' connected, but not offered yet
ParticipantInfo_JOINING ParticipantInfo_State = 0
// server received client offer
ParticipantInfo_JOINED ParticipantInfo_State = 1
// ICE connectivity established
ParticipantInfo_ACTIVE ParticipantInfo_State = 2
// WS disconnected
ParticipantInfo_DISCONNECTED ParticipantInfo_State = 3
)
// Enum value maps for ParticipantInfo_State.
var (
ParticipantInfo_State_name = map[int32]string{
0: "JOINING",
1: "JOINED",
2: "ACTIVE",
3: "DISCONNECTED",
}
ParticipantInfo_State_value = map[string]int32{
"JOINING": 0,
"JOINED": 1,
"ACTIVE": 2,
"DISCONNECTED": 3,
}
)
func (x ParticipantInfo_State) Enum() *ParticipantInfo_State {
p := new(ParticipantInfo_State)
*p = x
return p
}
func (x ParticipantInfo_State) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ParticipantInfo_State) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[12].Descriptor()
}
func (ParticipantInfo_State) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[12]
}
func (x ParticipantInfo_State) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ParticipantInfo_State.Descriptor instead.
func (ParticipantInfo_State) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{4, 0}
}
type ParticipantInfo_Kind int32
const (
// standard participants, e.g. web clients
ParticipantInfo_STANDARD ParticipantInfo_Kind = 0
// only ingests streams
ParticipantInfo_INGRESS ParticipantInfo_Kind = 1
// only consumes streams
ParticipantInfo_EGRESS ParticipantInfo_Kind = 2
// SIP participants
ParticipantInfo_SIP ParticipantInfo_Kind = 3
// LiveKit agents
ParticipantInfo_AGENT ParticipantInfo_Kind = 4
)
// Enum value maps for ParticipantInfo_Kind.
var (
ParticipantInfo_Kind_name = map[int32]string{
0: "STANDARD",
1: "INGRESS",
2: "EGRESS",
3: "SIP",
4: "AGENT",
}
ParticipantInfo_Kind_value = map[string]int32{
"STANDARD": 0,
"INGRESS": 1,
"EGRESS": 2,
"SIP": 3,
"AGENT": 4,
}
)
func (x ParticipantInfo_Kind) Enum() *ParticipantInfo_Kind {
p := new(ParticipantInfo_Kind)
*p = x
return p
}
func (x ParticipantInfo_Kind) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ParticipantInfo_Kind) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[13].Descriptor()
}
func (ParticipantInfo_Kind) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[13]
}
func (x ParticipantInfo_Kind) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ParticipantInfo_Kind.Descriptor instead.
func (ParticipantInfo_Kind) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{4, 1}
}
type Encryption_Type int32
const (
Encryption_NONE Encryption_Type = 0
Encryption_GCM Encryption_Type = 1
Encryption_CUSTOM Encryption_Type = 2
)
// Enum value maps for Encryption_Type.
var (
Encryption_Type_name = map[int32]string{
0: "NONE",
1: "GCM",
2: "CUSTOM",
}
Encryption_Type_value = map[string]int32{
"NONE": 0,
"GCM": 1,
"CUSTOM": 2,
}
)
func (x Encryption_Type) Enum() *Encryption_Type {
p := new(Encryption_Type)
*p = x
return p
}
func (x Encryption_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Encryption_Type) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[14].Descriptor()
}
func (Encryption_Type) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[14]
}
func (x Encryption_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Encryption_Type.Descriptor instead.
func (Encryption_Type) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{5, 0}
}
type DataPacket_Kind int32
const (
DataPacket_RELIABLE DataPacket_Kind = 0
DataPacket_LOSSY DataPacket_Kind = 1
)
// Enum value maps for DataPacket_Kind.
var (
DataPacket_Kind_name = map[int32]string{
0: "RELIABLE",
1: "LOSSY",
}
DataPacket_Kind_value = map[string]int32{
"RELIABLE": 0,
"LOSSY": 1,
}
)
func (x DataPacket_Kind) Enum() *DataPacket_Kind {
p := new(DataPacket_Kind)
*p = x
return p
}
func (x DataPacket_Kind) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DataPacket_Kind) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[15].Descriptor()
}
func (DataPacket_Kind) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[15]
}
func (x DataPacket_Kind) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use DataPacket_Kind.Descriptor instead.
func (DataPacket_Kind) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{9, 0}
}
type ServerInfo_Edition int32
const (
ServerInfo_Standard ServerInfo_Edition = 0
ServerInfo_Cloud ServerInfo_Edition = 1
)
// Enum value maps for ServerInfo_Edition.
var (
ServerInfo_Edition_name = map[int32]string{
0: "Standard",
1: "Cloud",
}
ServerInfo_Edition_value = map[string]int32{
"Standard": 0,
"Cloud": 1,
}
)
func (x ServerInfo_Edition) Enum() *ServerInfo_Edition {
p := new(ServerInfo_Edition)
*p = x
return p
}
func (x ServerInfo_Edition) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ServerInfo_Edition) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[16].Descriptor()
}
func (ServerInfo_Edition) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[16]
}
func (x ServerInfo_Edition) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ServerInfo_Edition.Descriptor instead.
func (ServerInfo_Edition) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{17, 0}
}
type ClientInfo_SDK int32
const (
ClientInfo_UNKNOWN ClientInfo_SDK = 0
ClientInfo_JS ClientInfo_SDK = 1
ClientInfo_SWIFT ClientInfo_SDK = 2
ClientInfo_ANDROID ClientInfo_SDK = 3
ClientInfo_FLUTTER ClientInfo_SDK = 4
ClientInfo_GO ClientInfo_SDK = 5
ClientInfo_UNITY ClientInfo_SDK = 6
ClientInfo_REACT_NATIVE ClientInfo_SDK = 7
ClientInfo_RUST ClientInfo_SDK = 8
ClientInfo_PYTHON ClientInfo_SDK = 9
ClientInfo_CPP ClientInfo_SDK = 10
)
// Enum value maps for ClientInfo_SDK.
var (
ClientInfo_SDK_name = map[int32]string{
0: "UNKNOWN",
1: "JS",
2: "SWIFT",
3: "ANDROID",
4: "FLUTTER",
5: "GO",
6: "UNITY",
7: "REACT_NATIVE",
8: "RUST",
9: "PYTHON",
10: "CPP",
}
ClientInfo_SDK_value = map[string]int32{
"UNKNOWN": 0,
"JS": 1,
"SWIFT": 2,
"ANDROID": 3,
"FLUTTER": 4,
"GO": 5,
"UNITY": 6,
"REACT_NATIVE": 7,
"RUST": 8,
"PYTHON": 9,
"CPP": 10,
}
)
func (x ClientInfo_SDK) Enum() *ClientInfo_SDK {
p := new(ClientInfo_SDK)
*p = x
return p
}
func (x ClientInfo_SDK) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ClientInfo_SDK) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[17].Descriptor()
}
func (ClientInfo_SDK) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[17]
}
func (x ClientInfo_SDK) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}