Skip to content

sawafish/webrtc-media-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

获取设备媒体设备列表以及切换前后摄像头

PC

pc

mobile

mobile

steps

git clone => cd <projectName> => yarn

如果在多设备调试,navigator.getUserMedia依赖于https,HTTPS环境变量设置为true后再正常启动项目:

Windows (cmd.exe)

set HTTPS=true&&yarn start

Windows (Powershell)

($env:HTTPS = "true") -and (yarn start)

Linux, macOS (Bash)

HTTPS=true yarn start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published