videoDimensions property

VideoDimensions videoDimensions

Screen size when connecting to a remote.

This is determined by AgoraVideoProfile. If you want to change it, use setScreen.

リモートに接続する際の画面サイズ。

AgoraVideoProfileによって決定されます。変更したい場合はsetScreenを利用してください。

Implementation

VideoDimensions get videoDimensions {
  switch (orientation) {
    case AgoraVideoOrientation.landscape:
      return _videoProfile.landscape;
    case AgoraVideoOrientation.portrait:
      return _videoProfile.portrait;
  }
}