bluerobotics / BlueOS

The open source platform for ROV, USV, robotic system operation, development, and expansion.
https://blueos.cloud/docs/
Other
123 stars 67 forks source link

Add better support to blueos RTSP options (TCP/UDP) and etc #2737

Closed patrickelectric closed 1 week ago

joaoantoniocardoso commented 1 week ago

Just quoting from the PR that added it on MCM side:

Tested and working with both rtspsrc and ffplay:

* [x]  `rtsp://` -> both UDP and TCP

* [x]  `rtspu://` -> UDP

* [x]  `rtspt://` -> TCP

* [x]  `rtsph://` -> TCP tunneled via HTTP

* [x]  `rtspth://` -> TCP w/ TLS

* [x]  `rtspuh://` -> UDP w/ TLS

* [x]  `rtspsh://` -> TCP tunneled via HTTP w/ TSL

Note: a drawback of this approach is that despite the scheme used in the endpoint, the RTSP client would always use rtsp:// instead.

joaoantoniocardoso commented 1 week ago

Maybe we keep showing it to the user as rtsp://<IP>:<PORT>/<PATH>, but we add an additional dropdown that has the options as human-readable descriptions.