[Live-devel] [Mirasys] Live555 RTSP server questions

Victor Vitkovskiy victor.vitkovskiy at mirasys.com
Mon Feb 7 01:25:20 PST 2022


Hello Ross, 

Thank you for your answers. 
Related to HTTPS support - I have found this method for RTSP server - setTLSState where we need to specify certificate and private keys. 
So, this is not related to HTTPS or this is not working currently? 

Best regards,
-----------------------------------------
Victor Vitkovskiy
Senior software developer
mailto: victor.vitkovskiy at mirasys.com
www.mirasys.com


-----Original Message-----
From: live-devel <live-devel-bounces at us.live555.com> On Behalf Of Ross Finlayson
Sent: Monday, 7 February 2022 10:07
To: LIVE555 Streaming Media - development & use <live-devel at us.live555.com>
Subject: Re: [Live-devel] [Mirasys] Live555 RTSP server questions

EXTERNAL


> On Feb 7, 2022, at 8:46 PM, Victor Vitkovskiy <victor.vitkovskiy at mirasys.com> wrote:
>
> Currently when I create RTSP server with several sessions based on OnDemandServerMediaSubsession, seems that RTSP server supports any transport that client wants - it can be RTP over UDP or RTP over RTSP, all depends on client itself (what it will specify in SETUP->Transport header).
> Is there any setting inside RTSP server that can limit a list of supported transports?

Yes.  By default, a RTSP server will support RTP-over-UDP, and RTP-over-RTSP(TCP).  However, if you call
        setUpTunnelingOverHTTP()
(with a non-zero port number) on your “RTSPServer” object - as is done in the “testOnDemandRTSPServer” and “live555MediaServer” applications - then it will also support RTP-over-HTTP(TCP) .

Also, if you call
        disableStreamingRTPOverTCP()
on your “RTSPServer” object, it will not support RTP-over-RTSP(TCP) streams, nor RTP-over-HTTP(TCP) streams.  I.e., it will support RTP-over-UDP only.

In summary, if you want to support only RTP-over-UDP, then call
        disableStreamingRTPOverTCP()

(Note that there is no way to tell your server that to accept *only* RTP-over-TCP (RTSP or HTTP).   Nor will there ever be; RTP-over-TCP is generally discouraged.)


> Also, it is possible to tunnel RTSP session over HTTP / HTTPS, but seems that this can work only in addition for non-HTTP/HTTPS server and we can't host only HTTP / HTTPS, is that true?

I’m not sure I understand this question - but we currently support RTP-over-HTTP in both our client and our server implementation.  However, we currently do not support RTP-over-HTTPS  (for either our client or server), although it’s likely that we will support this sometime in the future.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel



More information about the live-devel mailing list