add viewer.local config property when viewing local instance (#1358)

If running local server instance, avoid using relays to communicate with the viewer.
This commit is contained in:
machenmusik authored and GitHub committed 2023-02-06 15:53:27 -05:00
1 parent 2ffe4f9036
commit bf64769128
2 files changed
+25 -20

No files matched your search

+2
View File
@@ -153,3 +153,5 @@ class ViewerConfig(PrintableConfig):
connecting to the viewer"""
codec: Literal["H264", "VP8"] = "VP8"
"""Video codec that viewer will use."""
local: bool = False
"""If running local server instance, avoid using relays to communicate with the viewer."""