Procházet zdrojové kódy

auto acp scripted

dev
jfinn před 5 roky
rodič
revize
f1a4d4104a
1 změnil soubory, kde provedl 541 přidání a 0 odebrání
  1. 541
    0
      fqdn_conf_i0.js

+ 541
- 0
fqdn_conf_i0.js Zobrazit soubor

@@ -0,0 +1,541 @@
1
+/* eslint-disable no-unused-vars, no-var */
2
+
3
+
4
+subdomain_test = `<!--# echo var="subdomain" default="" -->`
5
+
6
+var config = {
7
+    // Connection
8
+    //
9
+
10
+    hosts: {
11
+        // XMPP domain.
12
+        domain: 'jinnace.com',
13
+
14
+        // When using authentication, domain for guest users.
15
+        // anonymousdomain: 'guest.example.com',
16
+
17
+        // Domain for authenticated users. Defaults to <domain>.
18
+        // authdomain: 'jinnace.com',
19
+
20
+        // Jirecon recording component domain.
21
+        // jirecon: 'jirecon.jinnace.com',
22
+
23
+        // Call control component (Jigasi).
24
+        // call_control: 'callcontrol.jinnace.com',
25
+
26
+        // Focus component domain. Defaults to focus.<domain>.
27
+        // focus: 'focus.jinnace.com',
28
+
29
+        // XMPP MUC domain. FIXME: use XEP-0030 to discover it.
30
+        muc: 'conference.<!--# echo var="subdomain" default="" -->jinnace.com'
31
+    },
32
+
33
+    // BOSH URL. FIXME: use XEP-0156 to discover it.
34
+    bosh: '//jinnace.com/http-bind',
35
+
36
+    // Websocket URL
37
+    // websocket: 'wss://jinnace.com/xmpp-websocket',
38
+
39
+    // The name of client node advertised in XEP-0115 'c' stanza
40
+    clientNode: 'http://jitsi.org/jitsimeet',
41
+
42
+    // The real JID of focus participant - can be overridden here
43
+    // focusUserJid: 'focus@auth.jinnace.com',
44
+
45
+
46
+    // Testing / experimental features.
47
+    //
48
+
49
+    testing: {
50
+        // P2P test mode disables automatic switching to P2P when there are 2
51
+        // participants in the conference.
52
+        p2pTestMode: false
53
+
54
+        // Enables the test specific features consumed by jitsi-meet-torture
55
+        // testMode: false
56
+
57
+        // Disables the auto-play behavior of *all* newly created video element.
58
+        // This is useful when the client runs on a host with limited resources.
59
+        // noAutoPlayVideo: false
60
+    },
61
+
62
+    // Disables ICE/UDP by filtering out local and remote UDP candidates in
63
+    // signalling.
64
+    // webrtcIceUdpDisable: false,
65
+
66
+    // Disables ICE/TCP by filtering out local and remote TCP candidates in
67
+    // signalling.
68
+    // webrtcIceTcpDisable: false,
69
+
70
+
71
+    // Media
72
+    //
73
+
74
+    // Audio
75
+
76
+    // Disable measuring of audio levels.
77
+    // disableAudioLevels: false,
78
+    // audioLevelsInterval: 200,
79
+
80
+    // Enabling this will run the lib-jitsi-meet no audio detection module which
81
+    // will notify the user if the current selected microphone has no audio
82
+    // input and will suggest another valid device if one is present.
83
+    enableNoAudioDetection: true,
84
+
85
+    // Enabling this will run the lib-jitsi-meet noise detection module which will
86
+    // notify the user if there is noise, other than voice, coming from the current
87
+    // selected microphone. The purpose it to let the user know that the input could
88
+    // be potentially unpleasant for other meeting participants.
89
+    enableNoisyMicDetection: true,
90
+
91
+    // Start the conference in audio only mode (no video is being received nor
92
+    // sent).
93
+    // startAudioOnly: false,
94
+
95
+    // Every participant after the Nth will start audio muted.
96
+    // startAudioMuted: 10,
97
+
98
+    // Start calls with audio muted. Unlike the option above, this one is only
99
+    // applied locally. FIXME: having these 2 options is confusing.
100
+    // startWithAudioMuted: false,
101
+    startWithAudioMuted: true,
102
+
103
+    // Enabling it (with #params) will disable local audio output of remote
104
+    // participants and to enable it back a reload is needed.
105
+    // startSilent: false
106
+
107
+    // Video
108
+
109
+    // Sets the preferred resolution (height) for local video. Defaults to 720.
110
+    // resolution: 720,
111
+
112
+    // w3c spec-compliant video constraints to use for video capture. Currently
113
+    // used by browsers that return true from lib-jitsi-meet's
114
+    // util#browser#usesNewGumFlow. The constraints are independent from
115
+    // this config's resolution value. Defaults to requesting an ideal
116
+    // resolution of 720p.
117
+    // constraints: {
118
+    //     video: {
119
+    //         height: {
120
+    //             ideal: 720,
121
+    //             max: 720,
122
+    //             min: 240
123
+    //         }
124
+    //     }
125
+    // },
126
+
127
+    // Enable / disable simulcast support.
128
+    // disableSimulcast: false,
129
+
130
+    // Enable / disable layer suspension.  If enabled, endpoints whose HD
131
+    // layers are not in use will be suspended (no longer sent) until they
132
+    // are requested again.
133
+    // enableLayerSuspension: false,
134
+
135
+    // Every participant after the Nth will start video muted.
136
+    // startVideoMuted: 10,
137
+
138
+    // Start calls with video muted. Unlike the option above, this one is only
139
+    // applied locally. FIXME: having these 2 options is confusing.
140
+    // startWithVideoMuted: false,
141
+    startWithVideoMuted: true,
142
+
143
+    // If set to true, prefer to use the H.264 video codec (if supported).
144
+    // Note that it's not recommended to do this because simulcast is not
145
+    // supported when  using H.264. For 1-to-1 calls this setting is enabled by
146
+    // default and can be toggled in the p2p section.
147
+    // preferH264: true,
148
+
149
+    // If set to true, disable H.264 video codec by stripping it out of the
150
+    // SDP.
151
+    // disableH264: false,
152
+
153
+    // Desktop sharing
154
+
155
+    // The ID of the jidesha extension for Chrome.
156
+    desktopSharingChromeExtId: null,
157
+
158
+    // Whether desktop sharing should be disabled on Chrome.
159
+    // desktopSharingChromeDisabled: false,
160
+
161
+    // The media sources to use when using screen sharing with the Chrome
162
+    // extension.
163
+    desktopSharingChromeSources: [ 'screen', 'window', 'tab' ],
164
+
165
+    // Required version of Chrome extension
166
+    desktopSharingChromeMinExtVersion: '0.1',
167
+
168
+    // Whether desktop sharing should be disabled on Firefox.
169
+    // desktopSharingFirefoxDisabled: false,
170
+
171
+    // Optional desktop sharing frame rate options. Default value: min:5, max:5.
172
+    // desktopSharingFrameRate: {
173
+    //     min: 5,
174
+    //     max: 5
175
+    // },
176
+
177
+    // Try to start calls with screen-sharing instead of camera video.
178
+    // startScreenSharing: false,
179
+
180
+    // Recording
181
+
182
+    // Whether to enable file recording or not.
183
+    // fileRecordingsEnabled: false,
184
+    // Enable the dropbox integration.
185
+    // dropbox: {
186
+    //     appKey: '<APP_KEY>' // Specify your app key here.
187
+    //     // A URL to redirect the user to, after authenticating
188
+    //     // by default uses:
189
+    //     // 'https://jinnace.com/static/oauth.html'
190
+    //     redirectURI:
191
+    //          'https://jinnace.com/subfolder/static/oauth.html'
192
+    // },
193
+    // When integrations like dropbox are enabled only that will be shown,
194
+    // by enabling fileRecordingsServiceEnabled, we show both the integrations
195
+    // and the generic recording service (its configuration and storage type
196
+    // depends on jibri configuration)
197
+    // fileRecordingsServiceEnabled: false,
198
+    // Whether to show the possibility to share file recording with other people
199
+    // (e.g. meeting participants), based on the actual implementation
200
+    // on the backend.
201
+    // fileRecordingsServiceSharingEnabled: false,
202
+
203
+    // Whether to enable live streaming or not.
204
+    // liveStreamingEnabled: false,
205
+
206
+    // Transcription (in interface_config,
207
+    // subtitles and buttons can be configured)
208
+    // transcribingEnabled: false,
209
+
210
+    // Enables automatic turning on captions when recording is started
211
+    // autoCaptionOnRecord: false,
212
+
213
+    // Misc
214
+
215
+    // Default value for the channel "last N" attribute. -1 for unlimited.
216
+    channelLastN: -1,
217
+
218
+    // Disables or enables RTX (RFC 4588) (defaults to false).
219
+    // disableRtx: false,
220
+
221
+    // Disables or enables TCC (the default is in Jicofo and set to true)
222
+    // (draft-holmer-rmcat-transport-wide-cc-extensions-01). This setting
223
+    // affects congestion control, it practically enables send-side bandwidth
224
+    // estimations.
225
+    // enableTcc: true,
226
+
227
+    // Disables or enables REMB (the default is in Jicofo and set to false)
228
+    // (draft-alvestrand-rmcat-remb-03). This setting affects congestion
229
+    // control, it practically enables recv-side bandwidth estimations. When
230
+    // both TCC and REMB are enabled, TCC takes precedence. When both are
231
+    // disabled, then bandwidth estimations are disabled.
232
+    // enableRemb: false,
233
+
234
+    // Defines the minimum number of participants to start a call (the default
235
+    // is set in Jicofo and set to 2).
236
+    // minParticipants: 2,
237
+
238
+    // Use XEP-0215 to fetch STUN and TURN servers.
239
+    useStunTurn: true,
240
+
241
+    // Enable IPv6 support.
242
+    // useIPv6: true,
243
+
244
+    // Enables / disables a data communication channel with the Videobridge.
245
+    // Values can be 'datachannel', 'websocket', true (treat it as
246
+    // 'datachannel'), undefined (treat it as 'datachannel') and false (don't
247
+    // open any channel).
248
+    // openBridgeChannel: true,
249
+
250
+
251
+    // UI
252
+    //
253
+
254
+    // Use display name as XMPP nickname.
255
+    // useNicks: false,
256
+
257
+    // Require users to always specify a display name.
258
+    // requireDisplayName: true,
259
+
260
+    // Whether to use a welcome page or not. In case it's false a random room
261
+    // will be joined when no room is specified.
262
+    enableWelcomePage: true,
263
+
264
+    // Enabling the close page will ignore the welcome page redirection when
265
+    // a call is hangup.
266
+    // enableClosePage: false,
267
+
268
+    // Disable hiding of remote thumbnails when in a 1-on-1 conference call.
269
+    // disable1On1Mode: false,
270
+
271
+    // Default language for the user interface.
272
+    // defaultLanguage: 'en',
273
+
274
+    // If true all users without a token will be considered guests and all users
275
+    // with token will be considered non-guests. Only guests will be allowed to
276
+    // edit their profile.
277
+    enableUserRolesBasedOnToken: false,
278
+
279
+    // Whether or not some features are checked based on token.
280
+    // enableFeaturesBasedOnToken: false,
281
+
282
+    // Enable lock room for all moderators, even when userRolesBasedOnToken is enabled and participants are guests.
283
+    // lockRoomGuestEnabled: false,
284
+
285
+    // When enabled the password used for locking a room is restricted to up to the number of digits specified
286
+    // roomPasswordNumberOfDigits: 10,
287
+    // default: roomPasswordNumberOfDigits: false,
288
+
289
+    // Message to show the users. Example: 'The service will be down for
290
+    // maintenance at 01:00 AM GMT,
291
+    // noticeMessage: '',
292
+
293
+    // Enables calendar integration, depends on googleApiApplicationClientID
294
+    // and microsoftApiApplicationClientID
295
+    // enableCalendarIntegration: false,
296
+
297
+    // Stats
298
+    //
299
+
300
+    // Whether to enable stats collection or not in the TraceablePeerConnection.
301
+    // This can be useful for debugging purposes (post-processing/analysis of
302
+    // the webrtc stats) as it is done in the jitsi-meet-torture bandwidth
303
+    // estimation tests.
304
+    // gatherStats: false,
305
+
306
+    // The interval at which PeerConnection.getStats() is called. Defaults to 10000
307
+    // pcStatsInterval: 10000,
308
+
309
+    // To enable sending statistics to callstats.io you must provide the
310
+    // Application ID and Secret.
311
+    // callStatsID: '',
312
+    // callStatsSecret: '',
313
+
314
+    // enables sending participants display name to callstats
315
+    // enableDisplayNameInStats: false,
316
+
317
+    // enables sending participants email if available to callstats and other analytics
318
+    // enableEmailInStats: false,
319
+
320
+    // Privacy
321
+    //
322
+
323
+    // If third party requests are disabled, no other server will be contacted.
324
+    // This means avatars will be locally generated and callstats integration
325
+    // will not function.
326
+    // disableThirdPartyRequests: false,
327
+
328
+
329
+    // Peer-To-Peer mode: used (if enabled) when there are just 2 participants.
330
+    //
331
+
332
+    p2p: {
333
+        // Enables peer to peer mode. When enabled the system will try to
334
+        // establish a direct connection when there are exactly 2 participants
335
+        // in the room. If that succeeds the conference will stop sending data
336
+        // through the JVB and use the peer to peer connection instead. When a
337
+        // 3rd participant joins the conference will be moved back to the JVB
338
+        // connection.
339
+        enabled: true,
340
+
341
+        // Use XEP-0215 to fetch STUN and TURN servers.
342
+        useStunTurn: true,
343
+
344
+        // The STUN servers that will be used in the peer to peer connections
345
+        stunServers: [
346
+
347
+            // { urls: 'stun:jinnace.com:4446' },
348
+            { urls: 'stun:meet-jit-si-turnrelay.jitsi.net:443' }
349
+        ],
350
+
351
+        // Sets the ICE transport policy for the p2p connection. At the time
352
+        // of this writing the list of possible values are 'all' and 'relay',
353
+        // but that is subject to change in the future. The enum is defined in
354
+        // the WebRTC standard:
355
+        // https://www.w3.org/TR/webrtc/#rtcicetransportpolicy-enum.
356
+        // If not set, the effective value is 'all'.
357
+        // iceTransportPolicy: 'all',
358
+
359
+        // If set to true, it will prefer to use H.264 for P2P calls (if H.264
360
+        // is supported).
361
+        preferH264: true
362
+
363
+        // If set to true, disable H.264 video codec by stripping it out of the
364
+        // SDP.
365
+        // disableH264: false,
366
+
367
+        // How long we're going to wait, before going back to P2P after the 3rd
368
+        // participant has left the conference (to filter out page reload).
369
+        // backToP2PDelay: 5
370
+    },
371
+
372
+    analytics: {
373
+        // The Google Analytics Tracking ID:
374
+        // googleAnalyticsTrackingId: 'your-tracking-id-UA-123456-1'
375
+
376
+        // The Amplitude APP Key:
377
+        // amplitudeAPPKey: '<APP_KEY>'
378
+
379
+        // Array of script URLs to load as lib-jitsi-meet "analytics handlers".
380
+        // scriptURLs: [
381
+        //      "libs/analytics-ga.min.js", // google-analytics
382
+        //      "https://example.com/my-custom-analytics.js"
383
+        // ],
384
+    },
385
+
386
+    // Information about the jitsi-meet instance we are connecting to, including
387
+    // the user region as seen by the server.
388
+    deploymentInfo: {
389
+        // shard: "shard1",
390
+        // region: "europe",
391
+        // userRegion: "asia"
392
+    },
393
+
394
+    // Decides whether the start/stop recording audio notifications should play on record.
395
+    // disableRecordAudioNotification: false,
396
+
397
+    // Information for the chrome extension banner
398
+    // chromeExtensionBanner: {
399
+    //     // The chrome extension to be installed address
400
+    //     url: 'https://chrome.google.com/webstore/detail/jitsi-meetings/kglhbbefdnlheedjiejgomgmfplipfeb',
401
+
402
+    //     // Extensions info which allows checking if they are installed or not
403
+    //     chromeExtensionsInfo: [
404
+    //         {
405
+    //             id: 'kglhbbefdnlheedjiejgomgmfplipfeb',
406
+    //             path: 'jitsi-logo-48x48.png'
407
+    //         }
408
+    //     ]
409
+    // },
410
+
411
+    // Local Recording
412
+    //
413
+
414
+    // localRecording: {
415
+    // Enables local recording.
416
+    // Additionally, 'localrecording' (all lowercase) needs to be added to
417
+    // TOOLBAR_BUTTONS in interface_config.js for the Local Recording
418
+    // button to show up on the toolbar.
419
+    //
420
+    //     enabled: true,
421
+    //
422
+
423
+    // The recording format, can be one of 'ogg', 'flac' or 'wav'.
424
+    //     format: 'flac'
425
+    //
426
+
427
+    // },
428
+
429
+    // Options related to end-to-end (participant to participant) ping.
430
+    // e2eping: {
431
+    //   // The interval in milliseconds at which pings will be sent.
432
+    //   // Defaults to 10000, set to <= 0 to disable.
433
+    //   pingInterval: 10000,
434
+    //
435
+    //   // The interval in milliseconds at which analytics events
436
+    //   // with the measured RTT will be sent. Defaults to 60000, set
437
+    //   // to <= 0 to disable.
438
+    //   analyticsInterval: 60000,
439
+    //   },
440
+
441
+    // If set, will attempt to use the provided video input device label when
442
+    // triggering a screenshare, instead of proceeding through the normal flow
443
+    // for obtaining a desktop stream.
444
+    // NOTE: This option is experimental and is currently intended for internal
445
+    // use only.
446
+    // _desktopSharingSourceDevice: 'sample-id-or-label',
447
+
448
+    // If true, any checks to handoff to another application will be prevented
449
+    // and instead the app will continue to display in the current browser.
450
+    // disableDeepLinking: false,
451
+
452
+    // A property to disable the right click context menu for localVideo
453
+    // the menu has option to flip the locally seen video for local presentations
454
+    // disableLocalVideoFlip: false,
455
+
456
+    // Mainly privacy related settings
457
+
458
+    // Disables all invite functions from the app (share, invite, dial out...etc)
459
+    // disableInviteFunctions: true,
460
+
461
+    // Disables storing the room name to the recents list
462
+    // doNotStoreRoom: true,
463
+
464
+    // Deployment specific URLs.
465
+    // deploymentUrls: {
466
+    //    // If specified a 'Help' button will be displayed in the overflow menu with a link to the specified URL for
467
+    //    // user documentation.
468
+    //    userDocumentationURL: 'https://docs.example.com/video-meetings.html',
469
+    //    // If specified a 'Download our apps' button will be displayed in the overflow menu with a link
470
+    //    // to the specified URL for an app download page.
471
+    //    downloadAppsUrl: 'https://docs.example.com/our-apps.html'
472
+    // },
473
+
474
+    // Options related to the remote participant menu.
475
+    // remoteVideoMenu: {
476
+    //     // If set to true the 'Kick out' button will be disabled.
477
+    //     disableKick: true
478
+    // },
479
+
480
+    // If set to true all muting operations of remote participants will be disabled.
481
+    // disableRemoteMute: true,
482
+
483
+    // List of undocumented settings used in jitsi-meet
484
+    /**
485
+     _immediateReloadThreshold
486
+     autoRecord
487
+     autoRecordToken
488
+     debug
489
+     debugAudioLevels
490
+     deploymentInfo
491
+     dialInConfCodeUrl
492
+     dialInNumbersUrl
493
+     dialOutAuthUrl
494
+     dialOutCodesUrl
495
+     disableRemoteControl
496
+     displayJids
497
+     etherpad_base
498
+     externalConnectUrl
499
+     firefox_fake_device
500
+     googleApiApplicationClientID
501
+     iAmRecorder
502
+     iAmSipGateway
503
+     microsoftApiApplicationClientID
504
+     peopleSearchQueryTypes
505
+     peopleSearchUrl
506
+     requireDisplayName
507
+     tokenAuthUrl
508
+     */
509
+
510
+    // List of undocumented settings used in lib-jitsi-meet
511
+    /**
512
+     _peerConnStatusOutOfLastNTimeout
513
+     _peerConnStatusRtcMuteTimeout
514
+     abTesting
515
+     avgRtpStatsN
516
+     callStatsConfIDNamespace
517
+     callStatsCustomScriptUrl
518
+     desktopSharingSources
519
+     disableAEC
520
+     disableAGC
521
+     disableAP
522
+     disableHPF
523
+     disableNS
524
+     enableLipSync
525
+     enableTalkWhileMuted
526
+     forceJVB121Ratio
527
+     hiddenDomain
528
+     ignoreStartMuted
529
+     nick
530
+     startBitrate
531
+     */
532
+
533
+
534
+    // Allow all above example options to include a trailing comma and
535
+    // prevent fear when commenting out the last value.
536
+    makeJsonParserHappy: 'even if last key had a trailing comma'
537
+
538
+    // no configuration value should follow this line.
539
+};
540
+
541
+/* eslint-enable no-unused-vars, no-var */

Načítá se…
Zrušit
Uložit