webrtc-demo/client-vue/README.md

33 lines
637 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# client-vue
webrtc 客户端 vue 实现 client demo
问题navigator.mediaDevices 需要在https下 localhost 除外)
1. 调试时可修改 vue.config.js 中 devServer https但是后端也需要修改为 https
2. chrome 浏览器 设置 chrome://flagsInsecure origins treated as secure启用填入ip即可
## Project setup
```
npm install
```
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
### Lints and fixes files
```
npm run lint
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).