mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-27 18:23:00 -04:00
Two issues caused monitors to stream from wrong channel: 1. In setChannelStream(), the expression `StreamChannel && SecondPath` returned SecondPath (often empty) instead of StreamChannel. Now correctly uses the monitor's configured StreamChannel. 2. In MonitorStream.start(), default channel only checked for CameraDirectSecondary and defaulted everything else to Restream. Now respects the actual StreamChannel setting. Also improved fallback when selected option is disabled to find first enabled option rather than always defaulting to Restream. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>