opt opus item

opt live dm

add audio qa type

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-22 17:54:08 +08:00
parent 8fc8bd99e5
commit 9e72fea67c
5 changed files with 27 additions and 15 deletions

View File

@@ -1226,7 +1226,8 @@ class VideoDetailController extends GetxController
int currentHighVideoQa = allVideosList.first.quality.code;
// 预设的画质为null则当前可用的最高质量
int resVideoQa = currentHighVideoQa;
if (plPlayerController.cacheVideoQa! <= currentHighVideoQa) {
if (data.acceptQuality?.isNotEmpty == true &&
plPlayerController.cacheVideoQa! <= currentHighVideoQa) {
// 如果预设的画质低于当前最高
final List<int> numbers = data.acceptQuality!
.where((e) => e <= currentHighVideoQa)