fromFFI static method
RtcRemoteOutboundRtpStreamStats
fromFFI(
- RtcStatsType_RtcRemoteOutboundRtpStreamStats stats
override
Creates RtcRemoteOutboundRtpStreamStats basing on the
ffi.RtcStatsType_RtcRemoteOutboundRtpStreamStats
received from the
native side.
Implementation
static RtcRemoteOutboundRtpStreamStats fromFFI(
ffi.RtcStatsType_RtcRemoteOutboundRtpStreamStats stats,
) {
return RtcRemoteOutboundRtpStreamStats(
stats.localId,
stats.remoteTimestamp,
stats.reportsSent?.toInt(),
);
}