Add ability to configure stun servers

This commit is contained in:
Chocobozzz
2024-10-24 10:20:50 +02:00
parent 34957c5a18
commit 70ee15d3aa
13 changed files with 56 additions and 22 deletions

View File

@@ -444,6 +444,11 @@ describe('Test config', function () {
expect(data.views.videos.watchingInterval.anonymous).to.equal(5000)
expect(data.views.videos.watchingInterval.users).to.equal(5000)
expect(data.webrtc.stunServers).to.have.members([
'stun:stunserver2024.stunprotocol.org',
'stun:stun.framasoft.org'
])
})
it('Should have a correct config on a server with registration enabled', async function () {