fromFFI static method
RtcVideoSourceStats
fromFFI(
- RtcMediaSourceStatsMediaType_RtcVideoSourceStats stats,
- String? trackIdentifier
override
Creates RtcVideoSourceStats basing on the
ffi.RtcMediaSourceStatsMediaType_RtcVideoSourceStats
received from the
native side.
Implementation
static RtcVideoSourceStats fromFFI(
ffi.RtcMediaSourceStatsMediaType_RtcVideoSourceStats stats,
String? trackIdentifier) {
return RtcVideoSourceStats(stats.width, stats.height, stats.frames,
stats.framesPerSecond, trackIdentifier);
}