holoview-sdk
v0.0.57
Published
React、Vue: import HoloviewSdk from 'holoview-sdk' 注:vue需要用[vuera](https://www.npmjs.com/package/vuera) #### sdk建立连接,视频弹框 const data = { token: '', appKey:'', } <holoview-sdk widget="Main" {...data} />
Downloads
19
Readme
holoview-sdk
Example Usage
React、Vue:
import HoloviewSdk from 'holoview-sdk'
注:vue需要用vuera
sdk建立连接,视频弹框
const data = {
token: '',
appKey:'',
}
<holoview-sdk widget="Main" {...data} />
IM
rid: '' //房间号
<holoview-sdk widget="Chat" rid="" />
<holoview-sdk widget="ChatFoot" rid="" />