ARVideoKit
ARVideoKit copied to clipboard
Not supported for an iPad application
Hi team,
The video and photo capture are supporting only for iPhone application. It doesn't support for iPad application. The video looks very stretched.
Kindly fix this and update it for iPad too.
@senthilece01, thank you for informing me about this issue.
I have actually found that issue recently and I'm working on a fix!
-Ahmed
Thank you @AFathi . Kindly update here once you fix the issues.
@senthilece01,
Of course, will do!
-Ahmed
Any update ? Have you fixed it ?
@senthilece01,
I wasn't able to confirm whether the fix works or not since I don't have access to any ARKit-supported iPad. However, I can share with you where I think the issue the coming from so you edit the source code and test it.
So, I believe the main issue is coming from the way I'm scaling the rendered frame. I'd suggest to take a look at the bufferSize
object in the ARVideoKit/Rendering/RenderAR.swift
file. Try changing the width and height by checking whether the device is iPad or not.
![screen shot 2018-02-11 at 8 01 24 pm](https://user-images.githubusercontent.com/4106695/36081039-79d36790-0f67-11e8-8137-3d28ab2f4c14.png)
It would be greatly appreciated if you fix it and create pull request to this repository.
-Ahmed
@senthilece01, Can you also please send a screenshot of how the video looks like after exporting?
@AFathi Please check the below image. It looks very stretched after captured the photo in an iPad.
is it done ?