Heads up! We're sunsetting this forum to streamline our community space.
join us on Discord for support, updates, and all things Snap AR! See you there!
join us on Discord for support, updates, and all things Snap AR! See you there!
Comments
-
Awesome! thanks!!
-
Solved the issue! My mistake. The documentation says it clearly: // It's important you start the capture session after starting the CameraKit session // because the CameraKit input and session configures the capture session implicitly and you may run into a // race condition which causes some audio and video output frames…
-
The swift code doesn't have the 9 seconds delay on initilization. But it has this error in the logs 2022-10-07 15:44:50.294130-0300 CameraKitSample[2271:633813] Metal API Validation Enabled [SG][I] [GL::Device] platformDeviceString: Apple Inc. Apple A10 GPU OpenGL ES 3.0 Metal - 66.6[SG][I] CORE: OpenGL Version string:…
-
I'm afraid the 3-7 seconds delay this user experiences is related to camerakit initialization time that I posted on https://community.snap.com/snapar/discussion/1166/objective-c#latest and not related to fetching lenses...
-
@arashp why does it take 9 seconds for this method to complete? [self.cameraKit startWithInput:input arInput:arInput cameraPosition:AVCaptureDevicePositionFront videoOrientation:AVCaptureVideoOrientationPortrait dataProvider:dataProvider hintDelegate:nil textInputContextProvider:nil…
-
We re-wrote a basic version of the demo app 100% in objective c successfully. We’re able to start a session and apply a lens. It was a great learning experience of the camera kit flow 🤓 There’s a 10 seconds delay for the camera preview to show for the first time. We’re currently investigating it. We also implemented a…
-
@arashp thanks for the info. Our main code base is swift but one of our developers likes to create quick prototypes of features in objective c and that’s why I was asking! Thanks
-
@stevenxu on the demo code on GitHub it is shown how to share content using CreativeKit let content = SCSDKPhotoSnapContent(snapPhoto: photo) sendSnapContent(content, viewController: viewController) on this code…
-
Here's what we tried
-
When we import the bridge header “-swift.h” for the UI sdk we still can’t access the classes properly. I think the sdk isn’t exposing the classes fully to objc c
-
Nevermind @stevenxu I figured out the sample on the repo already does that!
-
Specifically could you show this in objective c? https://github.com/Snapchat/camera-kit-reference/blob/main/samples/ios/CameraKitSample/CameraKitSample/AppDelegate.swift Thanks