sofie-mos-connection
sofie-mos-connection copied to clipboard
Feat/openmedia hotstandby heartbeat logic
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.