fromFFI static method
RtcRemoteInboundRtpStreamStats
fromFFI(
- RtcStatsType_RtcRemoteInboundRtpStreamStats stats
override
Creates RtcRemoteInboundRtpStreamStats basing on the
ffi.RtcStatsType_RtcRemoteInboundRtpStreamStats
received from the native
side.
Implementation
static RtcRemoteInboundRtpStreamStats fromFFI(
ffi.RtcStatsType_RtcRemoteInboundRtpStreamStats stats,
) {
return RtcRemoteInboundRtpStreamStats(
stats.localId,
stats.roundTripTime,
stats.fractionLost,
stats.roundTripTimeMeasurements,
stats.jitter,
stats.reportsReceived?.toInt(),
);
}