1.0.1 • Published 4 years ago
webrtc-guest-view v1.0.1
webrtc-guest-view
Project setup
npm install --save webrtc-guest-view
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your tests
npm run test
Lints and fixes files
npm run lint
Customize configuration
use
Vue.use(pluginSDK)
在界面上添加
// @getCallStatus 获取挂断状态事件
// :byWebrtcGuestViewConfig是一个对象,里面包含必要的配置信息以及用户信息(登录名、密码等)
例如:
byJuphoonRtcConfi:{
JuphoonRTCGuestAddress: "https://192.168.12.54:8078",//必须要有---环境
appKey:"05c97ce0d0a84d2592334093",//必须要有---
businessTelNum:"10086",//必须要有----业务号
name:"张冯",
passWord:"12345678"
}
<juphoon-rtc @getCallStatus="getState"></juphoon-rtc>
"version": "1.0.1",
修改组件名字,使其更语义话