fcc-core
Version:
Fusion communication center.
13 lines (12 loc) • 380 B
JavaScript
export default async function (xw, params) {
await new Promise(async (resolve, reject) => {
xw.exe.emit('emitIVSStartPlatformPlayBack', params)
xw.exe.on('IVSStartPlatformPlayBack', async data => {
if (data.resultCode === 0) {
resolve()
} else {
reject(new xw.BaseException(563, '查看历史监控失败'))
}
})
})
}