feat: 添加注释

This commit is contained in:
wangyu 2023-12-18 14:14:32 +08:00
parent ba65bed9d2
commit b535fa0891

View File

@ -6,8 +6,11 @@ export {
Janus
}
/**
* 默认配置填写janus的地址
*/
const defaultConfig = {
server: 'http://10.211.55.6:8088/janus'
server: 'http://192.168.27.141:8088/janus'
}
/**
@ -123,8 +126,8 @@ export function useJanus(options) {
})
onUnmounted(async () => {
await stop();
cleanup();
await stop()
cleanup()
})
const StreamPlugin = () => {