<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 19 mars 2019 06 h 26, vk_gst <<a href="mailto:venkateshkuppan26@gmail.com">venkateshkuppan26@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have the following setup: <br>
the client & server connected via LTE to a local server with separate IP<br>
address for UDP streaming.<br>
client= 192.168.5.x<br>
server = 192.168.5.y<br>
<br>
I am trying to stream video from server to client using GStreamer.<br>
(short names used below in pipelines)<br>
<br>
server = imxv4l2src ! imxh264enc ! h264parse ! rtph264pay ! rtpbin.send_rtp<br>
! udpsink 192.168.5.x port=5001<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I don't see any bitrate configuration on the encoder and the udpsink. Maybe transmission is too bursty?</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
client = udpsrc port=5001 ! rtpbin.recv_rtp ! rtph264depay ! h264parse !<br>
avdec_h264 ! autovideosink<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Maybe you need to increase the socket buffer size ?</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
However, at the client side I receive the following errors:<br>
<br>
pipeline0 from <enum GST_STATE_NULL of type Gst.State> to <enum<br>
GST_STATE_READY of type Gst.State><br>
state change msg =  GstMessageStateChanged<br>
pipeline0 from <enum GST_STATE_NULL of type Gst.State> to <enum<br>
GST_STATE_READY of type Gst.State><br>
state change msg =  GstMessageStateChanged<br>
pipeline0 from <enum GST_STATE_READY of type Gst.State> to <enum<br>
GST_STATE_PAUSED of type Gst.State><br>
state change msg =  GstMessageStateChanged<br>
pipeline0 from <enum GST_STATE_READY of type Gst.State> to <enum<br>
GST_STATE_PAUSED of type Gst.State><br>
state change msg =  GstMessageStateChanged<br>
0:00:00.825717967  4088      0x25dc2d0 WARN               rtpsource<br>
rtpsource.c:1184:update_receiver_stats: probation: seqnr 49703 != expected<br>
49554<br>
0:00:00.977509125  4088      0x25dc2d0 WARN               rtpsource<br>
rtpsource.c:1184:update_receiver_stats: probation: seqnr 49890 != expected<br>
49704<br>
0:00:01.127490025  4088      0x25dc2d0 WARN               rtpsource<br>
rtpsource.c:1184:update_receiver_stats: probation: seqnr 50040 != expected<br>
49891<br>
0:00:01.371342426  4088      0x25dc2d0 WARN               rtpsource<br>
rtpsource.c:1184:update_receiver_stats: probation: seqnr 50310 != expected<br>
50041<br>
0:00:02.181474240  4088      0x25dc2d0 WARN               rtpsource<br>
rtpsource.c:1184:update_receiver_stats: probation: seqnr 51011 != expected<br>
50311<br>
0:00:03.655496030  4088      0x25dc2d0 WARN               rtpsource<br>
rtpsource.c:1184:update_receiver_stats: probation: seqnr 51810 != expected<br>
51012<br>
0:00:03.807527304  4088      0x25dc2d0 WARN               rtpsource<br>
rtpsource.c:1184:update_receiver_stats: probation: seqnr 51930 != expected<br>
51811<br>
0:00:03.867335896  4088      0x25dc2d0 WARN               rtpsource<br>
rtpsource.c:1184:update_receiver_stats: probation: seqnr 51989 != expected<br>
51931<br>
0:00:04.291383138  4088      0x25dc2d0 WARN               rtpsource<br>
rtpsource.c:1184:update_receiver_stats: probation: seqnr 52357 != expected<br>
51990<br>
<br>
<br>
The same application works, when I use a WiFi adhoc connection between the<br>
client-server devices. Another applicatiion which uses UDP based<br>
communication to send continuous 20 bytes of sensor data  to client device<br>
over LTE works fine as well.<br>
<br>
I believe the packets are getting lost as I am using LTE and a local server.<br>
Hence the client pipeline never goes into PLAYING state. And this is the<br>
reason why Gstreamer is unable to display the video. The ping latency<br>
between client-server is between 120-140 ms.  <br>
<br>
Can anyone point out some hints, that might help.<br>
<br>
Regards<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div></div></div>