webrtcstats: Unify 'packets-lost' data type to int64 86/273286/2
authorSangchul Lee <sc11.lee@samsung.com>
Mon, 28 Mar 2022 12:25:50 +0000 (21:25 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Fri, 1 Apr 2022 13:38:21 +0000 (22:38 +0900)
commit05dc3d4aae902b6ecd432badb845b3343697f7fe
tree24e0f0500629bdd243cd14360864738dad71d409
parentadb2aa42c5d7b89b1790c605257a958e7aca94c5
webrtcstats: Unify 'packets-lost' data type to int64

Previously, 'packets-lost' member of RTCReceivedRtpStreamStats had
a value of G_TYPE_INT from rtpsource or a value of G_TYPE_UINT64
from rtpjitterbuffer.
Because of the negative value of estimated amount of packets lost
in rtpsource as well as the description in
https://www.w3.org/TR/webrtc-stats/#dom-rtcreceivedrtpstreamstats
it is fixed to set this value with G_TYPE_INT64.

Change-Id: Ife744ab6d039fda1647c893089d1cacbc04a508a
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2049>
subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c
subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcstats.c
subprojects/gst-plugins-bad/tests/check/elements/webrtcbin.c