How to reproduce RTP stream? #311
Replies: 2 comments
-
RTP playback requires an sdp file that describes the stream. It can then be opened in VLC. The instructions here are relevant: https://www.matrox.com/en/file/9551/download?token=GMy71qbs |
Beta Was this translation helpful? Give feedback.
-
RTSP uses RTP internally, but unfortunately pure RTP streams are not RTSP streams, and must be converted into RTSP streams to be accepted and served by rtsp-simple-server. The first step consists in obtaining the SDP file corresponding to the RTP stream - the SDP file contains infos about
of the stream. After you have it, try to open it with VLC and see if it works. Then, you can read the RTP stream with ffmpeg and convert it into RTSP:
|
Beta Was this translation helpful? Give feedback.
-
Which version are you using?
v0.13.3
Question
I have a DVR that has a camera and it uses a SIM card to communicate with the external world. If the DVR receives an instruction to perform live streaming, the DVR starts sending RTP packets through UDP or TCP to a server.
How can I view the RTP stream? I think I don't understand how RTP and RTSP are connected. I understand the theory but I find it difficult to put it into practice.
I'm running the RTSP with Docker (
docker run --rm -it --network=host aler9/rtsp-simple-server
) - terminal output:My DVR is sending RTP packets using UDP to the
{my_IP}:8000
. How can I stream the video using for example VLC media player?I'm a newbie in this field and I might be confusing some concepts. Any help or advice is welcome.
Beta Was this translation helpful? Give feedback.
All reactions