Advertisement
kot_mapku3

Start video stream (omitted authorization)

Mar 5th, 2024
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. title Start video stream (omitted authorization)
  2.  
  3. actor "User" as user
  4. boundary "Mobile" as mobile
  5. participant "Stream Service" as api
  6. participant "Media Server" as mds
  7. participant "MQTT Service" as mqtt
  8. participant "MQTT Broker" as broker
  9. participant "Camera" as camera
  10.  
  11. user->mobile:watch stream
  12. mobile->api:HTTP GET [get stream link, <device id>]
  13. note over api: construct one-time hashed\nstream link using device id
  14. api-->mobile:return stream link
  15. api->mqtt: HTTP GET [send command to start\nstream (link attached)]
  16. mqtt->broker: MQTT <send command>
  17. camera->broker:get command to start stream
  18. note over camera: start stream
  19. camera->mds:start sending video stream (RTSP)
  20. mobile->mds: receive video stream (WebRTC)
  21.  
  22. # Alice->Bob:Click and drag to create a request or\ntype it in the source area to the left
  23. # Alice<--Bob:drag to move
  24. # note over Bob,Double click to edit text:Click Help menu for **instructions** and **examples**
  25. # Bob->(3)Double click to edit text:non-instantaneous message
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement