[Live-devel] Enabling RTSPS & SRTP in v4l2rtspserver with Live555 – Retrieving MIKEY Data from SDP

Manikandan Valaguru manikandan.v at e-consystems.com
Mon Mar 24 06:02:45 PDT 2025


Hi,
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.
>From my understanding:

  *
RTSPS can be encrypted using the appropriate TLS certificate.
  *
SRTP requires a key for decryption, which can be obtained from the MIKEY data in the SDP (Session Description Protocol) of the RTSP response.
  *
Using this key, I need to construct a GStreamer pipeline to decrypt the SRTP packets.

Could you confirm if this understanding is correct?
Additionally, I am writing a C application to extract the MIKEY data from the SDP in the RTSP response sent by GStreamer. However, I am unable to retrieve this data.
Interestingly, VLC is able to stream and play the video correctly, but I am unsure how VLC handles SRTP key exchange. Any insights into how VLC manages this process would also be helpful.
Are there any examples or guidance on how to extract MIKEY data from the SDP using Live555? Any help or pointers would be greatly appreciated.

Thank you for your time.



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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20250324/119830ca/attachment.htm>


More information about the live-devel mailing list