1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-27 16:52:06 +02:00

Make STUN server configurable

This commit is contained in:
Alexandre Iooss
2020-09-29 17:27:19 +02:00
parent 1c98754624
commit 95f4b81f01
6 changed files with 24 additions and 15 deletions

View File

@ -36,4 +36,12 @@
<script src="/static/js/sideWidget.js"></script>
<script src="/static/js/viewer.js"></script>
<script>
const stunServers = [
{{range $id, $value := .Cfg.STUNServers}}
'{{$value}}',
{{end}}
]
startPeerConnection()
</script>
{{end}}