🐛 Fix "webcam stream not loaded" display

When we don't have a stream URL configured, we need to
fall back to mjpg stream type to make this show up.
This commit is contained in:
Gina Häußge committed 2023-04-13 13:52:21 +02:00
1 parent 17c3e7a875
commit 2596a99a24
1 file changed
+2 -1
@@ -44,7 +44,8 @@ $(function () {
return self.determineWebcamStreamType(self.streamUrlEscaped());
} catch (e) {
console.error(e);
return "test";
self.webcamError(true);
return "mjpg";
}
});