sofie-mos-connection icon indicating copy to clipboard operation
sofie-mos-connection copied to clipboard

Feat/openmedia hotstandby heartbeat logic

Open olzzon opened this issue 4 months ago • 0 comments

About the Contributor

This is a PR made on behalf of BBC

Type of Contribution

This is a Feature

Current Behavior

Currently MOS-connection checks for heartbeat on all devices.

New Behavior

There has been added an option openMediaHotStandby?: boolean in the API When set to true, the heartbeat will be enabled/disabled depending on what OpenMedia server is being used.

Testing Instructions

For test a dual OpenMedia server setup is needed, and openMediaHotStandby must be set on the secondary connection in deviceOptions.

deviceOptions.secondary.openMediaHotStandby = true
const mosDevice: MosDevice = await this.mos.connect(deviceOptions)

Other Information

Status

  • [ ] PR is ready to be reviewed.
  • [ ] The functionality has been tested by the author.
  • [ ] Relevant unit tests has been added / updated.
  • [ ] Relevant documentation (code comments, system documentation) has been added / updated.

olzzon avatar Oct 08 '24 07:10 olzzon