twilio / twilio-video-ios

Programmable Video SDK by Twilio
http://twilio.com/video
Other
64 stars 22 forks source link

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

Open dsngeu opened 4 years ago

dsngeu commented 4 years ago

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 commented 4 years ago

@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 commented 4 years ago

@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 commented 4 years ago

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

piyushtank commented 3 years ago

@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.