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!

Tavius Koktavy

Comments

  • For feedback, I'm looking back at the samples and docs to try to find where I might have discovered the cameraType param on my own >>> I see it here (https://docs.snap.com/camera-kit/integrate-sdk/web/web-configuration#camera-type) with a somewhat nondescript note that 'back' should be used "for proper rendering."…
  • That fixed it, thank you! I didn't realize that also needed to be set in the session source, I thought it was handled by the 'facingMode' property in the mediaStream. My code is now: const mediaStream = await window.navigator.mediaDevices.getUserMedia({ video: { facingMode: 'environment' // 'environment' for rear camera,…