智慧保安互联网APP
zengh
2021-08-12 9ad39d2684217d16d18c8c4aec783a032338af96
初版集成
2 files modified
8 ■■■■ changed files
pages/videoCall/videoCall.nvue 4 ●●●● patch | view | raw | blame | history
store/mutations.js 4 ●●●● patch | view | raw | blame | history
pages/videoCall/videoCall.nvue
@@ -15,8 +15,8 @@
            </view>
            <view class="Receiver" v-if="!isMain">
                <view class="Mains-t">
                    <text class="activetext">是否接收来自{{callname}}的{{Otype == 'video'? '视频': '音频'}}请求</text>
                    <text class="activetext">接受进入{{channel}}</text>
                    <text class="activetext">是否接收来自{{callname}}的{{Otype == 'video'? '视频': '音频'}}邀请</text>
                    <!-- <text class="activetext">接受进入{{channel}}</text> -->
                    <u-loading size="36" mode="flower"></u-loading>
                </view>
                <view class="i-control">
store/mutations.js
@@ -49,8 +49,8 @@
        console.log('登入数据传输成功  开始进入连接')
        
        uni.connectSocket({
            // url: 'ws://223.82.109.183:2086/websocket'
            url: 'ws://192.168.0.111:2086/websocket'
            url: 'ws://223.82.109.183:2086/websocket'
            // url: 'ws://192.168.0.111:2086/websocket'
        });
        var socketOpen = false;
        uni.onSocketOpen(function(res) {