AgoraIO-Extensions / Agora-Flutter-SDK

Flutter plugin of Agora RTC SDK for Android/iOS/macOS/Windows
https://pub.dev/packages/agora_rtc_engine
MIT License
724 stars 380 forks source link

RenderModeType.renderModeFit only works for local screenshare video but not remote screenshare video #1894

Closed amit3xpo closed 1 month ago

amit3xpo commented 1 month ago

Version of the agora_rtc_engine

6.3.2

Platforms affected

Steps to reproduce

  1. Join channel and share screen
  2. Join same channel from another instance
  3. Notice the screenshare video render as local and remote user

Expected results

Screenshare video for remote with renderModeFit should have the video as a contained fit.

Actual results

Screenshare video for remote with renderModeFit has video as cover (zoomed to fill). This happens only when loading remote video. However, local video render works as expected which is contained.

Code sample

```dart AgoraVideoView( controller: VideoViewController.remote( rtcEngine: _engine, canvas: const VideoCanvas( uid: e, renderMode: RenderModeType.renderModeFit, sourceType: VideoSourceType.videoSourceScreen, ), connection: RtcConnection(channelId: rtcChannelName), ), ) ```

Screenshots or Video

Screenshots / Video demonstration ### Video render for screenshare from local user image ### Video render for screenshare from remote user (used renderModeFit) image

Logs

Logs ```console [Paste your logs here] ```

Flutter Doctor output

Doctor output ```console [Paste your output here] ```
littleGnAl commented 1 month ago

Related https://github.com/AgoraIO-Extensions/Agora-Flutter-SDK/issues/1765, the render mode is not supported on the web at this time.

github-actions[bot] commented 1 month ago

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.

github-actions[bot] commented 1 month ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.