diff --git a/src/core/janus/index.js b/src/core/janus/index.js index 225cd00..c22c583 100644 --- a/src/core/janus/index.js +++ b/src/core/janus/index.js @@ -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 = () => {