Skip to content

Commit 341be93

Browse files
committed
build
1 parent 0e8398b commit 341be93

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/components/Chat.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,12 +625,14 @@ class Chat {
625625
var s = yield _this6.obs.send("GetMediaSourcesList");
626626
s.mediaSources.filter(e => e.mediaState == "playing").forEach( /*#__PURE__*/function () {
627627
var _ref = _asyncToGenerator(function* (e) {
628+
var _sourceSettings$input;
629+
628630
var {
629631
sourceSettings
630632
} = yield _this6.obs.send("GetSourceSettings", {
631633
sourceName: e.sourceName
632634
});
633-
var input = sourceSettings === null || sourceSettings === void 0 ? void 0 : sourceSettings.input.toLowerCase();
635+
var input = (_sourceSettings$input = sourceSettings.input) === null || _sourceSettings$input === void 0 ? void 0 : _sourceSettings$input.toLowerCase();
634636

635637
if (input !== null && input !== void 0 && input.startsWith("rtmp") || input !== null && input !== void 0 && input.startWith("srt")) {
636638
yield _this6.obs.send("RestartMedia", {

0 commit comments

Comments
 (0)