@capgo/capacitor-stream-call 0.0.5 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CapgoCapacitorStreamCall.podspec +2 -2
- package/Package.swift +1 -1
- package/README.md +265 -11
- package/android/build.gradle +22 -4
- package/android/src/main/java/ee/forgr/capacitor/streamcall/CustomNotificationHandler.kt +2 -2
- package/android/src/main/java/ee/forgr/capacitor/streamcall/StreamCallPlugin.kt +338 -260
- package/dist/docs.json +761 -12
- package/dist/esm/definitions.d.ts +57 -23
- package/dist/esm/definitions.js.map +1 -1
- package/dist/esm/web.d.ts +2 -1
- package/dist/esm/web.js +58 -22
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +58 -22
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +58 -22
- package/dist/plugin.js.map +1 -1
- package/ios/Sources/StreamCallPlugin/StreamCallPlugin.swift +151 -142
- package/ios/Sources/StreamCallPlugin/TouchInterceptView.swift +3 -3
- package/package.json +2 -2
package/dist/docs.json
CHANGED
|
@@ -287,12 +287,42 @@
|
|
|
287
287
|
"signature": "() => Promise<CameraEnabledResponse>",
|
|
288
288
|
"parameters": [],
|
|
289
289
|
"returns": "Promise<CameraEnabledResponse>",
|
|
290
|
-
"tags": [
|
|
291
|
-
|
|
290
|
+
"tags": [
|
|
291
|
+
{
|
|
292
|
+
"name": "returns",
|
|
293
|
+
"text": "Camera enabled status"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"name": "example",
|
|
297
|
+
"text": "const isCameraEnabled = await StreamCall.isCameraEnabled();\nconsole.log(isCameraEnabled);"
|
|
298
|
+
}
|
|
299
|
+
],
|
|
300
|
+
"docs": "Check if camera is enabled",
|
|
292
301
|
"complexTypes": [
|
|
293
302
|
"CameraEnabledResponse"
|
|
294
303
|
],
|
|
295
304
|
"slug": "iscameraenabled"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "getCallStatus",
|
|
308
|
+
"signature": "() => Promise<CallEvent>",
|
|
309
|
+
"parameters": [],
|
|
310
|
+
"returns": "Promise<CallEvent>",
|
|
311
|
+
"tags": [
|
|
312
|
+
{
|
|
313
|
+
"name": "returns",
|
|
314
|
+
"text": "Current call status as a CallEvent"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"name": "example",
|
|
318
|
+
"text": "const callStatus = await StreamCall.getCallStatus();\nconsole.log(callStatus);"
|
|
319
|
+
}
|
|
320
|
+
],
|
|
321
|
+
"docs": "Get the current call status",
|
|
322
|
+
"complexTypes": [
|
|
323
|
+
"CallEvent"
|
|
324
|
+
],
|
|
325
|
+
"slug": "getcallstatus"
|
|
296
326
|
}
|
|
297
327
|
],
|
|
298
328
|
"properties": []
|
|
@@ -425,16 +455,20 @@
|
|
|
425
455
|
"name": "description"
|
|
426
456
|
},
|
|
427
457
|
{
|
|
428
|
-
"text": "{string}
|
|
458
|
+
"text": "{string[]} userIds - IDs of the users to call",
|
|
429
459
|
"name": "property"
|
|
430
460
|
},
|
|
431
461
|
{
|
|
432
|
-
"text": "{
|
|
462
|
+
"text": "{CallType} [type=default] - Type of call",
|
|
433
463
|
"name": "property"
|
|
434
464
|
},
|
|
435
465
|
{
|
|
436
466
|
"text": "{boolean} [ring=true] - Whether to send ring notification",
|
|
437
467
|
"name": "property"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"text": "{string} [team] - Team name to call",
|
|
471
|
+
"name": "property"
|
|
438
472
|
}
|
|
439
473
|
],
|
|
440
474
|
"methods": [],
|
|
@@ -450,8 +484,10 @@
|
|
|
450
484
|
"name": "type",
|
|
451
485
|
"tags": [],
|
|
452
486
|
"docs": "Type of call, defaults to 'default'",
|
|
453
|
-
"complexTypes": [
|
|
454
|
-
|
|
487
|
+
"complexTypes": [
|
|
488
|
+
"CallType"
|
|
489
|
+
],
|
|
490
|
+
"type": "CallType"
|
|
455
491
|
},
|
|
456
492
|
{
|
|
457
493
|
"name": "ring",
|
|
@@ -459,6 +495,13 @@
|
|
|
459
495
|
"docs": "Whether to ring the other user, defaults to true",
|
|
460
496
|
"complexTypes": [],
|
|
461
497
|
"type": "boolean | undefined"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"name": "team",
|
|
501
|
+
"tags": [],
|
|
502
|
+
"docs": "Team name to call",
|
|
503
|
+
"complexTypes": [],
|
|
504
|
+
"type": "string | undefined"
|
|
462
505
|
}
|
|
463
506
|
]
|
|
464
507
|
},
|
|
@@ -480,7 +523,15 @@
|
|
|
480
523
|
"name": "property"
|
|
481
524
|
},
|
|
482
525
|
{
|
|
483
|
-
"text": "{
|
|
526
|
+
"text": "{CallState} state - Current state of the call",
|
|
527
|
+
"name": "property"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"text": "{string} [userId] - User ID of the participant who triggered the event",
|
|
531
|
+
"name": "property"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"text": "{string} [reason] - Reason for the call state change",
|
|
484
535
|
"name": "property"
|
|
485
536
|
}
|
|
486
537
|
],
|
|
@@ -497,8 +548,10 @@
|
|
|
497
548
|
"name": "state",
|
|
498
549
|
"tags": [],
|
|
499
550
|
"docs": "Current state of the call",
|
|
500
|
-
"complexTypes": [
|
|
501
|
-
|
|
551
|
+
"complexTypes": [
|
|
552
|
+
"CallState"
|
|
553
|
+
],
|
|
554
|
+
"type": "CallState"
|
|
502
555
|
},
|
|
503
556
|
{
|
|
504
557
|
"name": "userId",
|
|
@@ -510,12 +563,492 @@
|
|
|
510
563
|
{
|
|
511
564
|
"name": "reason",
|
|
512
565
|
"tags": [],
|
|
513
|
-
"docs": "Reason for the call state change",
|
|
566
|
+
"docs": "Reason for the call state change, if applicable",
|
|
514
567
|
"complexTypes": [],
|
|
515
568
|
"type": "string | undefined"
|
|
516
569
|
}
|
|
517
570
|
]
|
|
518
571
|
},
|
|
572
|
+
{
|
|
573
|
+
"name": "CallState",
|
|
574
|
+
"slug": "callstate",
|
|
575
|
+
"docs": "CallState is the current state of the call\nas seen by an SFU.",
|
|
576
|
+
"tags": [
|
|
577
|
+
{
|
|
578
|
+
"text": "from protobuf message stream.video.sfu.models.CallState",
|
|
579
|
+
"name": "generated"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"text": "MessageType for protobuf message stream.video.sfu.models.CallState",
|
|
583
|
+
"name": "generated"
|
|
584
|
+
}
|
|
585
|
+
],
|
|
586
|
+
"methods": [],
|
|
587
|
+
"properties": [
|
|
588
|
+
{
|
|
589
|
+
"name": "participants",
|
|
590
|
+
"tags": [
|
|
591
|
+
{
|
|
592
|
+
"text": "from protobuf field: repeated stream.video.sfu.models.Participant participants = 1;",
|
|
593
|
+
"name": "generated"
|
|
594
|
+
}
|
|
595
|
+
],
|
|
596
|
+
"docs": "participants is the list of participants in the call.\nIn large calls, the list could be truncated in which\ncase, the list of participants contains fewer participants\nthan the counts returned in participant_count. Anonymous\nparticipants are **NOT** included in the list.",
|
|
597
|
+
"complexTypes": [
|
|
598
|
+
"Participant"
|
|
599
|
+
],
|
|
600
|
+
"type": "Participant[]"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"name": "startedAt",
|
|
604
|
+
"tags": [
|
|
605
|
+
{
|
|
606
|
+
"text": "from protobuf field: google.protobuf.Timestamp started_at = 2;",
|
|
607
|
+
"name": "generated"
|
|
608
|
+
}
|
|
609
|
+
],
|
|
610
|
+
"docs": "started_at is the time the call session actually started.",
|
|
611
|
+
"complexTypes": [
|
|
612
|
+
"Timestamp"
|
|
613
|
+
],
|
|
614
|
+
"type": "Timestamp"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"name": "participantCount",
|
|
618
|
+
"tags": [
|
|
619
|
+
{
|
|
620
|
+
"text": "from protobuf field: stream.video.sfu.models.ParticipantCount participant_count = 3;",
|
|
621
|
+
"name": "generated"
|
|
622
|
+
}
|
|
623
|
+
],
|
|
624
|
+
"docs": "participant_count contains the summary of the counts.",
|
|
625
|
+
"complexTypes": [
|
|
626
|
+
"ParticipantCount"
|
|
627
|
+
],
|
|
628
|
+
"type": "ParticipantCount"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"name": "pins",
|
|
632
|
+
"tags": [
|
|
633
|
+
{
|
|
634
|
+
"text": "from protobuf field: repeated stream.video.sfu.models.Pin pins = 4;",
|
|
635
|
+
"name": "generated"
|
|
636
|
+
}
|
|
637
|
+
],
|
|
638
|
+
"docs": "the list of pins in the call.\nPins are ordered in descending order (most important first).",
|
|
639
|
+
"complexTypes": [
|
|
640
|
+
"Pin"
|
|
641
|
+
],
|
|
642
|
+
"type": "Pin[]"
|
|
643
|
+
}
|
|
644
|
+
]
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"name": "Participant",
|
|
648
|
+
"slug": "participant",
|
|
649
|
+
"docs": "those who are online in the call",
|
|
650
|
+
"tags": [
|
|
651
|
+
{
|
|
652
|
+
"text": "from protobuf message stream.video.sfu.models.Participant",
|
|
653
|
+
"name": "generated"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"text": "MessageType for protobuf message stream.video.sfu.models.Participant",
|
|
657
|
+
"name": "generated"
|
|
658
|
+
}
|
|
659
|
+
],
|
|
660
|
+
"methods": [],
|
|
661
|
+
"properties": [
|
|
662
|
+
{
|
|
663
|
+
"name": "userId",
|
|
664
|
+
"tags": [
|
|
665
|
+
{
|
|
666
|
+
"text": "from protobuf field: string user_id = 1;",
|
|
667
|
+
"name": "generated"
|
|
668
|
+
}
|
|
669
|
+
],
|
|
670
|
+
"docs": "",
|
|
671
|
+
"complexTypes": [],
|
|
672
|
+
"type": "string"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"name": "sessionId",
|
|
676
|
+
"tags": [
|
|
677
|
+
{
|
|
678
|
+
"text": "from protobuf field: string session_id = 2;",
|
|
679
|
+
"name": "generated"
|
|
680
|
+
}
|
|
681
|
+
],
|
|
682
|
+
"docs": "",
|
|
683
|
+
"complexTypes": [],
|
|
684
|
+
"type": "string"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"name": "publishedTracks",
|
|
688
|
+
"tags": [
|
|
689
|
+
{
|
|
690
|
+
"text": "from protobuf field: repeated stream.video.sfu.models.TrackType published_tracks = 3;",
|
|
691
|
+
"name": "generated"
|
|
692
|
+
}
|
|
693
|
+
],
|
|
694
|
+
"docs": "map of track id to track type",
|
|
695
|
+
"complexTypes": [
|
|
696
|
+
"TrackType"
|
|
697
|
+
],
|
|
698
|
+
"type": "TrackType[]"
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"name": "joinedAt",
|
|
702
|
+
"tags": [
|
|
703
|
+
{
|
|
704
|
+
"text": "from protobuf field: google.protobuf.Timestamp joined_at = 4;",
|
|
705
|
+
"name": "generated"
|
|
706
|
+
}
|
|
707
|
+
],
|
|
708
|
+
"docs": "",
|
|
709
|
+
"complexTypes": [
|
|
710
|
+
"Timestamp"
|
|
711
|
+
],
|
|
712
|
+
"type": "Timestamp"
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"name": "trackLookupPrefix",
|
|
716
|
+
"tags": [
|
|
717
|
+
{
|
|
718
|
+
"text": "from protobuf field: string track_lookup_prefix = 5;",
|
|
719
|
+
"name": "generated"
|
|
720
|
+
}
|
|
721
|
+
],
|
|
722
|
+
"docs": "",
|
|
723
|
+
"complexTypes": [],
|
|
724
|
+
"type": "string"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"name": "connectionQuality",
|
|
728
|
+
"tags": [
|
|
729
|
+
{
|
|
730
|
+
"text": "from protobuf field: stream.video.sfu.models.ConnectionQuality connection_quality = 6;",
|
|
731
|
+
"name": "generated"
|
|
732
|
+
}
|
|
733
|
+
],
|
|
734
|
+
"docs": "",
|
|
735
|
+
"complexTypes": [
|
|
736
|
+
"ConnectionQuality"
|
|
737
|
+
],
|
|
738
|
+
"type": "ConnectionQuality"
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"name": "isSpeaking",
|
|
742
|
+
"tags": [
|
|
743
|
+
{
|
|
744
|
+
"text": "from protobuf field: bool is_speaking = 7;",
|
|
745
|
+
"name": "generated"
|
|
746
|
+
}
|
|
747
|
+
],
|
|
748
|
+
"docs": "",
|
|
749
|
+
"complexTypes": [],
|
|
750
|
+
"type": "boolean"
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"name": "isDominantSpeaker",
|
|
754
|
+
"tags": [
|
|
755
|
+
{
|
|
756
|
+
"text": "from protobuf field: bool is_dominant_speaker = 8;",
|
|
757
|
+
"name": "generated"
|
|
758
|
+
}
|
|
759
|
+
],
|
|
760
|
+
"docs": "",
|
|
761
|
+
"complexTypes": [],
|
|
762
|
+
"type": "boolean"
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"name": "audioLevel",
|
|
766
|
+
"tags": [
|
|
767
|
+
{
|
|
768
|
+
"text": "from protobuf field: float audio_level = 9;",
|
|
769
|
+
"name": "generated"
|
|
770
|
+
}
|
|
771
|
+
],
|
|
772
|
+
"docs": "",
|
|
773
|
+
"complexTypes": [],
|
|
774
|
+
"type": "number"
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"name": "name",
|
|
778
|
+
"tags": [
|
|
779
|
+
{
|
|
780
|
+
"text": "from protobuf field: string name = 10;",
|
|
781
|
+
"name": "generated"
|
|
782
|
+
}
|
|
783
|
+
],
|
|
784
|
+
"docs": "",
|
|
785
|
+
"complexTypes": [],
|
|
786
|
+
"type": "string"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"name": "image",
|
|
790
|
+
"tags": [
|
|
791
|
+
{
|
|
792
|
+
"text": "from protobuf field: string image = 11;",
|
|
793
|
+
"name": "generated"
|
|
794
|
+
}
|
|
795
|
+
],
|
|
796
|
+
"docs": "",
|
|
797
|
+
"complexTypes": [],
|
|
798
|
+
"type": "string"
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
"name": "custom",
|
|
802
|
+
"tags": [
|
|
803
|
+
{
|
|
804
|
+
"text": "from protobuf field: google.protobuf.Struct custom = 12;",
|
|
805
|
+
"name": "generated"
|
|
806
|
+
}
|
|
807
|
+
],
|
|
808
|
+
"docs": "",
|
|
809
|
+
"complexTypes": [
|
|
810
|
+
"Struct"
|
|
811
|
+
],
|
|
812
|
+
"type": "Struct"
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"name": "roles",
|
|
816
|
+
"tags": [
|
|
817
|
+
{
|
|
818
|
+
"text": "from protobuf field: repeated string roles = 13;",
|
|
819
|
+
"name": "generated"
|
|
820
|
+
}
|
|
821
|
+
],
|
|
822
|
+
"docs": "",
|
|
823
|
+
"complexTypes": [],
|
|
824
|
+
"type": "string[]"
|
|
825
|
+
}
|
|
826
|
+
]
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
"name": "Timestamp",
|
|
830
|
+
"slug": "timestamp",
|
|
831
|
+
"docs": "A Timestamp represents a point in time independent of any time zone or local\ncalendar, encoded as a count of seconds and fractions of seconds at\nnanosecond resolution. The count is relative to an epoch at UTC midnight on\nJanuary 1, 1970, in the proleptic Gregorian calendar which extends the\nGregorian calendar backwards to year one.\n\nAll minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap\nsecond table is needed for interpretation, using a [24-hour linear\nsmear](https://developers.google.com/time/smear).\n\nThe range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By\nrestricting to that range, we ensure that we can convert to and from [RFC\n3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.\n\n# Examples\n\nExample 1: Compute Timestamp from POSIX `time()`.\n\n Timestamp timestamp;\n timestamp.set_seconds(time(NULL));\n timestamp.set_nanos(0);\n\nExample 2: Compute Timestamp from POSIX `gettimeofday()`.\n\n struct timeval tv;\n gettimeofday(&tv, NULL);\n\n Timestamp timestamp;\n timestamp.set_seconds(tv.tv_sec);\n timestamp.set_nanos(tv.tv_usec * 1000);\n\nExample 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.\n\n FILETIME ft;\n GetSystemTimeAsFileTime(&ft);\n UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;\n\n // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z\n // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.\n Timestamp timestamp;\n timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));\n timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));\n\nExample 4: Compute Timestamp from Java `System.currentTimeMillis()`.\n\n long millis = System.currentTimeMillis();\n\n Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)\n .setNanos((int) ((millis % 1000) * 1000000)).build();\n\n\nExample 5: Compute Timestamp from Java `Instant.now()`.\n\n Instant now = Instant.now();\n\n Timestamp timestamp =\n Timestamp.newBuilder().setSeconds(now.getEpochSecond())\n .setNanos(now.getNano()).build();\n\n\nExample 6: Compute Timestamp from current time in Python.\n\n timestamp = Timestamp()\n timestamp.GetCurrentTime()\n\n# JSON Mapping\n\nIn JSON format, the Timestamp type is encoded as a string in the\n[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the\nformat is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\"\nwhere {year} is always expressed using four digits while {month}, {day},\n{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional\nseconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),\nare optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone\nis required. A proto3 JSON serializer should always use UTC (as indicated by\n\"Z\") when printing the Timestamp type and a proto3 JSON parser should be\nable to accept both UTC and other timezones (as indicated by an offset).\n\nFor example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past\n01:30 UTC on January 15, 2017.\n\nIn JavaScript, one can convert a Date object to this format using the\nstandard\n[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)\nmethod. In Python, a standard `datetime.datetime` object can be converted\nto this format using\n[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with\nthe time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use\nthe Joda Time's [`ISODateTimeFormat.dateTime()`](\nhttp://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D\n) to obtain a formatter capable of generating timestamps in this format.",
|
|
832
|
+
"tags": [
|
|
833
|
+
{
|
|
834
|
+
"text": "from protobuf message google.protobuf.Timestamp",
|
|
835
|
+
"name": "generated"
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
"text": "MessageType for protobuf message google.protobuf.Timestamp",
|
|
839
|
+
"name": "generated"
|
|
840
|
+
}
|
|
841
|
+
],
|
|
842
|
+
"methods": [],
|
|
843
|
+
"properties": [
|
|
844
|
+
{
|
|
845
|
+
"name": "seconds",
|
|
846
|
+
"tags": [
|
|
847
|
+
{
|
|
848
|
+
"text": "from protobuf field: int64 seconds = 1;",
|
|
849
|
+
"name": "generated"
|
|
850
|
+
}
|
|
851
|
+
],
|
|
852
|
+
"docs": "Represents seconds of UTC time since Unix epoch\n1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n9999-12-31T23:59:59Z inclusive.",
|
|
853
|
+
"complexTypes": [],
|
|
854
|
+
"type": "string"
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"name": "nanos",
|
|
858
|
+
"tags": [
|
|
859
|
+
{
|
|
860
|
+
"text": "from protobuf field: int32 nanos = 2;",
|
|
861
|
+
"name": "generated"
|
|
862
|
+
}
|
|
863
|
+
],
|
|
864
|
+
"docs": "Non-negative fractions of a second at nanosecond resolution. Negative\nsecond values with fractions must still have non-negative nanos values\nthat count forward in time. Must be from 0 to 999,999,999\ninclusive.",
|
|
865
|
+
"complexTypes": [],
|
|
866
|
+
"type": "number"
|
|
867
|
+
}
|
|
868
|
+
]
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"name": "Struct",
|
|
872
|
+
"slug": "struct",
|
|
873
|
+
"docs": "`Struct` represents a structured data value, consisting of fields\nwhich map to dynamically typed values. In some languages, `Struct`\nmight be supported by a native representation. For example, in\nscripting languages like JS a struct is represented as an\nobject. The details of that representation are described together\nwith the proto support for the language.\n\nThe JSON representation for `Struct` is JSON object.",
|
|
874
|
+
"tags": [
|
|
875
|
+
{
|
|
876
|
+
"text": "from protobuf message google.protobuf.Struct",
|
|
877
|
+
"name": "generated"
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"text": "MessageType for protobuf message google.protobuf.Struct",
|
|
881
|
+
"name": "generated"
|
|
882
|
+
}
|
|
883
|
+
],
|
|
884
|
+
"methods": [],
|
|
885
|
+
"properties": [
|
|
886
|
+
{
|
|
887
|
+
"name": "fields",
|
|
888
|
+
"tags": [
|
|
889
|
+
{
|
|
890
|
+
"text": "from protobuf field: map<string, google.protobuf.Value> fields = 1;",
|
|
891
|
+
"name": "generated"
|
|
892
|
+
}
|
|
893
|
+
],
|
|
894
|
+
"docs": "Unordered map of dynamically typed values.",
|
|
895
|
+
"complexTypes": [
|
|
896
|
+
"Value"
|
|
897
|
+
],
|
|
898
|
+
"type": "{ [key: string]: Value; }"
|
|
899
|
+
}
|
|
900
|
+
]
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"name": "Value",
|
|
904
|
+
"slug": "value",
|
|
905
|
+
"docs": "`Value` represents a dynamically typed value which can be either\nnull, a number, a string, a boolean, a recursive struct value, or a\nlist of values. A producer of value is expected to set one of these\nvariants. Absence of any variant indicates an error.\n\nThe JSON representation for `Value` is JSON value.",
|
|
906
|
+
"tags": [
|
|
907
|
+
{
|
|
908
|
+
"text": "from protobuf message google.protobuf.Value",
|
|
909
|
+
"name": "generated"
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"text": "MessageType for protobuf message google.protobuf.Value",
|
|
913
|
+
"name": "generated"
|
|
914
|
+
}
|
|
915
|
+
],
|
|
916
|
+
"methods": [],
|
|
917
|
+
"properties": [
|
|
918
|
+
{
|
|
919
|
+
"name": "kind",
|
|
920
|
+
"tags": [
|
|
921
|
+
{
|
|
922
|
+
"text": "from protobuf oneof: kind",
|
|
923
|
+
"name": "generated"
|
|
924
|
+
}
|
|
925
|
+
],
|
|
926
|
+
"docs": "",
|
|
927
|
+
"complexTypes": [
|
|
928
|
+
"NullValue",
|
|
929
|
+
"Struct",
|
|
930
|
+
"ListValue"
|
|
931
|
+
],
|
|
932
|
+
"type": "{ oneofKind: 'nullValue'; nullValue: NullValue; } | { oneofKind: 'numberValue'; numberValue: number; } | { oneofKind: 'stringValue'; stringValue: string; } | { oneofKind: 'boolValue'; boolValue: boolean; } | { oneofKind: 'structValue'; structValue: Struct; } | { oneofKind: 'listValue'; listValue: ListValue; } | { oneofKind: undefined; }"
|
|
933
|
+
}
|
|
934
|
+
]
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"name": "ListValue",
|
|
938
|
+
"slug": "listvalue",
|
|
939
|
+
"docs": "`ListValue` is a wrapper around a repeated field of values.\n\nThe JSON representation for `ListValue` is JSON array.",
|
|
940
|
+
"tags": [
|
|
941
|
+
{
|
|
942
|
+
"text": "from protobuf message google.protobuf.ListValue",
|
|
943
|
+
"name": "generated"
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"text": "MessageType for protobuf message google.protobuf.ListValue",
|
|
947
|
+
"name": "generated"
|
|
948
|
+
}
|
|
949
|
+
],
|
|
950
|
+
"methods": [],
|
|
951
|
+
"properties": [
|
|
952
|
+
{
|
|
953
|
+
"name": "values",
|
|
954
|
+
"tags": [
|
|
955
|
+
{
|
|
956
|
+
"text": "from protobuf field: repeated google.protobuf.Value values = 1;",
|
|
957
|
+
"name": "generated"
|
|
958
|
+
}
|
|
959
|
+
],
|
|
960
|
+
"docs": "Repeated field of dynamically typed values.",
|
|
961
|
+
"complexTypes": [
|
|
962
|
+
"Value"
|
|
963
|
+
],
|
|
964
|
+
"type": "Value[]"
|
|
965
|
+
}
|
|
966
|
+
]
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
"name": "ParticipantCount",
|
|
970
|
+
"slug": "participantcount",
|
|
971
|
+
"docs": "",
|
|
972
|
+
"tags": [
|
|
973
|
+
{
|
|
974
|
+
"text": "from protobuf message stream.video.sfu.models.ParticipantCount",
|
|
975
|
+
"name": "generated"
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"text": "MessageType for protobuf message stream.video.sfu.models.ParticipantCount",
|
|
979
|
+
"name": "generated"
|
|
980
|
+
}
|
|
981
|
+
],
|
|
982
|
+
"methods": [],
|
|
983
|
+
"properties": [
|
|
984
|
+
{
|
|
985
|
+
"name": "total",
|
|
986
|
+
"tags": [
|
|
987
|
+
{
|
|
988
|
+
"text": "from protobuf field: uint32 total = 1;",
|
|
989
|
+
"name": "generated"
|
|
990
|
+
}
|
|
991
|
+
],
|
|
992
|
+
"docs": "Total number of participants in the call including\nthe anonymous participants.",
|
|
993
|
+
"complexTypes": [],
|
|
994
|
+
"type": "number"
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"name": "anonymous",
|
|
998
|
+
"tags": [
|
|
999
|
+
{
|
|
1000
|
+
"text": "from protobuf field: uint32 anonymous = 2;",
|
|
1001
|
+
"name": "generated"
|
|
1002
|
+
}
|
|
1003
|
+
],
|
|
1004
|
+
"docs": "Total number of anonymous participants in the call.",
|
|
1005
|
+
"complexTypes": [],
|
|
1006
|
+
"type": "number"
|
|
1007
|
+
}
|
|
1008
|
+
]
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"name": "Pin",
|
|
1012
|
+
"slug": "pin",
|
|
1013
|
+
"docs": "",
|
|
1014
|
+
"tags": [
|
|
1015
|
+
{
|
|
1016
|
+
"text": "from protobuf message stream.video.sfu.models.Pin",
|
|
1017
|
+
"name": "generated"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"text": "MessageType for protobuf message stream.video.sfu.models.Pin",
|
|
1021
|
+
"name": "generated"
|
|
1022
|
+
}
|
|
1023
|
+
],
|
|
1024
|
+
"methods": [],
|
|
1025
|
+
"properties": [
|
|
1026
|
+
{
|
|
1027
|
+
"name": "userId",
|
|
1028
|
+
"tags": [
|
|
1029
|
+
{
|
|
1030
|
+
"text": "from protobuf field: string user_id = 1;",
|
|
1031
|
+
"name": "generated"
|
|
1032
|
+
}
|
|
1033
|
+
],
|
|
1034
|
+
"docs": "the user to pin",
|
|
1035
|
+
"complexTypes": [],
|
|
1036
|
+
"type": "string"
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
"name": "sessionId",
|
|
1040
|
+
"tags": [
|
|
1041
|
+
{
|
|
1042
|
+
"text": "from protobuf field: string session_id = 2;",
|
|
1043
|
+
"name": "generated"
|
|
1044
|
+
}
|
|
1045
|
+
],
|
|
1046
|
+
"docs": "the user sesion_id to pin, if not provided, applies to all sessions",
|
|
1047
|
+
"complexTypes": [],
|
|
1048
|
+
"type": "string"
|
|
1049
|
+
}
|
|
1050
|
+
]
|
|
1051
|
+
},
|
|
519
1052
|
{
|
|
520
1053
|
"name": "CameraEnabledResponse",
|
|
521
1054
|
"slug": "cameraenabledresponse",
|
|
@@ -533,7 +1066,223 @@
|
|
|
533
1066
|
]
|
|
534
1067
|
}
|
|
535
1068
|
],
|
|
536
|
-
"enums": [
|
|
537
|
-
|
|
1069
|
+
"enums": [
|
|
1070
|
+
{
|
|
1071
|
+
"name": "TrackType",
|
|
1072
|
+
"slug": "tracktype",
|
|
1073
|
+
"members": [
|
|
1074
|
+
{
|
|
1075
|
+
"name": "UNSPECIFIED",
|
|
1076
|
+
"value": "0",
|
|
1077
|
+
"tags": [
|
|
1078
|
+
{
|
|
1079
|
+
"text": "from protobuf enum value: TRACK_TYPE_UNSPECIFIED = 0;",
|
|
1080
|
+
"name": "generated"
|
|
1081
|
+
}
|
|
1082
|
+
],
|
|
1083
|
+
"docs": ""
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
"name": "AUDIO",
|
|
1087
|
+
"value": "1",
|
|
1088
|
+
"tags": [
|
|
1089
|
+
{
|
|
1090
|
+
"text": "from protobuf enum value: TRACK_TYPE_AUDIO = 1;",
|
|
1091
|
+
"name": "generated"
|
|
1092
|
+
}
|
|
1093
|
+
],
|
|
1094
|
+
"docs": ""
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"name": "VIDEO",
|
|
1098
|
+
"value": "2",
|
|
1099
|
+
"tags": [
|
|
1100
|
+
{
|
|
1101
|
+
"text": "from protobuf enum value: TRACK_TYPE_VIDEO = 2;",
|
|
1102
|
+
"name": "generated"
|
|
1103
|
+
}
|
|
1104
|
+
],
|
|
1105
|
+
"docs": ""
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"name": "SCREEN_SHARE",
|
|
1109
|
+
"value": "3",
|
|
1110
|
+
"tags": [
|
|
1111
|
+
{
|
|
1112
|
+
"text": "from protobuf enum value: TRACK_TYPE_SCREEN_SHARE = 3;",
|
|
1113
|
+
"name": "generated"
|
|
1114
|
+
}
|
|
1115
|
+
],
|
|
1116
|
+
"docs": ""
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
"name": "SCREEN_SHARE_AUDIO",
|
|
1120
|
+
"value": "4",
|
|
1121
|
+
"tags": [
|
|
1122
|
+
{
|
|
1123
|
+
"text": "from protobuf enum value: TRACK_TYPE_SCREEN_SHARE_AUDIO = 4;",
|
|
1124
|
+
"name": "generated"
|
|
1125
|
+
}
|
|
1126
|
+
],
|
|
1127
|
+
"docs": ""
|
|
1128
|
+
}
|
|
1129
|
+
]
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
"name": "ConnectionQuality",
|
|
1133
|
+
"slug": "connectionquality",
|
|
1134
|
+
"members": [
|
|
1135
|
+
{
|
|
1136
|
+
"name": "UNSPECIFIED",
|
|
1137
|
+
"value": "0",
|
|
1138
|
+
"tags": [
|
|
1139
|
+
{
|
|
1140
|
+
"text": "from protobuf enum value: CONNECTION_QUALITY_UNSPECIFIED = 0;",
|
|
1141
|
+
"name": "generated"
|
|
1142
|
+
}
|
|
1143
|
+
],
|
|
1144
|
+
"docs": ""
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"name": "POOR",
|
|
1148
|
+
"value": "1",
|
|
1149
|
+
"tags": [
|
|
1150
|
+
{
|
|
1151
|
+
"text": "from protobuf enum value: CONNECTION_QUALITY_POOR = 1;",
|
|
1152
|
+
"name": "generated"
|
|
1153
|
+
}
|
|
1154
|
+
],
|
|
1155
|
+
"docs": ""
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"name": "GOOD",
|
|
1159
|
+
"value": "2",
|
|
1160
|
+
"tags": [
|
|
1161
|
+
{
|
|
1162
|
+
"text": "from protobuf enum value: CONNECTION_QUALITY_GOOD = 2;",
|
|
1163
|
+
"name": "generated"
|
|
1164
|
+
}
|
|
1165
|
+
],
|
|
1166
|
+
"docs": ""
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
"name": "EXCELLENT",
|
|
1170
|
+
"value": "3",
|
|
1171
|
+
"tags": [
|
|
1172
|
+
{
|
|
1173
|
+
"text": "from protobuf enum value: CONNECTION_QUALITY_EXCELLENT = 3;",
|
|
1174
|
+
"name": "generated"
|
|
1175
|
+
}
|
|
1176
|
+
],
|
|
1177
|
+
"docs": ""
|
|
1178
|
+
}
|
|
1179
|
+
]
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
"name": "NullValue",
|
|
1183
|
+
"slug": "nullvalue",
|
|
1184
|
+
"members": [
|
|
1185
|
+
{
|
|
1186
|
+
"name": "NULL_VALUE",
|
|
1187
|
+
"value": "0",
|
|
1188
|
+
"tags": [
|
|
1189
|
+
{
|
|
1190
|
+
"text": "from protobuf enum value: NULL_VALUE = 0;",
|
|
1191
|
+
"name": "generated"
|
|
1192
|
+
}
|
|
1193
|
+
],
|
|
1194
|
+
"docs": "Null value."
|
|
1195
|
+
}
|
|
1196
|
+
]
|
|
1197
|
+
}
|
|
1198
|
+
],
|
|
1199
|
+
"typeAliases": [
|
|
1200
|
+
{
|
|
1201
|
+
"name": "CallType",
|
|
1202
|
+
"slug": "calltype",
|
|
1203
|
+
"docs": "",
|
|
1204
|
+
"types": [
|
|
1205
|
+
{
|
|
1206
|
+
"text": "'default'",
|
|
1207
|
+
"complexTypes": []
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
"text": "'audio_room'",
|
|
1211
|
+
"complexTypes": []
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"text": "'livestream'",
|
|
1215
|
+
"complexTypes": []
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
"text": "'development'",
|
|
1219
|
+
"complexTypes": []
|
|
1220
|
+
}
|
|
1221
|
+
]
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
"name": "CallState",
|
|
1225
|
+
"slug": "callstate",
|
|
1226
|
+
"docs": "",
|
|
1227
|
+
"types": [
|
|
1228
|
+
{
|
|
1229
|
+
"text": "'idle'",
|
|
1230
|
+
"complexTypes": []
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
"text": "'ringing'",
|
|
1234
|
+
"complexTypes": []
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
"text": "'joining'",
|
|
1238
|
+
"complexTypes": []
|
|
1239
|
+
},
|
|
1240
|
+
{
|
|
1241
|
+
"text": "'reconnecting'",
|
|
1242
|
+
"complexTypes": []
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
"text": "'joined'",
|
|
1246
|
+
"complexTypes": []
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
"text": "'leaving'",
|
|
1250
|
+
"complexTypes": []
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
"text": "'left'",
|
|
1254
|
+
"complexTypes": []
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
"text": "'created'",
|
|
1258
|
+
"complexTypes": []
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
"text": "'session_started'",
|
|
1262
|
+
"complexTypes": []
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"text": "'rejected'",
|
|
1266
|
+
"complexTypes": []
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
"text": "'missed'",
|
|
1270
|
+
"complexTypes": []
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"text": "'accepted'",
|
|
1274
|
+
"complexTypes": []
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"text": "'ended'",
|
|
1278
|
+
"complexTypes": []
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"text": "'unknown'",
|
|
1282
|
+
"complexTypes": []
|
|
1283
|
+
}
|
|
1284
|
+
]
|
|
1285
|
+
}
|
|
1286
|
+
],
|
|
538
1287
|
"pluginConfigs": []
|
|
539
1288
|
}
|