Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
1144 Discussions

请教一下利用react.js 加载intel collabrate suite

pcg_p_
Beginner
174 Views

请问有没有npm库的方式可以直接import?

直接在html 里面包含

<script src="/ics_sdk/dependencies/socket.io.js" type="text/javascript"></script>;
<script src="/ics_sdk/dependencies/adapter.js" type="text/javascript"></script>;
<script src="/ics_sdk/woogeen.sdk.js" type="text/javascript"></script>;
<script src="/ics_sdk/woogeen.sdk.ui.js" type="text/javascript"></script>;

 

但是在react中调用的时候,会出现错误

componentDidMount() {
    //此处初始化webrtc
    var conference =Woogeen.ConferenceClient.create({});
}

 

0 Kudos
2 Replies
Zhen_L_
Beginner
174 Views

什么错误啊

Jianjun_Z_Intel
Employee
174 Views

Hi pcg,

目前Intel CS for WebRTC JavaScript SDK没有发布到npm。

Reply