From b535fa08919747d2d2ff718794b7adad17e8aa63 Mon Sep 17 00:00:00 2001 From: wangyu <727842003@qq.com> Date: Mon, 18 Dec 2023 14:14:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/janus/index.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 = () => {