mirror of
https://github.com/eliasstepanik/vdo.ninja.git
synced 2026-01-11 13:48:38 +00:00
Update and rename turn-credentials.php to turn-credentials-php.sample
renaming file extension to prevent php from being active by default.
This commit is contained in:
parent
fb94d7ca92
commit
651c05b3eb
@ -1,4 +1,6 @@
|
||||
<?php
|
||||
// If using static-auth-secret for your turn server, modify this file as needed; also rename to "turn-credentials.php"
|
||||
|
||||
$stun_server = "stun:<stun-server>:<stun-port>";
|
||||
$turn_server = "turns:<turn-server>:<https-turn-port>";
|
||||
$turn_expiry = 86400;
|
||||
@ -8,4 +10,4 @@
|
||||
|
||||
$arr = array('1' => $turn_username, '2' => $turn_password, '3' => $stun_server, '4' => $turn_server);
|
||||
echo json_encode($arr);
|
||||
?>
|
||||
?>
|
||||
Loading…
x
Reference in New Issue
Block a user