19 lines
372 B
Python
19 lines
372 B
Python
from enum import Enum, unique
|
|
|
|
|
|
# 录屏状态枚举
|
|
@unique
|
|
class RecordingStatus(Enum):
|
|
|
|
RECORDING_WAITING = ("5", "待录制")
|
|
|
|
RECORDING_RETRYING = ("10", "重试中")
|
|
|
|
RECORDING_RUNNING = ("15", "录制中")
|
|
|
|
RECORDING_SUCCESS = ("20", "录制完成")
|
|
|
|
RECORDING_TIMEOUT = ("25", "录制超时")
|
|
|
|
RECORDING_FAILED = ("30", "录制失败")
|