SDUOJ / sduoj-autolab

SDUOJ-based pluggable components for in-depth support of course needs, supporting subjective questions, time-limited exams, series of question sets and other functions. Use FastAPI as the backend.
2 stars 9 forks source link

完成录屏相关后端API ver0 #14

Closed HarikoCC closed 3 months ago

HarikoCC commented 3 months ago

addRecord向数据库添加新记录 addFrame追加帧,并以图片形式保存在对应目录 getVideo将对应目录下现有的图片合并为一个临时视频并返回,不删除图片 createLockVideo将目录下所有图片合并为一个视频并删除图片,锁定录屏记录,不支持继续追加 deleteVideo将目标视频、图片和数据库记录全部删除