How to get packet-loss statistics at receiver side in Video streaming

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to get packet-loss statistics at receiver side in Video streaming

gstreader
I have a video streaming application where am reading an YUV files . After x264 encoding  am sending the encoded data over the network.

On the receiver side I would like to get the packet-loss statistics using c code.
I have written the basic receiver side code in c, but how will get the packet-loss statistics using c code?

Receiver side pipeline:

gst-launch -v gstrtpbin name=rtpbin latency=500             \
   udpsrc caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264" port=5000 ! rtpbin.recv_rtp_sink_0         \
   rtpbin.recv_rtcp_src_0! rtph264depay! ffmpegcolorspace !xvimagesink       \
   udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0                         \
   rtpbin.send_rtcp_src_0 ! udpsink port=5005 host=127.0.0.1 sync=false async=false
Reply | Threaded
Open this post in threaded view
|

Re: How to get packet-loss statistics at receiver side in Video streaming

gstreader
Please add your comments.
Thanks in advance.
Reply | Threaded
Open this post in threaded view
|

Re: How to get packet-loss statistics at receiver side in Video streaming

Sebastian Dröge-3
In reply to this post by gstreader
On So, 2016-02-28 at 19:34 -0800, gstreader wrote:
> I have a video streaming application where am reading an YUV files . After
> x264 encoding  am sending the encoded data over the network. 
>
> On the receiver side I would like to get the packet-loss statistics using c
> code.
> I have written the basic receiver side code in c, but how will get the
> *packet-loss statistics using c code*?

https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/examples/rtp/client-PCMA.c#n59

Also look at the other code there.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment