| | |
| | | </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"> |
| | |
| | | |
| | | formName: '', |
| | | |
| | | callname: '', |
| | | callname: '', |
| | | |
| | | |
| | | |
| | |
| | | // } |
| | | // console.log(that,1111111111111) |
| | | if (data.type == 'close') { |
| | | |
| | | |
| | | console.log('对方已挂断'); |
| | | // RtcModule.leaveChannel((res) => {}); |
| | | that.closeAll(); |
| | |
| | | icon: 'none' |
| | | }); |
| | | // success: () => { |
| | | |
| | | |
| | | // uni.navigateBack(); |
| | | RtcModule.destroyRtc((res) => { |
| | | console.log("页面销毁", res.code); |
| | |
| | | console.log(res.data); |
| | | var data = JSON.parse(res.data) |
| | | // if (call && ) { |
| | | |
| | | |
| | | // } |
| | | if (data.type == 'close') { |
| | | |
| | | |
| | | console.log('对方已挂断'); |
| | | // RtcModule.leaveChannel((res) => {}); |
| | | that.closeAll(); |