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:
@ -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}}
|
Reference in New Issue
Block a user