The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/app/webrtc/server/settings.ts

38 lines
975 B

import { settingsRegistry } from '../../settings/server';
settingsRegistry.addGroup('WebRTC', function () {
this.add('WebRTC_Enabled', false, {
type: 'boolean',
group: 'WebRTC',
public: true,
i18nLabel: 'Enabled',
});
this.add('WebRTC_Enable_Channel', false, {
type: 'boolean',
group: 'WebRTC',
public: true,
enableQuery: { _id: 'WebRTC_Enabled', value: true },
});
this.add('WebRTC_Enable_Private', false, {
type: 'boolean',
group: 'WebRTC',
public: true,
enableQuery: { _id: 'WebRTC_Enabled', value: true },
});
this.add('WebRTC_Enable_Direct', false, {
type: 'boolean',
group: 'WebRTC',
public: true,
enableQuery: { _id: 'WebRTC_Enabled', value: true },
});
return this.add(
'WebRTC_Servers',
'stun:stun.l.google.com:19302, stun:23.21.150.121, team%40rocket.chat:demo@turn:numb.viagenie.ca:3478',
{
type: 'string',
group: 'WebRTC',
public: true,
enableQuery: { _id: 'WebRTC_Enabled', value: true },
},
);
});