How to have re-transmission for packet loss in RTSP

Usama Tahseen Ul Haque via gstreamer-devel <[email protected]>
Newsgroups gmane.comp.video.gstreamer.devel
Message-ID <CAGwoiTZW_2sLT+5--Oo+a20seEcYNnwRK+84BEkO5-mjF-fcpQ@mail.gmail.com>
I have tried to follow this example for RTSP retransmission.
https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-video-rtx.c


  gst_rtsp_media_factory_set_profiles (factory, GST_RTSP_PROFILE_AVPF);

When the profile is set like above , ffmpeg / mplayer  / VLC is not able to
play and says that it is an unsupported protocol. I don't know which player
supports this protocol, only the gstreamer player is able to play the video.

When the gst_rtsp_media_factory_set_profiles line  is removed then all the
players are working but there is a lot of artifact on the video if there is
packet loss.

everything is working fine on local env but on cloud there are artifact
because of packet loss

I also tried making retransission_time to 10 sec but it did not work.
gst_rtsp_media_factory_set_retransmission_time (factory, 10000 *
GST_MSECOND);

Tried enabling RTCP as required for NACK (did not work i can see RTCP
messages in wireshark )

gst_rtsp_media_factory_set_enable_rtcp(factory , 1);

Tried setting  retransmission true (Did not worked )

gst_rtsp_media_factory_set_do_retransmission(factory,1);

I still get the artifacts / glitches on the video some time video just
stuck on the client side
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.