pushClientMixedStreamExternalVideoFrame method
Implementation
Future<int?> pushClientMixedStreamExternalVideoFrame(
string uid, VideoFrameData frame) async {
$a() =>
($instance as $p_a.RTCEngine).pushClientMixedStreamExternalVideoFrame(
uid, unpackObject<$p_a.VideoFrameData>(frame));
$i() => ($instance as $p_i.ByteRTCEngine)
.pushClientMixedStreamExternalVideoFrame(
uid, unpackObject<$p_i.ByteRTCVideoFrameData>(frame));
if (Platform.isAndroid) {
return $a();
} else if (Platform.isIOS) {
return $i();
} else {
throw UnsupportedError(
'Not Support Platform ${Platform.operatingSystem}');
}
}