-56-
Document Name
AI7688H
Reference Manual
Version
V 2.0
Date 2019/08/08
12
Using webcam and audio
By connecting a USB webcam to the USB host port on AI7688H, users can easily
setup the video streaming service according to the following steps.
12.1
Supported cameras
AI7688H has installed Linux UVC (USB Video Class) drivers to provide USB
webcam support. Webcams follow the UVC standard can be supported on
AI7688H. The real capabilities and supported resolution depend on the
current UVC driver implementation.
Step-by-step
Use
mjpg-streamer
for streaming application. It's already installed in the
system firmware by default. For the webcam, Logitech C310 is used in this
example.
Step 1: plug the webcam into the USB host port on AI7688H
Step 2: type the following command in the system console
Note: Image resolution is 640x480, 25 frame per second, output to http
stream on port 8080.
Step 3: connect the PC to the same local network as AI7688H
If AI7688H is in AP mode, connect the PC to AI7688H AP directly.
If AI7688H is in Station mode, connect the PC to the same AP.
Step 4: open a browser and check the video
12.2
Audio Playback and Recording
AI7688H has an I2S interface for audio playback and recording.
You'll need an audio DAC to convert I2S to analog sound data.