@94ai/softphone 5.0.8 → 5.0.9
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/html-softphone-demo/index.html +6 -0
- package/html-softphone-demo/softphone.umd.min.js +2 -1
- package/html-softphone-demo.7z +0 -0
- package/lib/softphone.cjs.min.cjs +1 -1
- package/lib/softphone.esm-bundler.min.mjs +1 -1
- package/lib/softphone.umd.min.js +2 -1
- package/package.json +1 -1
- package/html-softphone-demo.zip +0 -0
|
@@ -357,6 +357,12 @@ document.addEventListener('DOMContentLoaded', async (event) => {
|
|
|
357
357
|
refreshChatErrorCallback(e) {
|
|
358
358
|
console.log(e)
|
|
359
359
|
},
|
|
360
|
+
// sessionDescriptionHandlerFactoryOptions: { // 如果fs开启b2b没模式不需要传,开启p2p模式要传
|
|
361
|
+
// iceGatheringTimeout: 2000,
|
|
362
|
+
// peerConnectionConfiguration: {
|
|
363
|
+
// iceServers: [{ urls: "stun:stun.l.google.com:19302" }], // stun:stun.freeswitch.org
|
|
364
|
+
// }
|
|
365
|
+
// },
|
|
360
366
|
enableChatInfoPush: true // 开启会话记录实时推送,开启后,当任务外呼时,可以实时获取通话记录信息,实时回调到refreshChat,中途出现任何异常会回调refreshChatErrorCallback
|
|
361
367
|
})
|
|
362
368
|
|