This commit is contained in:
yj 2025-02-18 09:49:09 +08:00
parent e0ba230ce5
commit ecf913ce88
2 changed files with 5 additions and 2 deletions

View File

@ -429,7 +429,10 @@ Page({
startSignalr() {
onSignalr(async (item) => {
if (this.data.isCurrePage) {
return
const item = this.data.roomUserList.find(row => row.uid === this.data.user.uid)
if (item && !item.isRoomManager) {
return
}
}
const userInfo: any = await getStorage('user')
switch (item.key) {

View File

@ -18,7 +18,7 @@
<view class="meeting-content-video-canvas" wx:if="{{currentUser.shareSrc}}">
<live-player id="player" src="{{currentUser.shareSrc}}" mode="RTC" autoplay="true" bindstatechange="playerStateChange" object-fit="contain" />
</view>
<view class="meeting-content-video-canvas" wx:elif="{{currentUser.src && currentUser.enableCamera}}">
<view class="meeting-content-video-canvas" wx:else>
<live-player id="player" src="{{currentUser.src}}" mode="RTC" autoplay="true" bindstatechange="playerStateChange" object-fit="contain" muted="{{currentUser.uid === user.uid}}" />
</view>
<view class="meeting-content-video-user">