Can get calls configuration

This commit is contained in:
2019-01-22 17:39:45 +01:00
parent 2753569015
commit 3786c5c4e9
4 changed files with 226 additions and 0 deletions

29
config/calls.php Normal file
View File

@ -0,0 +1,29 @@
<?php
/**
* Calls configuration file
*
* @author Pierre HUBERT
*/
/**
* Calls through clients are disabled by default.
*/
$config->set("calls", false);
/**
* Copy the lines of code below to the overwrite.php file
* if you would like to enable calls on your instance of
* Comunic
*
*/
/*
$config->set("calls", array(
"enabled" => true,
"signal_server_name" => "localhost",
"signal_server_port" => 8081,
"stun_server" => "stun:127.0.0.1:3478",
"turn_server" => "turn:127.0.0.1:3478",
"turn_username" => "anonymous",
"turn_password" => "anonymous"
));
*/