Feature Description
When the NDI stream source is a Marshall CV-370 camera, add a UI button to toggle the camera between daylight and night mode.
Motivation
My NDI stream usually comes from a Marshall CV-370. The camera exposes an IR cut control that effectively switches between daylight and night behavior, and it would be useful to control this directly from OnPoint without opening separate camera tooling.
Reference
I (@hrueger) opened a PR against the Bitfocus Companion Marshall IP Camera module adding CV-370 support and an IRCut action:
Relevant behavior from that PR:
- CV-370 uses
/cgi-bin/web.fcgi?func=get... / func=set... JSON-style requests.
- The image field is
ircut.
ircut = 1 maps to IR Cut on / daylight mode.
ircut = 0 maps to IR Cut off / night mode.
Proposed Solution
- Detect or allow configuring that the NDI stream camera is a Marshall CV-370.
- Add a button/control to toggle between daylight and night mode for that camera.
- Send the CV-370 IR cut request when toggled.
- Reflect the current mode in the UI if the current camera state is available.
Acceptance Criteria
- A CV-370 stream/camera can be configured or detected.
- A visible button toggles daylight/night mode when the stream uses a CV-370.
- The implementation sends the correct CV-370
ircut value (1 for daylight, 0 for night).
- Non-CV-370 streams do not show a broken or misleading control.
Feature Description
When the NDI stream source is a Marshall CV-370 camera, add a UI button to toggle the camera between daylight and night mode.
Motivation
My NDI stream usually comes from a Marshall CV-370. The camera exposes an IR cut control that effectively switches between daylight and night behavior, and it would be useful to control this directly from OnPoint without opening separate camera tooling.
Reference
I (@hrueger) opened a PR against the Bitfocus Companion Marshall IP Camera module adding CV-370 support and an
IRCutaction:Relevant behavior from that PR:
/cgi-bin/web.fcgi?func=get.../func=set...JSON-style requests.ircut.ircut = 1maps to IR Cut on / daylight mode.ircut = 0maps to IR Cut off / night mode.Proposed Solution
Acceptance Criteria
ircutvalue (1for daylight,0for night).