Plans for CMS
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
@startuml 07-seq-liveview
|
||||
title Sequence — Liveview with bbox overlay
|
||||
|
||||
actor "Operator" as User
|
||||
participant "Qt UI" as UI
|
||||
participant "ANSVIS\n/api/v1" as API
|
||||
participant "Media relay" as RELAY
|
||||
participant "L1 edge" as EDGE
|
||||
participant "SSE broadcaster" as SSE
|
||||
|
||||
User -> UI : Open Liveview (cam 123, task 456)
|
||||
UI -> API : GET /cameras/123/liveview?transport=hls
|
||||
API -> RELAY : ensure HLS for cam 123
|
||||
RELAY -> EDGE : pull RTSP
|
||||
RELAY --> API : hls_url + short-lived token
|
||||
API --> UI : 200 {url, transport:hls,\nauth_token, expires_at}
|
||||
|
||||
UI -> RELAY : GET hls_url (token)
|
||||
RELAY --> UI : m3u8 + segments
|
||||
UI -> UI : Render video\n(QtMultimedia)
|
||||
|
||||
UI -> API : GET /events/stream?task_id=456 (SSE)
|
||||
API --> UI : text/event-stream
|
||||
|
||||
loop per event
|
||||
SSE --> UI : bbox + ts
|
||||
UI -> UI : overlay synced to PTS
|
||||
end
|
||||
|
||||
@enduml
|
||||
Reference in New Issue
Block a user