Offline Lenses
Hi. Following on from my question in office hour, I 'm keen to explore if we can create offline lenses (like the BigMouth lens in the CameraKit demo) so that user's don't have to connect to internet to download lenses from Snap servers (our app will be used in remote locations with poor/no internet). I understand that there are capability checks that are run during the serving of lenses to cater for different devices and this means any local lens would need to be 'lowest common denominator'. Is this something you'd be willing to explore?
Comments
-
@Jon Meggitt Thanks for the question and follow up! I have shared this with our Product team to review for their roadmap. I will also move this to the "Feature Requests" category to allow other developers & community members to vote if this is a common request.
Thanks for your patience!
1 -
Thanks @stevenxu !
1 -
Yes it is, typically you should have 4-8MB/Lens for every cached Lens to avoid cache evictions. App can configure cache using configureCache API on Android or SCCameraKitCacheConfig on iOS.
You can combine this with Prefetching Lenses as well to quickly load Lenses the first time as well.
3
Categories
- 0 All Categories
- Snap AR | Categories
- 2K Lens Studio
- 150 Camera Kit
- 16 Spectacles