User interaction¶
To execute analytics on stream user must create stream specifying desired analytics. The description of Luna-Video-Manager and analytics interaction is available in analytics chapter.
For stream creation, it is required to make stream creation request. For stream recreation is required to make stream recreation request, in this case the new stream data will be used and stream version will be increased by 1.
After new stream appearance, it have a pending status (more information about stream statuses available in streams statuses chapter).
When stream is processed by one of the available agents (information about streams to agents distribution is available in streams distribution chapter) it will have in_progress status.
While stream processing is taking place, the agent will send feedback to Luna-Video-Manager, which will produce streams logs available by making get stream logs request.
- Stream processing can be stopped:
by user request (stream patch request) - stream will have stop status
by user request (stream delete request) - stream will be removed
when stream ends - stream will have done status
when fatal error occurrs - stream will have failure status
In all cases except for manual streams logs deletion, streams logs will be available by making get stream logs request.
In all cases except for stream deletion stream data will be available by making get stream request.