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

Screen sharing via Replay kit , right and left some portion of sharing video get cut off #99

Open
dsngeu opened this issue May 11, 2020 · 4 comments
Assignees

Comments

@dsngeu
Copy link

dsngeu commented May 11, 2020

when I try to broadcast screen sharing using Replaykit,
on other android device shared video's left and right some portion get cut off.

https://imgur.com/a/JmJ5byy

@piyushtank piyushtank self-assigned this May 12, 2020
@piyushtank
Copy link
Contributor

@dsngeu Apologies for the late response.

It seems like an issue of aspect ratio of the frame captured by iOS is not same as the android rendering side. Can you update your video view renderer on android side to make sure it maintains the aspect ratio.

Let me know if you have any questions.

@dsngeu
Copy link
Author

dsngeu commented May 27, 2020

@piyushtank this is also happing in iOS
if I broadcast screen content using Reply kit by iOS device, and on other iOS device left right portion of shared image cut off.

what could be the its solution?

@dsngeu
Copy link
Author

dsngeu commented May 28, 2020

@piyushtank
how to I change aspect ratio of the frame captured by iOS?

@piyushtank
Copy link
Contributor

@dsngeu were you able to solve the problem? You can change the aspect ratio by setting the video format APIs. Let me know if you have any questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants