Updated architecture diagram

This commit is contained in:
Jono Targett 2023-05-15 11:43:28 +09:30
parent 5a7a92b075
commit 9267570e89

View File

@ -7,8 +7,9 @@ flowchart TB
subgraph rest[REST Interface]
flask[Flask]
swag[flasgger]
swaggerui[Swagger UI]
swag-->swaggerui
flask-->swag
swag-->swaggerui[Swagger UI]
end
subgraph hw[Hardware Interface]
@ -20,10 +21,13 @@ flowchart TB
soapy<-->plugins
end
flask<-->soapy
%%soapy<-->flask
rest-->hw
hw-->rest
subgraph radio[DSP Chain]
demod[fm_demod.py]
subgraph radio["DSP Chain          `"]
demod["FM Demodulator\n(fm_demod.py)"]
ffmpeg
end
mediamtx["RTSP Relay\n(MediaMTX)"]
@ -45,18 +49,21 @@ flowchart TB
swaggerui<-->|HTTP:5000|caddy
mediamtx-.->|RTSP:8554|l4
end
style microservice opacity: 0.2
style microservice opacity: 0.5
%%rtlsdr[RTL-SDR Driver]-->soapyrtlsdr
%%sdrplay[SDRPlay Driver]-->soapysdrplay
subgraph client[Client]
subgraph client["Client"]
control["REST Client\n(Browser)"]
rtsp["RTSP Renderer\n(VLC)"]
rtp["RTP Sink\n(VLC/ffplay)"]
style rtp stroke-dasharray: 3 3,opacity: 0.5
end
style client opacity: 0.2
style client opacity: 0.5
caddy<-->|HTTPS:443|control
l4-.->|RTSPS|rtsp
mediamtx-->|RTSP:8554|rtsp
mediamtx-->|RTSP|rtsp
ffmpeg-.->|RTP|rtp
```