ausocean / cloud

GNU General Public License v3.0
1 stars 1 forks source link

OceanTV: Check status of controller before starting broadcast (#114) #119

Closed ao-david closed 2 days ago

ao-david commented 2 weeks ago

createBroadcastAndRequestHardware now makes a call to getDeviceStatus for the controller to ensure that the controller will even respond to hardware start events before trying to create a new broadcast. This will give a pretty good indicator that the controller is not powered, likely due to a low power event on the rig.

ao-david commented 1 week ago

The check now fires a controllerFailureEvent which is handled by both the hardware state machine (transition back to hardware off) and the broadcast state machine (transitions back to idle or slate and calls onfailureclosure)

saxon-milton commented 2 days ago

closes #114