Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- title Start video stream (omitted authorization)
- actor "User" as user
- boundary "Mobile" as mobile
- participant "Stream Service" as api
- participant "Media Server" as mds
- participant "MQTT Service" as mqtt
- participant "MQTT Broker" as broker
- participant "Camera" as camera
- user->mobile:watch stream
- mobile->api:HTTP GET [get stream link, <device id>]
- note over api: construct one-time hashed\nstream link using device id
- api-->mobile:return stream link
- api->mqtt: HTTP GET [send command to start\nstream (link attached)]
- mqtt->broker: MQTT <send command>
- camera->broker:get command to start stream
- note over camera: start stream
- camera->mds:start sending video stream (RTSP)
- mobile->mds: receive video stream (WebRTC)
- # Alice->Bob:Click and drag to create a request or\ntype it in the source area to the left
- # Alice<--Bob:drag to move
- # note over Bob,Double click to edit text:Click Help menu for **instructions** and **examples**
- # Bob->(3)Double click to edit text:non-instantaneous message
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement