opt live onlyPlayAudio

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-16 17:44:06 +08:00
parent e0243461bb
commit f223befad6
4 changed files with 16 additions and 4 deletions

View File

@@ -93,7 +93,11 @@ class LiveRoomController extends GetxController {
: Pref.liveQualityCellular;
});
}
var res = await LiveHttp.liveRoomInfo(roomId: roomId, qn: currentQn);
var res = await LiveHttp.liveRoomInfo(
roomId: roomId,
qn: currentQn,
onlyAudio: plPlayerController.onlyPlayAudio.value,
);
if (res['status']) {
RoomPlayInfoData data = res['data'];
if (data.liveStatus != 1) {