Skip to content

LIMS-2057: Allow custom resolutions for webcams#1030

Merged
ndg63276 merged 1 commit intopre-release/2026-R1.4from
fix/LIMS-2057/allow-custom-resolutions-for-webcams
Feb 17, 2026
Merged

LIMS-2057: Allow custom resolutions for webcams#1030
ndg63276 merged 1 commit intopre-release/2026-R1.4from
fix/LIMS-2057/allow-custom-resolutions-for-webcams

Conversation

@ndg63276
Copy link
Collaborator

@ndg63276 ndg63276 commented Feb 6, 2026

JIRA ticket: LIMS-2057

Summary:

Webcams that don't support 480x270 resolution won't show currently.

Changes:

  • Add a config parameter for webcam parameters, supporting resolution and frame rate
  • Merge with default parameters before getting webcam stream

To test:

  • Add this to your config
$webcamParameters = array(
    'i02-2-webcam04.diamond.ac.uk' => array(
        'resolution' => '640x480',
    ),
);
  • Go to an i02-2 visit, eg /dc/visit/cm44135-1, click on "Show i02-2 Webcams & Beamline Status", check 2 webcams are displayed
  • Go to /status/bl/i02-2, check 2 webcams are displayed

@ndg63276 ndg63276 changed the base branch from master to pre-release/2026-R1.4 February 17, 2026 09:55
@ndg63276 ndg63276 merged commit ffcc082 into pre-release/2026-R1.4 Feb 17, 2026
2 checks passed
@ndg63276 ndg63276 deleted the fix/LIMS-2057/allow-custom-resolutions-for-webcams branch February 17, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments