@@ -442,6 +442,51 @@ export interface CallGrants {
442
442
*/
443
443
canScreenshare : boolean ;
444
444
}
445
+ /**
446
+ * @generated from protobuf message stream.video.sfu.models.InputDevices
447
+ */
448
+ export interface InputDevices {
449
+ /**
450
+ * @generated from protobuf field: repeated string available_devices = 1;
451
+ */
452
+ availableDevices : string [ ] ;
453
+ /**
454
+ * @generated from protobuf field: string current_device = 2;
455
+ */
456
+ currentDevice : string ;
457
+ /**
458
+ * @generated from protobuf field: bool is_permitted = 3;
459
+ */
460
+ isPermitted : boolean ;
461
+ }
462
+ /**
463
+ * @generated from protobuf message stream.video.sfu.models.AndroidState
464
+ */
465
+ export interface AndroidState {
466
+ /**
467
+ * @generated from protobuf field: stream.video.sfu.models.AndroidThermalState thermal_state = 1;
468
+ */
469
+ thermalState : AndroidThermalState ;
470
+ /**
471
+ * @generated from protobuf field: bool is_power_saver_mode = 2;
472
+ */
473
+ isPowerSaverMode : boolean ;
474
+ }
475
+ /**
476
+ * @generated from protobuf message stream.video.sfu.models.AppleState
477
+ */
478
+ export interface AppleState {
479
+ /**
480
+ * @generated from protobuf field: stream.video.sfu.models.AppleThermalState thermal_state = 1;
481
+ */
482
+ thermalState : AppleThermalState ;
483
+ /**
484
+ * https://developer.apple.com/documentation/foundation/processinfo/1617047-islowpowermodeenabled
485
+ *
486
+ * @generated from protobuf field: bool is_low_power_mode_enabled = 2;
487
+ */
488
+ isLowPowerModeEnabled : boolean ;
489
+ }
445
490
/**
446
491
* @generated from protobuf enum stream.video.sfu.models.PeerType
447
492
*/
@@ -773,6 +818,74 @@ export enum WebsocketReconnectStrategy {
773
818
*/
774
819
MIGRATE = 4 ,
775
820
}
821
+ /**
822
+ * AndroidThermalState is reported by the Android API. The full list of values is documented here
823
+ * https://developer.android.com/reference/android/os/PowerManager.html#getCurrentThermalStatus()
824
+ *
825
+ * @generated from protobuf enum stream.video.sfu.models.AndroidThermalState
826
+ */
827
+ export enum AndroidThermalState {
828
+ /**
829
+ * @generated from protobuf enum value: ANDROID_THERMAL_STATE_UNSPECIFIED = 0;
830
+ */
831
+ UNSPECIFIED = 0 ,
832
+ /**
833
+ * @generated from protobuf enum value: ANDROID_THERMAL_STATE_NONE = 1;
834
+ */
835
+ NONE = 1 ,
836
+ /**
837
+ * @generated from protobuf enum value: ANDROID_THERMAL_STATE_LIGHT = 2;
838
+ */
839
+ LIGHT = 2 ,
840
+ /**
841
+ * @generated from protobuf enum value: ANDROID_THERMAL_STATE_MODERATE = 3;
842
+ */
843
+ MODERATE = 3 ,
844
+ /**
845
+ * @generated from protobuf enum value: ANDROID_THERMAL_STATE_SEVERE = 4;
846
+ */
847
+ SEVERE = 4 ,
848
+ /**
849
+ * @generated from protobuf enum value: ANDROID_THERMAL_STATE_CRITICAL = 5;
850
+ */
851
+ CRITICAL = 5 ,
852
+ /**
853
+ * @generated from protobuf enum value: ANDROID_THERMAL_STATE_EMERGENCY = 6;
854
+ */
855
+ EMERGENCY = 6 ,
856
+ /**
857
+ * @generated from protobuf enum value: ANDROID_THERMAL_STATE_SHUTDOWN = 7;
858
+ */
859
+ SHUTDOWN = 7 ,
860
+ }
861
+ /**
862
+ * AppleThermalState is the thermal state as reported by Apple devices when available or applicable to the platform.
863
+ * The full list of states (enum) is available here: https://developer.apple.com/documentation/foundation/processinfo/thermalstate
864
+ *
865
+ * @generated from protobuf enum stream.video.sfu.models.AppleThermalState
866
+ */
867
+ export enum AppleThermalState {
868
+ /**
869
+ * @generated from protobuf enum value: APPLE_THERMAL_STATE_UNSPECIFIED = 0;
870
+ */
871
+ UNSPECIFIED = 0 ,
872
+ /**
873
+ * @generated from protobuf enum value: APPLE_THERMAL_STATE_NOMINAL = 1;
874
+ */
875
+ NOMINAL = 1 ,
876
+ /**
877
+ * @generated from protobuf enum value: APPLE_THERMAL_STATE_FAIR = 2;
878
+ */
879
+ FAIR = 2 ,
880
+ /**
881
+ * @generated from protobuf enum value: APPLE_THERMAL_STATE_SERIOUS = 3;
882
+ */
883
+ SERIOUS = 3 ,
884
+ /**
885
+ * @generated from protobuf enum value: APPLE_THERMAL_STATE_CRITICAL = 4;
886
+ */
887
+ CRITICAL = 4 ,
888
+ }
776
889
// @generated message type with reflection information, may provide speed optimized methods
777
890
class CallState$Type extends MessageType < CallState > {
778
891
constructor ( ) {
@@ -1211,3 +1324,82 @@ class CallGrants$Type extends MessageType<CallGrants> {
1211
1324
* @generated MessageType for protobuf message stream.video.sfu.models.CallGrants
1212
1325
*/
1213
1326
export const CallGrants = new CallGrants$Type ( ) ;
1327
+ // @generated message type with reflection information, may provide speed optimized methods
1328
+ class InputDevices$Type extends MessageType < InputDevices > {
1329
+ constructor ( ) {
1330
+ super ( 'stream.video.sfu.models.InputDevices' , [
1331
+ {
1332
+ no : 1 ,
1333
+ name : 'available_devices' ,
1334
+ kind : 'scalar' ,
1335
+ repeat : 2 /*RepeatType.UNPACKED*/ ,
1336
+ T : 9 /*ScalarType.STRING*/ ,
1337
+ } ,
1338
+ {
1339
+ no : 2 ,
1340
+ name : 'current_device' ,
1341
+ kind : 'scalar' ,
1342
+ T : 9 /*ScalarType.STRING*/ ,
1343
+ } ,
1344
+ { no : 3 , name : 'is_permitted' , kind : 'scalar' , T : 8 /*ScalarType.BOOL*/ } ,
1345
+ ] ) ;
1346
+ }
1347
+ }
1348
+ /**
1349
+ * @generated MessageType for protobuf message stream.video.sfu.models.InputDevices
1350
+ */
1351
+ export const InputDevices = new InputDevices$Type ( ) ;
1352
+ // @generated message type with reflection information, may provide speed optimized methods
1353
+ class AndroidState$Type extends MessageType < AndroidState > {
1354
+ constructor ( ) {
1355
+ super ( 'stream.video.sfu.models.AndroidState' , [
1356
+ {
1357
+ no : 1 ,
1358
+ name : 'thermal_state' ,
1359
+ kind : 'enum' ,
1360
+ T : ( ) => [
1361
+ 'stream.video.sfu.models.AndroidThermalState' ,
1362
+ AndroidThermalState ,
1363
+ 'ANDROID_THERMAL_STATE_' ,
1364
+ ] ,
1365
+ } ,
1366
+ {
1367
+ no : 2 ,
1368
+ name : 'is_power_saver_mode' ,
1369
+ kind : 'scalar' ,
1370
+ T : 8 /*ScalarType.BOOL*/ ,
1371
+ } ,
1372
+ ] ) ;
1373
+ }
1374
+ }
1375
+ /**
1376
+ * @generated MessageType for protobuf message stream.video.sfu.models.AndroidState
1377
+ */
1378
+ export const AndroidState = new AndroidState$Type ( ) ;
1379
+ // @generated message type with reflection information, may provide speed optimized methods
1380
+ class AppleState$Type extends MessageType < AppleState > {
1381
+ constructor ( ) {
1382
+ super ( 'stream.video.sfu.models.AppleState' , [
1383
+ {
1384
+ no : 1 ,
1385
+ name : 'thermal_state' ,
1386
+ kind : 'enum' ,
1387
+ T : ( ) => [
1388
+ 'stream.video.sfu.models.AppleThermalState' ,
1389
+ AppleThermalState ,
1390
+ 'APPLE_THERMAL_STATE_' ,
1391
+ ] ,
1392
+ } ,
1393
+ {
1394
+ no : 2 ,
1395
+ name : 'is_low_power_mode_enabled' ,
1396
+ kind : 'scalar' ,
1397
+ T : 8 /*ScalarType.BOOL*/ ,
1398
+ } ,
1399
+ ] ) ;
1400
+ }
1401
+ }
1402
+ /**
1403
+ * @generated MessageType for protobuf message stream.video.sfu.models.AppleState
1404
+ */
1405
+ export const AppleState = new AppleState$Type ( ) ;
0 commit comments