Use pnpm
(suggested).
pnpm env use --global lts # 18.14.0
pnpm i
pnpm dev
For Windows, set the shell to git bash.
pnpm config set script-shell "C:\\Program Files\\Git\\bin\\bash.exe"
Home Page: https://ryuujo1573.github.io/qnweb-rtc-demo/
'哞' 修改为 ' 抱歉'
qnweb-rtc-demo/src/pages/error.tsx
Lines 9 to 10 in 2416bc7
Line 6 in 86beb8f
qnweb-rtc-demo/src/pages/layout.tsx
Lines 192 to 207 in 2416bc7
qnweb-rtc-demo/src/components/DetailPanel.tsx
Line 106 in 2416bc7
用户对媒体设备的开关操作发生在2~3之间时,先setMute(设备捕获on,媒体传输off),经过防抖时间(预设500ms)后对媒体 track 进行取消发布。
用户连续点击视频的开关,可以实现视频从画面到黑幕的快速切换(setMute 的效果),并在停止连续点击时,根据当前状态决定是否取消发布
qnweb-rtc-demo/src/components/StreamPanel.tsx
Lines 264 to 271 in 2416bc7
Line 23 in 86beb8f
接口地址:https://developer.qiniu.com/rtc/9070/WebQNRTC#onCameraChanged
可以直接通过回调来实时更新设备列表,而不是通过 devicechange 来全局获取设备然后分类?
Line 10 in 86beb8f
Line 1 in 2416bc7
Lines 8 to 10 in 7657acc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.