remoteView method

AgoraVideoView? remoteView(
  1. int agoraUid,
  2. String channel
)

Implementation

AgoraVideoView? remoteView(int agoraUid, String channel) {
  if (!_engineHasInit) return null;
  return AgoraVideoView(
    controller: VideoViewController.remote(
      rtcEngine: _engine,
      canvas: VideoCanvas(uid: agoraUid),
      connection: RtcConnection(channelId: channel),
    ),
  );
}