mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
srt: Add more fields to application/x-srt-statistics
In order to see how many packets where retransmitted and how many was dropped we add some new fields. Please see https://github.com/Haivision/srt/blob/master/docs/API/statistics.md For details about the new fields. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5322>
This commit is contained in:
parent
900a9c47be
commit
e7ae5f0995
1 changed files with 4 additions and 0 deletions
|
@ -2050,6 +2050,10 @@ get_stats_for_srtsock (GstSRTObject * srtobject, SRTSOCKET srtsock)
|
||||||
"negotiated-latency-ms", G_TYPE_INT, stats.msSndTsbPdDelay,
|
"negotiated-latency-ms", G_TYPE_INT, stats.msSndTsbPdDelay,
|
||||||
"packets-received", G_TYPE_INT64, stats.pktRecvTotal,
|
"packets-received", G_TYPE_INT64, stats.pktRecvTotal,
|
||||||
"packets-received-lost", G_TYPE_INT, stats.pktRcvLossTotal,
|
"packets-received-lost", G_TYPE_INT, stats.pktRcvLossTotal,
|
||||||
|
/* number of retransmitted packets registered at receiver side */
|
||||||
|
"packets-received-retransmitted", G_TYPE_INT, stats.pktRcvRetrans,
|
||||||
|
/* number of dropped packets by the receiver */
|
||||||
|
"packets-received-dropped", G_TYPE_INT, stats.pktRcvDropTotal,
|
||||||
/* number of sent ACK packets */
|
/* number of sent ACK packets */
|
||||||
"packet-ack-sent", G_TYPE_INT, stats.pktSentACK,
|
"packet-ack-sent", G_TYPE_INT, stats.pktSentACK,
|
||||||
/* number of sent NAK packets */
|
/* number of sent NAK packets */
|
||||||
|
|
Loading…
Reference in a new issue