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
-
Hi @Aditya! Could you possibly share a screenshot?
-
Hi @"kota nakamura"! Do you have Camera Kit enabled in the currently active version of your app?
-
Hi there! Yes, you can use Camera Kit Web in your Electron and WebRTC powered apps :)
-
Hi @"Plurality Web3". We apologize for the inconvenience. The site has been restored.
-
Hi @"Benedict Wong"! Thank you for your post. If you could share some sample code, that would help us figure out what's going on better. Generally, you should be able to able to find success with code from our sample apps: https://camera-kit.snapchat.com/websdk/sample/basic
-
Hi @Reece! Thanks for your post. Currently, only select Lenses are eligible as a Web AR experience. We're working to expand the selection in the near future.
-
Hey @Kevando! You should be able to do this out of the box with the Web SDK by calling applyConstraints on your webcam's MediaStream and switching back and forth between a 'user' and 'environment' facing mode. If you have any questions, please let me know!
-
Hi @Kevando! Thanks for your post! Unfortunately, this is a known issue. There are some limitations in Safari, namely with SIMD, that we are working through to improve marker detection phase performance. Please stay tuned for updates on this one!
-
Hi @aestarita! Thanks for your post :) This is a known issue that we are working to correct. You may have success, as you suggested, forcing the prompt on your own: function requestDeviceMotionPermission() { if (typeof DeviceMotionEvent.requestPermission === 'function') { DeviceMotionEvent.requestPermission()…
-
Thanks for your post! Currently, we're monitoring internally for abuse of these public tokens but have plans to introduce measures so that tokes can only be used on specified trusted domains. Stay tuned for updates on this!
-
Hi @Max! Thanks for your post! Currently, we're monitoring internally for abuse of these public tokens but have plans to introduce measures so that tokes can only be used on specified trusted domains. Stay tuned for updates on this!
-
Hi @alex_doudnikov! Thanks for the report. Could you by chance share a video of the issue?
-
Hi @"Tomonori Mizutani"! Camera Kit Web does not support World Mesh. Surface tracking is supported but performance may vary depending on the user's environment.
-
Hi @"Dheeraj Tibrewal"! This issue should be fixed now. Please try again and let us know if you continue to run into any issues!
-
Hi @TheSpectacle! Yes, Camera Kit Web should work well in a PWA!
-
Hi @Lee_Probert, you can find our API reference doc regarding this here: https://kit.snapchat.com/reference/CameraKit/web/0.14.0/classes/CameraKitSource.html If you're still running into issues, please feel free to paste some sample code and I'd be happy to take a look!
-
Glad you sorted it out! If you have any additional questions, feel free to reach out!
-
Hi @"FFFACE.ME Metamarketing Agency" ! We have published a beginners guide here for the Web SDK. Your application would be deployed like any other web application. Services like Heroku make this quite easy. The Lens creation process would be the same as creating Lenses for Snapchat; but our recommendation is that if you…
-
Hi @Krystian! The application and Lens certainly fall under very different workflows. I would say dividing and conquering on those two efforts would make sense. However, when creating a Lens for the Web SDK, I would test often and early. This may mean implementing Push to Web in your app so you can push Lenses directly…
-
Hi @"Herson Rodrigues"! Can you tell me a little more about your development environment? Keep in mind, if you are not running your site locally through localhost and are using an IP address like 127.0.0.1 or 192.168.1.100, for example, you will need to use https.
-
Hi @"Naomi Eberle"! Thanks for your post. It looks like your Camera Kit code is getting run on the server side of your application. This most commonly occurs when server side rendering is enabled for your application. Here is a resource that may help you mitigate this error: https://www.skies.dev/on-client I hope this…
-
Hi AR Effects! Thanks for your post. Currently, there are only a few rare use cases that are not eligible for Camera Kit; Virtual Try-On being one of them. We are working through this criteria in the near future and I will update this thread with more detail ASAP. Thanks for your patience!
-
Hi @TOTO! Thanks for your question. Capturing the AudioBuffer from the Lens itself is not possible at this time. This is something that will be supported eventually but unfortunately I do not have an estimate as to when. You could potentially use the getDisplayMedia API to capture the audio.
-
Hi @"Tavius Koktavy", when setting your Camera Kit source, are you using { cameraType: 'back' }? For example: const mediaStream = navigator.mediaDevices.getUserMedia({ video: { width: 1280, height: 720 },});const source = createMediaStreamSource(mediaStream, { cameraType: 'back ' });await session.setSource(source);
-
Hi @TheSpectacle, are you experiencing this in the sample app or in your own app? Performance will vary based on device, Lens used and the resolution of video.
-
Hi @BenUnbound! This is a great question. Remote API support for the Web SDK (currently supported by our iOS and Android SDKs) is slated to be released later this year. Be sure to keep an eye out for developer communications for updates on this.
-
Hi @Kevando, are you still having issues with this? If you could share the Lens ID and describe how it works, I can try to help! :)
-
Hi @andrew_cf! Are you still having this issue? If so, be sure that you have Camera Kit enabled for the version of the app that is live for your staging/production environments.
-
Hi @Paigepiskin! Here is a guide on recording/downloading video of your Camera Kit session. https://docs.snap.com/camera-kit/quick-start/integrate-sdk/integrate-sdk-web/guides/recording-video For capturing photos, you should be able to get a PNG by calling canvas.toDataURL(). As for serving these assets to social media…
-
Hi @Refract_Studio! Thanks for your question. Unfortunately, Location AR is not yet supported in the Web SDK. It's certainly something that we are thinking about so please keep an eye out for developer communications regarding this!