/camera-viewer

raw camera viewer for mobile devices. Double tap to change camera.

Primary LanguageJavaScript

Fork of alexfromapex's repository.

This simple HTML video app allows you to use your iOS camera as a video source that covers the entire screen, without being obstructed by any camera controls. This is the perfect solution for recording from your MacBook with QuickTime, while using your iPhone as the camera source. Conveniently, it works completely as a static website and is also a PWA which can be added to an iOS' home screen device, therefore able to run without an internet connection.

Usage

  1. Go to this web address on your iOS Device: https://trevcan.github.io/camera-viewer/
  2. Pinch zoom in/out on iPhone until video fits to screen. tap fast on the video to switch between cameras (i.e. front/back).

Suggested usage

  • this web app may be useful when using it as a virtual camera, e.g. with RPiPlay in other words, allowing you to transmitt your raw-camera from your iOS Device to your computer/PC, raspberry and use it as a virtual camera with OBS.

Tested with:

  • iPhone 6S (iOS 14.3)
  • iPad Mini 4th gen (iPadOS 14.6)
  • iPhone X (iOS 13.2.1)
  • MacOS 10.14.6+ (Mojave)