|
1234567891011121314151617181920 |
- from enum import Enum, unique
-
-
- # 异常枚举
- @unique
- class StatusType(Enum):
-
- WAITTING = (5, "待推流")
-
- RETRYING = (10, "重试中")
-
- RUNNING = (15, "推流中")
-
- STOPPING = (20, "停止中")
-
- SUCCESS = (25, "完成")
-
- TIMEOUT = (30, "超时")
-
- FAILED = (35, "失败")
|