Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The render mode of AgoraVideoView is not supported on the web #1765

Open
1 of 5 tasks
Silfalion opened this issue May 13, 2024 · 5 comments
Open
1 of 5 tasks

The render mode of AgoraVideoView is not supported on the web #1765

Silfalion opened this issue May 13, 2024 · 5 comments
Labels
bug Something isn't working keep track platform-web

Comments

@Silfalion
Copy link

Version of the agora_rtc_engine

6.3.1

Platforms affected

  • Android
  • iOS
  • macOS
  • Windows
  • Web

Steps to reproduce

1- copy paste the default example from the repo
2- connect another user to the call
3- notice the difference in the video zoom shown locally and for the user who just connected

Expected results

The video should show normally without being zoomed in. With black marks where the aspect ratio doesn't fit if we the fit render type

Actual results

Video is zoomed in no matter the render type used

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
18:53:20:694 Agora-SDK [DEBUG]: [track-cam-ba779fbd] current video dimensions: 640 480

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.19.6, on Ubuntu 23.10 6.5.7-060507-generic,
    locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.89.0)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!
@littleGnAl
Copy link
Collaborator

The render mode of AgoraVideoView is not yet supported on the web.

@littleGnAl littleGnAl added the waiting for customer response waiting for customer response, or closed by no-reponse bot label May 16, 2024
@littleGnAl littleGnAl changed the title Video zoomed in on web The render mode of AgoraVideoView is not supported on the web May 16, 2024
@Silfalion
Copy link
Author

Understood. So there is no way to fix the zoomed image as of now?

@github-actions github-actions bot removed the waiting for customer response waiting for customer response, or closed by no-reponse bot label May 16, 2024
@littleGnAl
Copy link
Collaborator

Maybe you can wrap a FittedBox widget to it, but you need to know the video width/height first.

@littleGnAl littleGnAl added the waiting for customer response waiting for customer response, or closed by no-reponse bot label May 16, 2024
Copy link
Contributor

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.

@Silfalion
Copy link
Author

Really sorry for the late reply.

Fitted box doesn't unfortunately fix the issue, it's an improvement aesthetically but the renderer doesn't seem to take into account it's surrounded by it. So it keeps the zoomed in aspect. Thank you for the suggestion though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working keep track platform-web
Projects
None yet
Development

No branches or pull requests

2 participants