tree: 03069d39eedc1c76078f48f21d55ec63baf9af93 [path history] [tgz]
  1. meta/
  2. BUILD.gn
  3. main.cc
  4. README.md
  5. simple_camera_view.cc
  6. simple_camera_view.h
src/camera/examples/video_display/README.md

Video Display Example

Usage

To test against the virtual camera, make sure “camera_id” is initialized to “0” in the source file simple_camera_view.cc, and then run the following command:

$ present_view fuchsia-pkg://fuchsia.com/video_display#meta/video_display.cmx

To test against the Pixel Book build-in USB camera, make sure “camera_id” is initialized to “1” in the source file simple_camera_view.cc, and then run the following command:

$ present_view fuchsia-pkg://fuchsia.com/video_display#meta/video_display.cmx