Skip to content
⚡ Developer documentation for INFINICAM, the real-time high-speed camera (UC-1.1 / GbE-2)

Recording from a phone and watching on the spot

AvailableC++

This is a demonstration of connecting from Chrome on a handheld Android device (phone or tablet) to a laptop PC with an INFINICAM GbE-2, starting a recording, and watching the 1,000 fps slow-motion replay right away on the handheld screen.

You do not need to install an app or create an account on the phone or tablet. The app running on the laptop acts as a small web server, so you only need to open its address in Chrome. Even away from the camera, you can press the record button and look back at the captured second right away.

Here, the record button is pressed on the tablet, and the motion of the bubbles in a bottle of green tea is replayed on the spot at 1/30 speed.


Where What you can do
Handheld Android (Chrome) View the live image; record 1 second (1,000 frames) with the record button; play/pause; step back or forward 1 ms at a time; change the speed (1×, 1/10, 1/30, 1/100, 1/1000); scrub the timeline with a finger; return to live
Laptop PC Show the same image in a large view (for the person adjusting focus and angle). The same operations are also available from the keyboard

Item Used on this page Notes
Camera INFINICAM GbE-2 Used at 800 × 600, 1,000 fps
Lens Computar M0814-MP2 (8 mm) C mount
Laptop PC ASUS Zenbook 14 (Core Ultra 7 255H, Windows 11 Pro) Must support Windows mobile hotspot over Wi-Fi
LAN adapter I-O DATA ET10G-US3C Wired LAN adapter connected over USB (10 Gbps). Supports jumbo packets
Handheld device Lenovo Idea Tab (Android 15) Any Android phone that runs Chrome also works
Power for the laptop AC adapter, or a USB PD mobile battery Required (see the caution below)

Diagram: the GbE-2 connects to the laptop PC over wired LAN, and the laptop connects to the handheld Android device through its mobile hotspot (Wi-Fi)INFINICAMGbE-2Laptop PCTabletPlay (web server)AndroidChromeWired LAN1 GbpsWi-Fi (mobile hotspot)
  • Connect the camera and the laptop with a wired LAN cable. The camera’s IP address is 192.168.0.10; set the laptop’s LAN adapter to 192.168.0.x (subnet mask 255.255.255.0).
  • Connect the handheld Android device to the Wi-Fi of the laptop’s mobile hotspot (a Windows feature). No venue Wi-Fi or router is needed.

A GbE-2 on a tripod in front, a laptop PC behind it. The tablet in the left hand is replaying frame 354 of the 1,000 recorded frames at 1/30 speed


  1. Install the Visual C++ Redistributable

    Install the Visual C++ Redistributable (x64).

  2. Place the app

    Extract the TabletPlay ZIP and place the bin folder inside it anywhere you like (for example, C:\demo\TabletPlay). Logs are written to the logs folder inside it, so choose a location you can write to.

  3. Allow incoming connections in the firewall (first time only)

    Double-click setup_firewall_remote.bat in the bin folder (you will be asked for administrator permission). It allows TCP port 8080 from the handheld device, only from the same network.


  1. Turn on the laptop’s mobile hotspot

    In Windows, open Settings → Network & internet → Mobile hotspot, turn it on, and connect the handheld Android device to that Wi-Fi.

  2. Start TabletPlay.exe on the laptop

    The laptop screen shows the GbE-2 image and the address to open on the handheld device.

  3. Open the address in Chrome on the handheld Android device

    With the mobile hotspot, the address is http://192.168.137.1:8080/.

  4. Press the record button (「1 秒録画する」)

    After recording 1 second (1,000 frames), the app switches to slow-motion replay. Use the buttons for play/pause, 1 ms steps, speed, the timeline, and returning to live.

Key Action
Space Record (in live view) / play or pause (in replay)
1–5 Speed (1×, 1/10, 1/30, 1/100, 1/1000)
← → Step back or forward 1 ms
L Return to live
F Toggle full screen
S Save the screen
Q / ESC Quit (closing the window with × also quits)
Option Meaning
--fullscreen Open the laptop window in full screen
--shutter N Denominator of the shutter speed (default 1000 = 1/1,000 s)
--record-seconds N Recording length (default 1 second)
--port N Web server port (default 8080)

GbE-2 ──(1,000 fps, compressed data)──▶ Laptop PC
├ While recording: keep the 1,000 frames as compressed data
├ For display: decode only the frame being shown
└ Web server (TCP 8080)
└─(JPEG, up to 20 per second)──▶ Chrome on the handheld device
time, frame number, timeline and buttons are drawn by the page
  • The 1,000 fps images arrive from the camera as compressed data. While recording, the app keeps them as they are without decoding, so it can record all 1,000 frames without missing any.
  • Only the one frame currently being shown is sent to the handheld device (JPEG, up to 20 per second). Because the app does not send all 1,000 fps images over Wi-Fi, operation stays responsive on ordinary Wi-Fi.
  • The buttons and timeline are drawn inside the browser, so no app needs to be installed on the phone.

In our test, no frames were dropped in the 1,000 recorded frames.


The executables and the source code are packed into one ZIP.

Download TabletPlay (2026-11-25, about 28 MB)
Folder Contents
bin Ready-to-run executables (TabletPlay.exe, INFINICAM SDK DLLs, OpenCV 5 DLLs, setup_firewall_remote.bat)
source Source code (TabletPlay.cpp, a single file) and the Visual Studio project

To build it yourself, open TabletPlay.slnx in the source folder with Visual Studio and build Release / x64. The project assumes the INFINICAM SDK is in C:\infinicam_sdk and OpenCV 5 is in C:\opencv (the same locations as in Setting up a C/C++ development environment).

  • C++ (Visual Studio 2022 or later, x64, Release). Uses the INFINICAM SDK (PUCLIB) and OpenCV 5.
  • The web server is a small one written with Windows sockets (Winsock) and uses no other libraries.

  • Power the laptop from the AC adapter or a USB PD mobile battery. On battery alone, frames are dropped.
  • If the handheld device cannot connect, check the firewall setting (setup_firewall_remote.bat) and that the device is connected to the laptop’s hotspot.
  • This app is intended for use only within the same network. It has no authentication such as a password. Do not expose it to the internet.