feat: 添加注释

This commit is contained in:
wangyu 2023-12-18 14:14:32 +08:00
parent ba65bed9d2
commit b535fa0891
1 changed files with 6 additions and 3 deletions

View File

@ -6,8 +6,11 @@ export {
Janus Janus
} }
/**
* 默认配置填写janus的地址
*/
const defaultConfig = { 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 () => { onUnmounted(async () => {
await stop(); await stop()
cleanup(); cleanup()
}) })
const StreamPlugin = () => { const StreamPlugin = () => {