Convert Secure Raw Streams

Learn how to convert secure raw streams (SRS) to Real Time Streaming Protocol (RTSP) using third party software

While Rhombus does not officially support real-time streaming protocol, this guide will show you a 3rd party option to convert secure raw streams (SRS) to RTSP.

🚧

Warning

This article is written as an example and is not officially supported by Rhombus.



You can visit Github - Media MTX to get started. In our test, we utilized Docker and followed the installation instructions provided in the repo. Once installed, you can utilize the commands below in terminal to start up the server:

docker run --rm -it \
-e MTX_PROTOCOLS=tcp \
-p 8554:8554 \
-p 1935:1935 \
-p 8888:8888 \
-p 8889:8889 \
bluenviron/mediamtx

After completing, use another terminal window to run:

ffmpeg -i "https://my-secure-raw-streaming-url-here" -c:v copy -f rtsp rtsp://localhost:8554/rtsp-stream

Which takes the secure raw stream as input, uses -c:v copy to avoid transcoding it, and publishes it to the RTSP server. Then you should be able to use any RTSP-compatible software to access the video stream at rtsp://localhost:8554/rtsp-stream

To learn where to get your secure raw stream URL, visit our knowledge base or utilize the /api/camera/createRawHttpStream endpoint.


What's Next

Below you'll find the Media MTX repo and the endpoint needed to generate a Secure Raw Stream