3

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?

IPS
  • 417
  • 9
  • 22

1 Answers1

0

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)

Exolon
  • 1
  • 1
  • Any help in getting node-rtsp-stream to use wss? I'm completely stuck trying to modify that library to accept wss rather than ws – macmeyers50 May 06 '20 at 18:46