D
D
Decker2016-10-16 13:52:59
Video
Decker, 2016-10-16 13:52:59

The SDP description contains SAVP. How to play such RTSP (SRTP) stream on PC?

Good day. Interested in the possibility of playing an RTSP (SRTP) stream on a PC. The situation is as follows, there is some device that broadcasts an RTSP stream to the network, there is an Android application that plays this stream using libvlcjni.so. The Android version of libvlc is LibVLC/3.0.0-git (LIVE555 Streaming Media v2014.07.25). I pulled out the URL of the stream, as well as everything I needed from the application, however, I can’t play it on a PC through the same VLC Player (different versions were tried, including VLC 3.0 Vetinari) ... 3.0 does not play it, and the latest 2.2.4 swears at an error in the description of SDP, in the logs the following:
Bad SDP "m=" line: m=video 0/0 TCP/RTP/SAVP 33
As I understand it, he does not like exactly SAVP, which (again, as I understand it) refers to SRTP. I know about the VLC keys --srtp-salt "" --srtp-key "", however, the traffic analysis of the Android application that successfully plays this stream shows that encryption is not used, as it were, i.e. keys are not transferred.
On Android, immediately after receiving the SDP, broadcasting starts:

E/VLC-std (18390): m=video 0/0 TCP/RTP/SAVP 33
E/VLC-std (18390): 
D/VLC     (18390): [b88103cc] live555 demux: RTP subsession 'video/MP2T'
E/VLC-std (18390): Sending request: 
E/VLC-std (18390): SETUP rtsp://192.168.1.27:50554/streams/f9f9dd2e-82f1-2167-cd20-e9eec07afe71/ RTSP/1.0
E/VLC-std (18390): CSeq: 4
E/VLC-std (18390): User-Agent: LibVLC/3.0.0-git (LIVE555 Streaming Media v2014.07.25)
E/VLC-std (18390): Transport: RTP/AVP;unicast;client_port=33450-33451

But for some reason there is a problem with VLC on PC. A cursory analysis of forums, etc. on the Internet did not lead to a solution to the problem, someone writes that VLC simply does not understand SRTP, someone that, on the contrary, understands, but because SRTP decoding in VLC is built on the basis of liblive555_plugin.dll, it still won't work, because the live555 library, allegedly, has not yet been taught to understand SRTP. In general, advice is needed on how to play or convert such a stream. Under Linux or Windows - all the same.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question