mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2025-06-27 18:02:06 +02:00
Make viewers counter period configurable
This commit is contained in:
@ -50,5 +50,10 @@
|
||||
{{end}}
|
||||
]
|
||||
startPeerConnection()
|
||||
|
||||
// Wait a bit before pulling viewers counter for the first time
|
||||
setTimeout(() => {
|
||||
refreshViewersCounter({{.Cfg.ViewersCounterRefreshPeriod}})
|
||||
}, 1000)
|
||||
</script>
|
||||
{{end}}
|
Reference in New Issue
Block a user