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:
Steve Seguin 2023-01-22 06:00:26 -05:00 committed by GitHub
parent fb94d7ca92
commit 651c05b3eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
?>
?>