From 760055960b56f7e77617c9108d09d446c187388f Mon Sep 17 00:00:00 2001 From: Jolie <412895109@qq.com> Date: Mon, 24 Nov 2025 01:49:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(live):=20=E4=BF=AE=E5=A4=8D=E7=9B=B4?= =?UTF-8?q?=E6=92=AD=E6=88=BF=E9=97=B4=E8=A7=82=E4=BC=97=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E5=A4=84=E7=90=86=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 调整聊天面板显示条件,确保仅非主播角色可见 - 更新 RTC 断开连接逻辑,传递当前用户角色以正确取消发布 - 在离开频道时增加对男性和女性观众的角色判断并执行取消发布 - 修改频道详情更新逻辑,避免清除男性信息并强制清空女性信息 - 优化 RTC 管理器中的取消发布方法 --- lib/widget/live/live_room_anchor_showcase.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widget/live/live_room_anchor_showcase.dart b/lib/widget/live/live_room_anchor_showcase.dart index 66b1744..7d9d697 100644 --- a/lib/widget/live/live_room_anchor_showcase.dart +++ b/lib/widget/live/live_room_anchor_showcase.dart @@ -145,7 +145,7 @@ class _LiveRoomAnchorShowcaseState extends State { canvas: const VideoCanvas(uid: 0), ), ) - : (_rtcManager.currentChannelId == null + : (_rtcManager.currentChannelId == null && _rtcManager.remoteUserIds.isEmpty ? _buildWaitingPlaceholder() : AgoraVideoView( controller: VideoViewController.remote(