iAllow to toggle the Mediastream API. - surf - Surf web browser. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 1Log /scm/surf//log.gph gopher.r-36.net 70 1Files /scm/surf//files.gph gopher.r-36.net 70 1Refs /scm/surf//refs.gph gopher.r-36.net 70 1README /scm/surf//file/README.gph gopher.r-36.net 70 1LICENSE /scm/surf//file/LICENSE.gph gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1commit 1f521e3badd2f8818e935015a32b2a4096829a1a /scm/surf//commit/1f521e3badd2f8818e935015a32b2a4096829a1a.gph gopher.r-36.net 70 1parent d970bbd60ab7b531a775a109dfd8c6b48d698a03 /scm/surf//commit/d970bbd60ab7b531a775a109dfd8c6b48d698a03.gph gopher.r-36.net 70 hAuthor: Christoph Lohmann <20h@r-36.net> URL:mailto:20h@r-36.net gopher.r-36.net 70 iDate: Fri, 21 Apr 2017 21:04:51 +0200 Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iAllow to toggle the Mediastream API. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iDiffstat: Err gopher.r-36.net 70 i config.def.h | 2 ++ Err gopher.r-36.net 70 i surf.c | 4 +++- Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i2 files changed, 5 insertions(+), 1 deletion(-) Err gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1diff --git a/config.def.h b/config.def.h /scm/surf//file/config.def.h.gph gopher.r-36.net 70 i@@ -40,6 +40,8 @@ static Bool enablestyle = TRUE; Err gopher.r-36.net 70 i static Bool enablehtml5db = TRUE; Err gopher.r-36.net 70 i static Bool enablehtml5local = TRUE; Err gopher.r-36.net 70 i static Bool enablejava = FALSE; /* Toggle if is allowed. */ Err gopher.r-36.net 70 i+static Bool enablemediastream = FALSE; /* Allow access to local video Err gopher.r-36.net 70 i+ * and audio input devices. */ Err gopher.r-36.net 70 i static Bool loadimages = TRUE; Err gopher.r-36.net 70 i static Bool hidebackground = FALSE; Err gopher.r-36.net 70 i static Bool allowgeolocation = TRUE; Err gopher.r-36.net 70 1diff --git a/surf.c b/surf.c /scm/surf//file/surf.c.gph gopher.r-36.net 70 i@@ -1103,7 +1103,9 @@ newclient(void) Err gopher.r-36.net 70 i g_object_set(G_OBJECT(settings), Err gopher.r-36.net 70 i "enable-html5-local-storage", enablehtml5local, NULL); Err gopher.r-36.net 70 i g_object_set(G_OBJECT(settings), Err gopher.r-36.net 70 i- "-storage", enablejava, NULL); Err gopher.r-36.net 70 i+ "enable-java-applet", enablejava, NULL); Err gopher.r-36.net 70 i+ g_object_set(G_OBJECT(settings), Err gopher.r-36.net 70 i+ "enable-media-stream", enablemediastream, NULL); Err gopher.r-36.net 70 i if (enablestyle) Err gopher.r-36.net 70 i setstyle(c, getstyle("about:blank")); Err gopher.r-36.net 70 i Err gopher.r-36.net 70 .