<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="margin-top: 1em; margin-bottom: 1em; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,<br>
<br>
</div>
<div class="elementToProof" style="margin-top: 1em; margin-bottom: 1em; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you for your valuable input.</div>
<div class="elementToProof" style="margin-top: 1em; margin-bottom: 1em; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have not used any applications with <code>testprog</code>, but I have compiled <b>
OPENRTSP (LIVE555) with OpenSSL enabled</b>. However, I am still unable to preview the stream. The command I am currently using is:</div>
<div class="elementToProof" style="margin-top: 1em; margin-bottom: 1em; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
openRTSP -D 1 -P 4 -t -u econ:econ -d 60 -q "rtsp://192.168.0.171:5005/routecam"<br>
<br>
Despite this, I am unable to obtain a preview.</div>
<div class="elementToProof" style="margin-top: 1em; margin-bottom: 1em; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Could you confirm if this is the correct approach for streaming from an RTSP server? Additionally, I have limited experience with
<b>OPENRTSP</b>, so I would appreciate it if you could provide the appropriate command to stream both
<b>RTSP and SRTP packets</b> using OPENRTSP.</div>
<div class="elementToProof" style="margin-top: 1em; margin-bottom: 1em; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Looking forward to your guidance.</div>
<div class="elementToProof" style="margin-top: 1em; margin-bottom: 1em; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="margin-top: 1em; margin-bottom: 1em;">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Regards,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Manikandan</div>
</div>
<div class="elementToProof" style="margin-top: 1em; margin-bottom: 1em; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
<br>
<br>
</div>
<div id="appendonsend"></div>
<hr style="display: inline-block; width: 98%;">
<div style="direction: ltr; font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
<b>From:</b> live-devel <live-devel-bounces@us.live555.com> on behalf of Ross Finlayson <finlayson@live555.com><br>
<b>Sent:</b> Monday, March 24, 2025 8:55 PM<br>
<b>To:</b> LIVE555 Streaming Media - development & use <live-devel@us.live555.com></div>
<div class="elementToProof" id="divRplyFwdMsg" dir="ltr"><span style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><b>Subject:</b> Re: [Live-devel] Enabling RTSPS & SRTP in v4l2rtspserver with Live555 – Retrieving MIKEY Data from
SDP</span></div>
<div style="direction: ltr;"> </div>
<div class="elementToProof" style="font-size: 11pt;">[You don't often get email from finlayson@live555.com. Learn why this is important at
<a href="https://aka.ms/LearnAboutSenderIdentification" id="OWAfc6c2279-f077-d6ae-b1b7-7742fa4c3ed6" class="OWAAutoLink" data-auth="NotApplicable">
https://aka.ms/LearnAboutSenderIdentification</a> ]<br>
<br>
> On Mar 24, 2025, at 11:02 PM, Manikandan Valaguru <manikandan.v@e-consystems.com> wrote:<br>
><br>
> Hi,<br>
> I am using a custom v4l2rtspserver that is built on Live555, and I am working on enabling RTSPS (RTSP over TLS) and SRTP (Secure RTP) for secure streaming. My goal is to stream video securely and play it back in GStreamer.<br>
<br>
Unfortunately we can’t help you with ‘GStreamer’, as that is not our software. However, our (LIVE555) RTSP client implements RTSPS and SRTP; you can see this by running our “testRTSPClient” or “openRTSP” client applications, using a “rtsps://“ URL. You may
find it simpler to write a LIVE555-based client application (perhaps based on “testRTSPClient”) instead.<br>
<br>
<br>
> From my understanding:<br>
> • RTSPS can be encrypted using the appropriate TLS certificate.<br>
<br>
Yes. I assume (because your RTSP server uses the LIVE555 code) that you called “setTLSState()” on your “RTSPServer” after you created it.<br>
<br>
<br>
> • SRTP requires a key for decryption, which can be obtained from the MIKEY data in the SDP (Session Description Protocol) of the RTSP response.<br>
<br>
Yes.<br>
<br>
<br>
> • Using this key, I need to construct a GStreamer pipeline to decrypt the SRTP packets.<br>
<br>
Again, we can’t help you with this; ‘GStreamer’ is not our software.<br>
<br>
<br>
> Additionally, I am writing a C application to extract the MIKEY data from the SDP in the RTSP response sent by GStreamer.<br>
<br>
The MIKEY data can be found in the "a=key-mgmt:” attribute in the SDP description. (Again, if you were to use our RTSP client code, you would not need to worry about this, because our code does this (plus the SRTP key derivation from the MIKEY data) automatically.)<br>
<br>
If you haven’t already done so, I suggest looking at our “mikeyParse” application (which can be found - along with “testRTSPClient” and “openRTSP” - in the “testProgs” directory). “mikeyParse” takes, as argument, the Base64 (i.e., ASCII) data that you find
in the SDP "a=key-mgmt:” attribute.<br>
<br>
<br>
> Interestingly, VLC is able to stream and play the video correctly<br>
<br>
That’s because VLC also uses our RTSP client implementation.<br>
<br>
<br>
> , but I am unsure how VLC handles SRTP key exchange<br>
<br>
There is no SRTP key ‘exchange’; instead, the server sends (over the RTSP connection, which is encrypted) the MIKEY data to the client, which then derives the SRTP keying information from this. Again, our RTSP client code does all of this for you.<br>
<br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/" id="OWA4176a6d6-d7fc-9436-efeb-cb9cf74711f5" class="OWAAutoLink" data-auth="NotApplicable">http://www.live555.com/</a><br>
<br>
<br>
_______________________________________________<br>
live-devel mailing list<br>
live-devel@lists.live555.com<br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" id="OWA95e1232e-2d5d-73e1-9da3-380589f1385f" class="OWAAutoLink" data-auth="NotApplicable">http://lists.live555.com/mailman/listinfo/live-devel</a></div>
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Taking any action
in reliance on the contents of this information is strictly prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. WARNING: Although the company has taken reasonable precautions
to ensure no viruses are present in this email, e-con cannot accept responsibility for any loss or damage arising from the use of this email or attachment.
</body>
</html>