broadcast.go: add basic automation of vidforward control

Issue #210 resolved
Saxon Milton created an issue

We wish to start experimenting with “permanent” broadcasts. This will require some basic automation of vidforward control, namely automatic disabling and enabling of the slate image. It’s proposed that we add 3 fields to the “vidforward control” section of the broadcast UI; “use vidforward” (say that we’d like to do a “permanant” broadcast and forward through vidforward), “cam on time” and “cam off time”. If “use vidforward” is checked, when the “start” button is pressed we’ll set the camera configuration to output HTTP and set the HTTP address as the provided vidforward host address. We’ll also set crons to power the camera on and off based on the provided cam on and off times. Finally, we’ll derive slate off and on times from the came on and off times and add crons that will call functionality to perform slate control requests to vidforward.

Comments (1)

  1. Log in to comment