feat(webrtc): render remote audio tracks and allow camera access

This commit is contained in:
2026-07-06 12:25:40 +00:00
parent f9b1e16e3a
commit 074742ddb4
12 changed files with 173 additions and 45 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ func SecurityHeaders(next http.Handler) http.Handler {
w.Header().Set("Content-Security-Policy",
"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; "+
"img-src 'self' https: data:; connect-src 'self' wss: ws:; font-src 'self';")
w.Header().Set("Permissions-Policy", "camera=(), microphone=(self), geolocation=()")
w.Header().Set("Permissions-Policy", "camera=(self), microphone=(self), geolocation=()")
next.ServeHTTP(w, r)
})
}