RTSP over SSL (RTSPS)

Durgesh picture Durgesh · Oct 19, 2016 · Viewed 15.1k times · Source

We have a video streaming (video on demand) server implemented using wowza streaming engine. Clients (android application, web browser) access the stream using RTMP (web browser) and RTSP (android application). As we have requirement that the streaming should be over SSL, as web browser's player (jw player) supports RTMPS, I have configured wowza to support RTMPS and tested the functionality. But we also need to support RTSP over SSL (RTSPS). I have read that wowza doesn't support RTSPS (ref: https://www.wowza.com/forums/showthread.php?34002-RTP-RTSP-over-SSL). Then we need to terminate the SSL on ELB itself(our video streaming server is behind an ELB).

We are using ffmpeg player in android player. Under this link there is nothing mentioned regarding RTSPS or RTSP over SSL. Just I am wondering whether such a protocol exists ?. If so, is there any android player or any other player I can use for testing RTSPS ?

Answer

shafi picture shafi · Nov 9, 2018
  1. Please go through the below link to configure your server to accept secured connection

[https://www.wowza.com/docs/how-to-get-ssl-certificates-from-the-streamlock-service#rtmpsPlayback][1]

  1. Cross compile your ffmpeg to support openssl library.
  2. Push your video stream to wowza using "rtsps"

eg:

ffmpeg -re -i -acodec copy -vcodec copy -f rtsp rtsps://username:password@:443/live/myStream