How Android App Works as Web Camera

Asked 2 years ago, Updated 2 years ago, 75 views

There is an app that uses Android as a webcam, but how does it work?

I don't think Android itself could work as a USB Video Class (UVC) compatible device, but
How do you get the video from the camera and let the PC recognize it as a USB camera?
(By any chance: Are you installing the Android Accessory Protocol driver on the PC side to recognize the PC side as the host and play the camera image?)

I'd like to create an app like DroidCam to study, but I don't know where to start.
(I have made several Android apps)
What should I do?

android usb

2022-09-30 11:28

1 Answers

The impending Windows 10 update (20H1) appears to support the network camera.

Connecting a Network Camera to a Windows 10 Device (Build 1895)
Announcing Windows 10 support for Network Camera!

Connecting Network Camera to Windows 10 Devices

If you implement specifications such as ONVIF Profile S and RTSP Uniform Resource Identifier on the Android side, it seems that it can be used as a network camera after Windows 10 (20H1).
In that case, I think we can do it only with Android development.

ONVIF/ONVIF Streaming Specification
RFC7826-Real-Time Streaming Protocol Version 2.0

A company that seems to be publishing source code for ONVIF/RTSP servers/clients?There was a site.
Happytime ONVIF&RTSP Source Code

Before the update, there is an article with the following summary.
Application that enables Android smartphones to be used as webcams IP Webcam & "DroidCam"
How to use your Android phone as a webcam for your PC
How to Use an Android Phone As a Webcam For PC [Windows & Linux].
Telework with Android smartphone as webcam

All of these articles seem to be connecting servers (Android side)/clients (PC side) over the network.
Connectivity is a proprietary protocol or a virtual webcam device using existing protocols such as RTSP.

Convert RTSP stream to virtual webcamera
RTSP stream to virtual video device on Windows 8

I think this is an article on how to think about device drivers.
In Skype, can I use a camera installed on another computer?
USB/IP PROJECT


2022-09-30 11:28

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.