feat: 使用DDR读取Hdmi视频流

This commit is contained in:
2025-08-19 15:20:17 +08:00
parent 7e53b805ae
commit 3c73aa344a
5 changed files with 326 additions and 157 deletions

View File

@@ -81,7 +81,12 @@
import { ref, onMounted, onUnmounted } from "vue";
import { useRouter } from "vue-router";
import { AuthManager } from "@/utils/AuthManager";
import { ExamClient, ResourceClient, type ExamInfo } from "@/APIClient";
import {
ExamClient,
ResourceClient,
ResourcePurpose,
type ExamInfo,
} from "@/APIClient";
// 接口定义
interface Tutorial {
@@ -146,7 +151,7 @@ onMounted(async () => {
const resourceList = await resourceClient.getResourceList(
exam.id,
"cover",
"template",
ResourcePurpose.Template,
);
if (resourceList && resourceList.length > 0) {
// 使用第一个封面资源