From 0b93de7f164c766ab980e2abab007d406b9b663f Mon Sep 17 00:00:00 2001 From: dencoded <33698537+dencoded@users.noreply.github.com> Date: Sun, 1 Mar 2020 22:21:02 -0500 Subject: [PATCH] broadcast mode is removed as for now --- README.md | 5 +- broadcast/broadcast.go | 189 -------------------------------- main.go | 91 +++------------ proto/indihub/indihub.pb.go | 213 +++++++----------------------------- 4 files changed, 58 insertions(+), 440 deletions(-) delete mode 100644 broadcast/broadcast.go diff --git a/README.md b/README.md index 8c220a6..f7a5dd9 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,11 @@ When you first run `indihub-agent` and it is connected to INDIHUB-network succes ## indihub-agent modes -There are four modes available at the moment: +There are three modes available at the moment: 1. `share` - open remote access to your equipment via INDIHUB-network of telescopes, so you can provide remote imaging sessions to your guests. 2. `solo` - use you equipment without opening remote access but equipment is still connected to INDIHUB-network and all images taken are contributed for scientific purposes. -3. `broadcast` - broadcast you imaging session to observers watching it via INDI-clients, in this case without any equipment remote access and sharing (experimental). -4. `robotic` - open remote access to your equipment to be controlled by scheduler running in INDIHUB-cloud (experimental). +3. `robotic` - open remote access to your equipment to be controlled by scheduler running in INDIHUB-cloud (experimental). The mode is specified via `-mode` parameter, i.e. to run indihub-agent in a share-mode you will need run command: diff --git a/broadcast/broadcast.go b/broadcast/broadcast.go deleted file mode 100644 index b40265e..0000000 --- a/broadcast/broadcast.go +++ /dev/null @@ -1,189 +0,0 @@ -package broadcast - -import ( - "bytes" - "io" - "log" - "net" - "sync/atomic" - - "github.com/fatih/color" - - "github.com/indihub-space/agent/lib" - "github.com/indihub-space/agent/proto/indihub" -) - -var ( - getPropertiesStart = []byte("