Answer the question
In order to leave comments, you need to log in
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
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question