1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-29 20:21:08 +02:00

WebRTC player

This commit is contained in:
Alexandre Iooss
2020-09-22 22:08:14 +02:00
parent 1ac7fce31b
commit 73d08f497e
12 changed files with 343 additions and 91 deletions

View File

@ -19,7 +19,7 @@ type Options struct {
}
// Preload templates
var templates = template.Must(template.ParseGlob("web/template/*.tmpl"))
var templates = template.Must(template.ParseGlob("web/template/*.html"))
// Handle site index and viewer pages
func viewerHandler(w http.ResponseWriter, r *http.Request, cfg *Options) {