Run rtsp streaming with SSL (using rtsps)

1.1k views Asked by At

I am doing live streaming using rtsp like 'rtsp://{{CAMERAIP}}/axis-media/media.amp?resolution=352x240&compression=20' and its working fine. Now I want to use secure rtsp like 'rtsps://{{CAMERAIP}}/axis-media/media.amp?resolution=352x240&compression=20', so anyone have any idea regarding this?

1

There are 1 answers

1
Exolon On

You can use the node package node-rtsp-stream. Instead of piping through ws, implement a wss Websocket. This Websocket is then connected to the browser and display the content in a html canvas element.

My Setup: --> FFMPEG --wss--> Browser (with jsmpeg-module and html canvas)