Web version type method for freely switching computer cameras
A camera and web version technology, which is used in electrical digital data processing, program control design, instruments, etc., can solve the problems of not calling the camera and not meeting the resolution, and achieve the effect of improving work efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0015] Such as figure 1 As shown, the present invention adopts the following steps to realize a method for freely switching computer cameras on the web page.
[0016] Step 1. Define the required tags on the page, define the tag to display the video (video), and define the drop-down tag (select) to select the camera option;
[0017]
[0018] Video Options: .
[0019] Step 2, using mediaDevices.enumerateDevices to collect the information of multimedia input and output devices available on the computer;
[0020] var videoElement = document. querySelector('video');
[0021] var videoSelect = document. querySelector('select#videoSelect');
[0022] navigator.mediaDevices.enumerateDevices().then(oppendMedia).then(callVideo).catch(function (err){
[0023] console.log('Error: ', err);
[0024]}).
[0025] Step 3. Obtain the collected computer camera information, and add the computer camera information to the drop-down option cyclically;
[0026] function oppendMedia(device...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com