We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 682da9f commit 2ed2b27Copy full SHA for 2ed2b27
web/skins/classic/js/skin.js
@@ -1093,7 +1093,12 @@ function manageChannelStream() {
1093
}
1094
select = document.querySelector('select[name="streamChannel"]');
1095
} else if (currentView == 'monitor') {
1096
- secondPath_ = document.querySelector('input[name="newMonitor[SecondPath]"]').value;
+
1097
+ // Local source doesn't have second path
1098
+ const secondPathInput = document.querySelector('input[name="newMonitor[SecondPath]"]');
1099
+ if (secondPathInput) {
1100
+ secondPath_ = SecondPathInput.value;
1101
+ }
1102
select = document.querySelector('select[name="newMonitor[RTSP2WebStream]"]');
1103
1104
if (select) {
0 commit comments