-
Notifications
You must be signed in to change notification settings - Fork 93
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
App Screen Sharing has cropped width #13
Comments
[copying my comment from Slack] |
@ROBYER1 and to add the reason why web is cropping the content is because it's using "cover" mode for content hint option. if you use "contain" it will display all content (but you will see black edges) |
This doesn't apply to me I am using Unity Editor and a built app on IOS/Android, I can see the raw exact video feed coming in and it is cropped as @icywind mentioned. What you mention with the image fitting is a different problem that can be easily fixed. |
Rob, I've updated the Adv. Demo+ with fall back dimension to avoid cropping. |
…deoImage fix pushEncodedVideoImage
App screen sharing is cropped on the width, it seems some aspect ratios are not supported
This cropping is visible clearly in the documentation even in the example screenshots, so if it is expected behaviour, it means that some areas of the screen are cropped which is inadequate for our use cases which require a proper full-screen view.
https://docs.agora.io/en/Video/screensharing_unity?platform=Unity
Screen shot from docs:
![image](https://user-images.githubusercontent.com/10745594/108184705-68ade700-7103-11eb-86f8-d19c60e85ce2.png)
This affects:
Using:
-Agora SDK Asset Store Version 3.2.1.72 - February 01, 2021
-Unity 2020.2.4f1
-Windows 10/Mac Big Su
-IOS 14/Android 10
Very simple to replicate:
We have been unable to find a fix and the cropping doesn't seem to happen when sharing between Unity Editors, however there is a hint below from another user on the Agora Slack channel that may help:
From Stamblew on Agora Slack:
"the problem was the video dimensions set at the VideoEncoderConfiguration instance. Some dimensions are not accepted by Agora, so it falls back to a default one, I guess, which crops the video frame."
The text was updated successfully, but these errors were encountered: