get packet lost on a mpeg-ts udp multicast stream?

Patrick Fischer patrick.fischer at vitec.com
Mon May 6 09:27:05 UTC 2019


is there a way to see the packet lost on a mpeg-ts udp multicast stream?

I had hoped that you could get the data with stats of the source. But
the udpsrc doesn't have that. Is there a way?


This didn't work:

static void
print_source_stats (GObject * source)
{
  GstStructure *stats;
  gchar *str;

  g_return_if_fail (source != NULL);

  /* get the source stats */
  g_object_get (source, "stats", &stats, NULL);

  /* simply dump the stats structure */
  str = gst_structure_to_string (stats);
  g_print ("source stats: %s\n", str);

  gst_structure_free (stats);
  g_free (str);
}



More information about the gstreamer-devel mailing list