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!
Sign up for our live Camera Kit office hour on July 17 @ 9:30am (PT) / 4:30pm (GMT)
CameraKitSession.setSource deprecated
Lee_Probert
Posts: 5
In the latest version of the NPM package the setSource
method on CameraKitSession
is deprecated. The advice is to use CameraKitDeviceOptions
instead of CameraKitDeviceInfo
... can anybody point me at updated documentation for this?
0
Comments
-
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!
0