opensensorhub / osh-core

OpenSensorHub Core Modules
http://docs.opensensorhub.org
Mozilla Public License 2.0
32 stars 16 forks source link

[Core] Add API for on-demand streaming #200

Open alexrobin opened 2 years ago

alexrobin commented 2 years ago

Currently there is no generic API to start/stop a real-time stream except by controlling the system or sensor driver directly.

It would be useful to have this so that streaming can be started in a standard way from all consumer facing web services and APIs. This would allow our web APIs to act as a proxy to a backend service that provides real-time streams without keeping the stream always-on between backend and OSH. This is especially of interest when proxying a backend service that exposes a large number of data feeds.