forked from mattermost/mattermost-plugin-calls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.json
688 lines (688 loc) · 26.3 KB
/
plugin.json
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
{
"id": "com.mattermost.calls",
"name": "Calls",
"description": "Integrates real-time voice communication in Mattermost",
"homepage_url": "https://github.com/mattermost/mattermost-plugin-calls/",
"support_url": "https://github.com/mattermost/mattermost-plugin-calls/issues",
"icon_path": "assets/plugin_icon.svg",
"min_server_version": "10.0.0",
"server": {
"executables": {
"linux-amd64": "server/dist/plugin-linux-amd64",
"linux-arm64": "server/dist/plugin-linux-arm64",
"freebsd-amd64": "server/dist/plugin-freebsd-amd64",
"openbsd-amd64": "server/dist/plugin-openbsd-amd64"
}
},
"webapp": {
"bundle_path": "webapp/dist/main.js"
},
"settings_schema": {
"header": "Calls plugin enables voice calls with screensharing in channels. See [documentation](https://mattermost.com/pl/calls-make?utm_source=mattermost&utm_medium=in-product&utm_content=calls_admin_settings) to learn more.",
"footer": "",
"sections": [
{
"key": "GeneralSettings",
"custom": true,
"settings": [
{
"key": "DefaultEnabled",
"display_name": "Test mode",
"type": "custom",
"help_text": "When test mode is enabled, only system admins are able to start calls in channels. This allows testing to confirm calls are working as expected.",
"hosting": "on-prem"
},
{
"key": "MaxCallParticipants",
"display_name": "Max call participants",
"type": "number",
"help_text": "The maximum number of participants that can join a call. If left empty, or set to 0, an unlimited number of participants can join.",
"default": 0,
"hosting": "on-prem"
},
{
"key": "AllowScreenSharing",
"display_name": "Allow screen sharing",
"type": "bool",
"default": true,
"help_text": "When set to true, call participants can share their screen."
},
{
"key": "EnableSimulcast",
"display_name": "Enable simulcast for screen sharing (Experimental)",
"type": "bool",
"default": false,
"help_text": "When set to true, simulcast for screen sharing is enabled. This can help to improve screen sharing quality."
},
{
"key": "EnableRinging",
"display_name": "Enable call ringing",
"type": "bool",
"default": false,
"help_text": "When set to true, ringing functionality is enabled: participants in direct or group messages will receive a desktop alert and a ringing notification when a call is started. Changing this setting requires a plugin restart."
},
{
"key": "EnableAV1",
"display_name": "Enable AV1 codec for screen sharing (Experimental)",
"type": "bool",
"default": false,
"help_text": "When set to true it enables using the AV1 codec to encode screen sharing tracks. This can result in improved screen sharing quality for clients that support it.\nNote: this setting won't apply when EnableSimulcast is true."
}
]
},
{
"key": "RTCDService",
"custom": true,
"settings": [
{
"key": "RTCDServiceURL",
"display_name": "RTCD service URL",
"type": "text",
"help_text": "(Optional) The URL to a running RTCD service instance that should host the calls. When set (non empty) all calls will be handled by the external service.",
"placeholder": "https://rtcd.example.com",
"hosting": "on-prem"
}
]
},
{
"key": "RTCServer",
"custom": true,
"settings": [
{
"key": "UDPServerAddress",
"display_name": "RTC Server Address (UDP)",
"type": "text",
"help_text": "The local IP address used by the RTC server to listen on for UDP connections.",
"default": "",
"placeholder": "127.0.0.1",
"hosting": "on-prem"
},
{
"key": "TCPServerAddress",
"display_name": "RTC Server Address (TCP)",
"type": "text",
"help_text": "The local IP address used by the RTC server to listen on for TCP connections.",
"default": "",
"placeholder": "127.0.0.1",
"hosting": "on-prem"
},
{
"key": "UDPServerPort",
"display_name": "RTC Server Port (UDP)",
"type": "number",
"help_text": "The UDP port the RTC server will listen on.",
"default": 8443,
"placeholder": "8443",
"hosting": "on-prem"
},
{
"key": "TCPServerPort",
"display_name": "RTC Server Port (TCP)",
"type": "number",
"help_text": "The TCP port the RTC server will listen on.",
"default": 8443,
"placeholder": "8443",
"hosting": "on-prem"
},
{
"key": "EnableIPv6",
"display_name": "(Experimental) Enable IPv6 support",
"type": "bool",
"help_text": "When set to true, the RTC service will work in dual-stack mode, listening for IPv6 connections and generating candidates in addition to IPv4 ones.",
"default": false,
"hosting": "on-prem"
}
]
},
{
"key": "ICEAndTURN",
"custom": true,
"settings": [
{
"key": "ICEHostOverride",
"display_name": "ICE Host Override",
"type": "text",
"help_text": "(Optional) The IP (or hostname) to be used as the host ICE candidate. If empty, it defaults to resolving via STUN.",
"default": "",
"hosting": "on-prem"
},
{
"key": "ICEHostPortOverride",
"display_name": "ICE Host Port Override",
"type": "number",
"help_text": "(Optional) A port number to be used as an override for host candidates in place of the one used to listen on.\nNote: this port will apply to both UDP and TCP host candidates",
"hosting": "on-prem"
},
{
"key": "ICEServersConfigs",
"display_name": "ICE Servers Configurations",
"type": "longtext",
"help_text": "(Optional) A list of ICE servers (STUN/TURN) configurations to use. This field should contain a valid JSON array.",
"default": "[{\"urls\":[\"stun:stun.global.calls.mattermost.com:3478\"]}]",
"placeholder": "[{\n \"urls\":[\"turn:turnserver.example.org:3478\"],\n \"username\": \"webrtc\",\n \"credential\": \"turnpassword\"\n}]",
"hosting": "on-prem"
},
{
"key": "TURNStaticAuthSecret",
"display_name": "TURN Static Auth Secret",
"type": "text",
"default": "",
"help_text": "(Optional) The secret key used to generate TURN short-lived authentication credentials.",
"hosting": "on-prem"
},
{
"key": "TURNCredentialsExpirationMinutes",
"display_name": "TURN Credentials Expiration (minutes)",
"type": "number",
"default": 1440,
"help_text": "(Optional) The number of minutes that the generated TURN credentials will be valid for.",
"hosting": "on-prem"
},
{
"key": "ServerSideTURN",
"display_name": "Server Side TURN",
"type": "bool",
"default": false,
"help_text": "(Optional) When enabled, it will pass and use the configured TURN candidates to server initiated connections.",
"hosting": "on-prem"
}
]
},
{
"key": "CallRecordings",
"custom": true,
"settings": [
{
"key": "EnableRecordings",
"display_name": "Enable call recordings",
"type": "bool",
"default": false,
"help_text": "(Optional) When set to true, call recordings are enabled."
},
{
"key": "JobServiceURL",
"display_name": "Job service URL",
"type": "text",
"help_text": "The URL to a running calls job service instance used for call recordings.",
"placeholder": "https://calls-job-service.example.com"
},
{
"key": "MaxRecordingDuration",
"display_name": "Maximum call recording duration",
"type": "number",
"default": 60,
"help_text": "The maximum duration (in minutes) for call recordings. Value must be in the range [15, 180]."
},
{
"key": "RecordingQuality",
"display_name": "Call recording quality",
"type": "dropdown",
"default": "medium",
"help_text": "The audio and video quality of call recordings.\n Note: this setting can affect the overall performance of the job service and the number of concurrent recording jobs that can be run.",
"options": [
{
"display_name": "Low",
"value": "low"
},
{
"display_name": "Medium",
"value": "medium"
},
{
"display_name": "High",
"value": "high"
}
],
"hosting": "on-prem"
}
]
},
{
"key": "CallTranscriptions",
"custom": true,
"settings": [
{
"key": "EnableTranscriptions",
"display_name": "Enable call transcriptions (Beta)",
"type": "bool",
"default": false,
"help_text": "(Optional) When set to true, post-call transcriptions are enabled."
},
{
"key": "TranscribeAPI",
"display_name": "Call transcriber API",
"type": "dropdown",
"default": "whisper.cpp",
"help_text": "The speech-to-text API to use for post-call transcriptions.",
"options": [
{
"display_name": "Whisper.CPP",
"value": "whisper.cpp"
},
{
"display_name": "Azure AI",
"value": "azure"
}
],
"hosting": "on-prem"
},
{
"key": "TranscriberModelSize",
"display_name": "Call transcriber model size",
"type": "dropdown",
"default": "base",
"help_text": "The speech-to-text model size to use for post-call transcriptions. Heavier models will produce more accurate results at the expense of processing time and resources usage.",
"options": [
{
"display_name": "Tiny",
"value": "tiny"
},
{
"display_name": "Base",
"value": "base"
},
{
"display_name": "Small",
"value": "small"
}
],
"hosting": "on-prem"
},
{
"key": "TranscriberNumThreads",
"display_name": "Call transcriber threads",
"type": "number",
"default": 2,
"help_text": "The number of threads used by the post-call transcriber. This must be in the range [1, numCPUs]."
},
{
"key": "TranscribeAPIAzureSpeechKey",
"display_name": "Azure API Key",
"type": "text",
"help_text": "The API key for Azure Speech Services",
"default": "",
"hosting": "on-prem"
},
{
"key": "TranscribeAPIAzureSpeechRegion",
"display_name": "Azure API Region",
"type": "text",
"help_text": "The API region for Azure Speech Services",
"default": "",
"hosting": "on-prem"
}
]
},
{
"key": "CallLiveCaptions",
"custom": true,
"settings": [
{
"key": "EnableLiveCaptions",
"display_name": "Enable live captions (Beta)",
"type": "bool",
"default": false,
"help_text": "(Optional) When set to true, live captions are enabled."
},
{
"key": "LiveCaptionsModelSize",
"display_name": "Live captions: Model size",
"type": "dropdown",
"default": "tiny",
"help_text": "The speech-to-text model size to use for live captions. Heavier models will produce more accurate results at the expense of processing time and resources usage.",
"options": [
{
"display_name": "Tiny",
"value": "tiny"
},
{
"display_name": "Base",
"value": "base"
},
{
"display_name": "Small",
"value": "small"
}
],
"hosting": "on-prem"
},
{
"key": "LiveCaptionsNumTranscribers",
"display_name": "Live captions: Number of transcribers used per call",
"type": "number",
"default": 1,
"help_text": "The number of separate live-captions transcribers for each call. Each transcribes one audio stream at a time. The product of LiveCaptionsNumTranscribers * LiveCaptionsNumThreadsPerTranscriber must be in the range [1, numCPUs]."
},
{
"key": "LiveCaptionsNumThreadsPerTranscriber",
"display_name": "Live captions: Number of threads per transcriber",
"type": "number",
"default": 2,
"help_text": "The number of threads per live-captions transcriber. The product of LiveCaptionsNumTranscribers * LiveCaptionsNumThreadsPerTranscriber must be in the range [1, numCPUs]."
},
{
"key": "LiveCaptionsLanguage",
"display_name": "Live captions language",
"type": "text",
"default": "en",
"help_text": "The language passed to the live captions transcriber. Should be a 2-letter ISO 639 Set 1 language code, e.g. 'en'. If blank, will be set to English 'en' as default."
}
]
}
],
"settings": [
{
"key": "DefaultEnabled",
"display_name": "Test mode",
"type": "custom",
"help_text": "When test mode is enabled, only system admins are able to start calls in channels. This allows testing to confirm calls are working as expected.",
"hosting": "on-prem"
},
{
"key": "UDPServerAddress",
"display_name": "RTC Server Address (UDP)",
"type": "text",
"help_text": "The local IP address used by the RTC server to listen on for UDP connections.",
"default": "",
"placeholder": "127.0.0.1",
"hosting": "on-prem"
},
{
"key": "TCPServerAddress",
"display_name": "RTC Server Address (TCP)",
"type": "text",
"help_text": "The local IP address used by the RTC server to listen on for TCP connections.",
"default": "",
"placeholder": "127.0.0.1",
"hosting": "on-prem"
},
{
"key": "UDPServerPort",
"display_name": "RTC Server Port (UDP)",
"type": "number",
"help_text": "The UDP port the RTC server will listen on.",
"default": 8443,
"placeholder": "8443",
"hosting": "on-prem"
},
{
"key": "TCPServerPort",
"display_name": "RTC Server Port (TCP)",
"type": "number",
"help_text": "The TCP port the RTC server will listen on.",
"default": 8443,
"placeholder": "8443",
"hosting": "on-prem"
},
{
"key": "ICEHostOverride",
"display_name": "ICE Host Override",
"type": "text",
"help_text": "(Optional) The IP (or hostname) to be used as the host ICE candidate. If empty, it defaults to resolving via STUN.",
"default": "",
"hosting": "on-prem"
},
{
"key": "ICEHostPortOverride",
"display_name": "ICE Host Port Override",
"type": "number",
"help_text": "(Optional) A port number to be used as an override for host candidates in place of the one used to listen on.\nNote: this port will apply to both UDP and TCP host candidates",
"hosting": "on-prem"
},
{
"key": "RTCDServiceURL",
"display_name": "RTCD service URL",
"type": "text",
"help_text": "(Optional) The URL to a running RTCD service instance that should host the calls. When set (non empty) all calls will be handled by the external service.",
"placeholder": "https://rtcd.example.com",
"hosting": "on-prem"
},
{
"key": "MaxCallParticipants",
"display_name": "Max call participants",
"type": "number",
"help_text": "The maximum number of participants that can join a call. If left empty, or set to 0, an unlimited number of participants can join.",
"default": 0,
"hosting": "on-prem"
},
{
"key": "ICEServersConfigs",
"display_name": "ICE Servers Configurations",
"type": "longtext",
"help_text": "(Optional) A list of ICE servers (STUN/TURN) configurations to use. This field should contain a valid JSON array.",
"default": "[{\"urls\":[\"stun:stun.global.calls.mattermost.com:3478\"]}]",
"placeholder": "[{\n \"urls\":[\"turn:turnserver.example.org:3478\"],\n \"username\": \"webrtc\",\n \"credential\": \"turnpassword\"\n}]",
"hosting": "on-prem"
},
{
"key": "TURNStaticAuthSecret",
"display_name": "TURN Static Auth Secret",
"type": "text",
"default": "",
"help_text": "(Optional) The secret key used to generate TURN short-lived authentication credentials.",
"hosting": "on-prem"
},
{
"key": "TURNCredentialsExpirationMinutes",
"display_name": "TURN Credentials Expiration (minutes)",
"type": "number",
"default": 1440,
"help_text": "(Optional) The number of minutes that the generated TURN credentials will be valid for.",
"hosting": "on-prem"
},
{
"key": "ServerSideTURN",
"display_name": "Server Side TURN",
"type": "bool",
"default": false,
"help_text": "(Optional) When enabled, it will pass and use the configured TURN candidates to server initiated connections.",
"hosting": "on-prem"
},
{
"key": "AllowScreenSharing",
"display_name": "Allow screen sharing",
"type": "bool",
"default": true,
"help_text": "When set to true, call participants can share their screen."
},
{
"key": "EnableSimulcast",
"display_name": "Enable simulcast for screen sharing (Experimental)",
"type": "bool",
"default": false,
"help_text": "When set to true, simulcast for screen sharing is enabled. This can help to improve screen sharing quality."
},
{
"key": "EnableRecordings",
"display_name": "Enable call recordings",
"type": "bool",
"default": false,
"help_text": "(Optional) When set to true, call recordings are enabled."
},
{
"key": "JobServiceURL",
"display_name": "Job service URL",
"type": "text",
"help_text": "The URL to a running calls job service instance used for call recordings.",
"placeholder": "https://calls-job-service.example.com"
},
{
"key": "MaxRecordingDuration",
"display_name": "Maximum call recording duration",
"type": "number",
"default": 60,
"help_text": "The maximum duration (in minutes) for call recordings. Value must be in the range [15, 180]."
},
{
"key": "RecordingQuality",
"display_name": "Call recording quality",
"type": "dropdown",
"default": "medium",
"help_text": "The audio and video quality of call recordings.\n Note: this setting can affect the overall performance of the job service and the number of concurrent recording jobs that can be run.",
"options": [
{
"display_name": "Low",
"value": "low"
},
{
"display_name": "Medium",
"value": "medium"
},
{
"display_name": "High",
"value": "high"
}
],
"hosting": "on-prem"
},
{
"key": "EnableTranscriptions",
"display_name": "Enable call transcriptions (Experimental)",
"type": "bool",
"default": false,
"help_text": "(Optional) When set to true, post-call transcriptions are enabled."
},
{
"key": "TranscribeAPI",
"display_name": "Call transcriber API",
"type": "dropdown",
"default": "whisper.cpp",
"help_text": "The speech-to-text API to use for post-call transcriptions.",
"options": [
{
"display_name": "Whisper.CPP",
"value": "whisper.cpp"
},
{
"display_name": "Azure AI",
"value": "azure"
}
],
"hosting": "on-prem"
},
{
"key": "TranscriberModelSize",
"display_name": "Call transcriber model size",
"type": "dropdown",
"default": "base",
"help_text": "The speech-to-text model size to use for post-call transcriptions. Heavier models will produce more accurate results at the expense of processing time and resources usage.",
"options": [
{
"display_name": "Tiny",
"value": "tiny"
},
{
"display_name": "Base",
"value": "base"
},
{
"display_name": "Small",
"value": "small"
}
],
"hosting": "on-prem"
},
{
"key": "TranscribeAPIAzureSpeechKey",
"display_name": "Azure Speech Services API Key",
"type": "text",
"help_text": "The API key for Azure Speech Services",
"default": "",
"hosting": "on-prem"
},
{
"key": "TranscribeAPIAzureSpeechRegion",
"display_name": "Azure Speech Services API Region",
"type": "text",
"help_text": "The API region for Azure Speech Services",
"default": "",
"hosting": "on-prem"
},
{
"key": "TranscriberNumThreads",
"display_name": "Call transcriber threads",
"type": "number",
"default": 2,
"help_text": "The number of threads used by the post-call transcriber. This must be in the range [1, numCPUs]."
},
{
"key": "EnableLiveCaptions",
"display_name": "Enable live captions (Experimental)",
"type": "bool",
"default": false,
"help_text": "(Optional) When set to true, live captions are enabled."
},
{
"key": "LiveCaptionsModelSize",
"display_name": "Live captions: Model size",
"type": "dropdown",
"default": "tiny",
"help_text": "The speech-to-text model size to use for live captions. Heavier models will produce more accurate results at the expense of processing time and resources usage.",
"options": [
{
"display_name": "Tiny",
"value": "tiny"
},
{
"display_name": "Base",
"value": "base"
},
{
"display_name": "Small",
"value": "small"
}
],
"hosting": "on-prem"
},
{
"key": "LiveCaptionsNumTranscribers",
"display_name": "Live captions: Number of transcribers used per call",
"type": "number",
"default": 1,
"help_text": "The number of separate live-captions transcribers for each call. Each transcribes one audio stream at a time. The product of LiveCaptionsNumTranscribers * LiveCaptionsNumThreadsPerTranscriber must be in the range [1, numCPUs]."
},
{
"key": "LiveCaptionsNumThreadsPerTranscriber",
"display_name": "Live captions: Number of threads per transcriber",
"type": "number",
"default": 2,
"help_text": "The number of threads per live-captions transcriber. The product of LiveCaptionsNumTranscribers * LiveCaptionsNumThreadsPerTranscriber must be in the range [1, numCPUs]."
},
{
"key": "LiveCaptionsLanguage",
"display_name": "Live captions language",
"type": "text",
"default": "en",
"help_text": "The language passed to the live captions transcriber. Should be a 2-letter ISO 639 Set 1 language code, e.g. 'en'. If blank, will be set to English 'en' as default."
},
{
"key": "EnableIPv6",
"display_name": "Enable IPv6 support (Experimental)",
"type": "bool",
"help_text": "When set to true, the RTC service will work in dual-stack mode, listening for IPv6 connections and generating candidates in addition to IPv4 ones.",
"default": false,
"hosting": "on-prem"
},
{
"key": "EnableRinging",
"display_name": "Enable call ringing",
"type": "bool",
"default": false,
"help_text": "When set to true, ringing functionality is enabled: participants in direct or group messages will receive a desktop alert and a ringing notification when a call is started. Changing this setting requires a plugin restart."
},
{
"key": "EnableAV1",
"display_name": "Enable AV1 codec for screen sharing (Experimental)",
"type": "bool",
"default": false,
"help_text": "When set to true it enables using the AV1 codec to encode screen sharing tracks. This can result in improved screen sharing quality for clients that support it.\nNote: this setting won't apply when EnableSimulcast is true."
}
]
},
"props": {
"min_rtcd_version": "v0.17.0",
"min_offloader_version": "v0.8.0",
"calls_recorder_version": "v0.7.5",
"calls_transcriber_version": "v0.4.0"
}
}