|
@@ -43,7 +43,7 @@ import { useStore } from "vuex";
|
|
|
import browser from "@/utils/browser";
|
|
|
// import * as apis from "@/apis/index.js";
|
|
|
|
|
|
-const emit = defineEmits(["audioMuted", "videoMuted"]);
|
|
|
+const emit = defineEmits(["audioMuted", "videoMuted",'closeSocket']);
|
|
|
|
|
|
const store = useStore();
|
|
|
|
|
@@ -204,7 +204,9 @@ async function handlePublish() {
|
|
|
try {
|
|
|
await localClient.publish(localStream);
|
|
|
store.commit("rtc/setIsPublished", true);
|
|
|
- } catch (error) {}
|
|
|
+ } catch (error) {
|
|
|
+ console.error(error,'---------------handlePublish--------------------')
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
async function handleStartShare() {
|