srt: Fix type of bytes-received-lost

The field is a uint64_t.
This commit is contained in:
Jan Alexander Steffens (heftig) 2020-03-23 16:38:58 +01:00
parent 132e3a1af9
commit d19b3fccb5
No known key found for this signature in database
GPG key ID: DE5E0C5F25941CA5

View file

@ -1510,7 +1510,7 @@ get_stats_for_srtsock (SRTSOCKET srtsock, gboolean is_sender)
/* number of sent NAK packets */ /* number of sent NAK packets */
"packet-nack-sent", G_TYPE_INT, stats.pktSentNAK, "packet-nack-sent", G_TYPE_INT, stats.pktSentNAK,
"bytes-received", G_TYPE_UINT64, stats.byteRecvTotal, "bytes-received", G_TYPE_UINT64, stats.byteRecvTotal,
"bytes-received-lost", G_TYPE_INT, stats.byteRcvLossTotal, "bytes-received-lost", G_TYPE_UINT64, stats.byteRcvLossTotal,
"receive-rate-mbps", G_TYPE_DOUBLE, stats.mbpsRecvRate, "receive-rate-mbps", G_TYPE_DOUBLE, stats.mbpsRecvRate,
"negotiated-latency-ms", G_TYPE_INT, stats.msRcvTsbPdDelay, NULL); "negotiated-latency-ms", G_TYPE_INT, stats.msRcvTsbPdDelay, NULL);