omnirtc-web 1.2.7-peiyou.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/es-omnirtc-web.js +11265 -10811
- package/dist/omnirtc-web.js +11242 -10786
- package/package.json +67 -64
- package/dist/omni.d.ts +0 -1415
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ import getRTCEngine from 'omnirtc-web';
|
|
|
17
17
|
const token = 'token';
|
|
18
18
|
// 获取引擎实例
|
|
19
19
|
// engine API详细 https://dev-webrtc.weclassroom.com/doc/classes/CoreRTC.CoreRTC-1.html
|
|
20
|
-
const engine =
|
|
20
|
+
const engine = getRTCInstance(token);
|
|
21
21
|
|
|
22
22
|
// 加入RTC房间
|
|
23
23
|
// client API详细 https://dev-webrtc.weclassroom.com/doc/classes/Client.Client-1.html
|