diff --git a/im-ui/src/components/chat/ChatBox.vue b/im-ui/src/components/chat/ChatBox.vue index 6e4a766..43f4c1c 100644 --- a/im-ui/src/components/chat/ChatBox.vue +++ b/im-ui/src/components/chat/ChatBox.vue @@ -47,10 +47,10 @@
@@ -147,9 +147,9 @@ export default { }, onCall(type){ if(type == this.$enums.MESSAGE_TYPE.RT_VOICE){ - this.showChatVideo('voice'); + this.showPrivateVideo('voice'); }else if(type == this.$enums.MESSAGE_TYPE.RT_VIDEO){ - this.showChatVideo('video'); + this.showPrivateVideo('video'); } }, onKeyDown() { @@ -447,7 +447,7 @@ export default { closeVoiceBox() { this.showVoice = false; }, - showChatVideo(mode) { + showPrivateVideo(mode) { let rtcInfo = { mode: mode, isHost: true, diff --git a/im-ui/src/components/chat/ChatVideoAcceptor.vue b/im-ui/src/components/rtc/RtcPrivateAcceptor.vue similarity index 98% rename from im-ui/src/components/chat/ChatVideoAcceptor.vue rename to im-ui/src/components/rtc/RtcPrivateAcceptor.vue index 6216e23..193bc2f 100644 --- a/im-ui/src/components/chat/ChatVideoAcceptor.vue +++ b/im-ui/src/components/rtc/RtcPrivateAcceptor.vue @@ -1,5 +1,5 @@ -