blob: f71750df2e26283784046397547f55495e0e9af3 [file] [log] [blame]
Tyler Chatowb3850c12020-02-26 20:55:48 -08001<html>
2 <head>
3 <script type="text/javascript"></script>
4 <script src="main_bundle.min.js" defer></script>
5 <style>
6 code {
7 background-color: #eee;
8 }
9 </style>
10 </head>
11 <body>
12 <div>
13 <video id="stream" autoplay playsinline muted style="height: 95%">
14 Your browser does not support video
15 </video>
16 </div>
17 <p>
18 Stats: <span id="stats_protocol">Not connected</span>, <span id="stats_bps"></span> Kibit/s, <span id="stats_fps"></span> fps
19 </p>
20 <span>
21 <div id="bad_remote_port_error" style="display: none">
22 <p>
23 Remote emitted a port <span id="bad_remote_port_port"></span> which may not be supported over the FMS.
24 Try running <code>image_streamer</code> with <code>-min_port=</code> and <code>-max_port=</code>
25 </p>
26 </div>
27 <div id="bad_local_port_error" style="display: none">
28 <p>
29 Local emitted a port <span id="bad_local_port_port"></span> which may not be supported over the FMS, or may fallback to TCP.
30 </p>
31 <p>To fix:</p>
32 <ul>
33 <li>
34 Firefox: Not supported
35 </li>
36 <li>Chrome:
37 <ul>
38 <li>
39 Windows:
40 <br>
41 Add registry entry <code>Software\Policies\Google\Chrome\WebRtcUdpPortRange = "5800-5810"</code>
42 <br>
43 (For Chromium, <code>Software\Policies\Chromium\WebRtcUdpPortRange</code>)
44 </li>
45 <li>
46 Linux:
47 <br>
48 <code>mkdir -p /etc/opt/chrome/policies/managed</code> OR <code>mkdir -p /etc/chromium/policies/managed</code> OR, ON SOME DISTROS <code>mkdir -p /etc/chromium-browser/policies/managed</code>
49 <br>
50 <code>echo '{"WebRtcUdpPortRange": "5800-5810"}' &gt; /etc/&lt;&gt;/policies/managed/webrtc_port_policy.json</code>
51 </li>
52 </ul>
53 </li>
54 </ul>
55 </div>
56 <div id="bad_remote_address_error" style="display: none">
57 <p>Remote emitted an address <span id="bad_remote_address_address"></span> which requires mDNS resolution. This may not be supported.</p>
58 </div>
59 <div id="bad_local_address_error" style="display: none">
60 <p>Local emitted an address <span id="bad_local_address_address"></span> which requires mDNS resolution. This may not be supported.</p>
61 <p>To fix:</p>
62 <ul>
63 <li>
64 Firefox: Navigate to <a href="about:config">about:config</a> (May need to select and copy into new tab).
65 Set <code>media.peerconnection.ice.obfuscate_host_addresses</code> to <code>false</code>.
66 </li>
67 <li>Chrome:
68 <ul>
69 <li>
70 Windows:
71 <br>
72 Add registry entry <code>Software\Policies\Google\Chrome\WebRtcLocalIpsAllowedUrls\1 = "*<span class="page_hostname"></span>*"</code>
73 <br>
74 (For Chromium, <code>Software\Policies\Chromium\WebRtcLocalIpsAllowedUrls\1</code>)
75 </li>
76 <li>
77 Linux:
78 <br>
79 <code>mkdir -p /etc/opt/chrome/policies/managed</code> OR <code>mkdir -p /etc/chromium/policies/managed</code> OR, ON SOME DISTROS <code>mkdir -p /etc/chromium-browser/policies/managed</code>
80 <br>
81 <code>echo '{"WebRtcLocalIpsAllowedUrls": ["*<span class="page_hostname"></span>*"]}' &gt; /etc/&lt;&gt;/policies/managed/webrtc_policy.json</code>
82 </li>
83 </ul>
84 </li>
85 </ul>
86 </div>
87 </span>
88 </body>
89</html>