|
- # -*- coding: utf-8 -*-
- # 配置文件名称
- APPLICATION_CONFIG = "application.json"
- # 编码格式
- UTF_8 = "utf-8"
-
- # 文件读模式
- R = 'r'
- ON_OR = "_on_or_"
- ON_AI = "_on_ai_"
- MP4 = ".mp4"
- # 初始化进度
- init_progess = "0.0000"
- # 进度100%
- success_progess = "1.0000"
-
- # 拉流每帧图片缩小宽度大小限制, 大于1400像素缩小一半, 小于1400像素不变
- width = 1400
-
- COLOR = (
- [0, 0, 255],
- [255, 0, 0],
- [211, 0, 148],
- [0, 127, 0],
- [0, 69, 255],
- [0, 255, 0],
- [255, 0, 255],
- [0, 0, 127],
- [127, 0, 255],
- [255, 129, 0],
- [139, 139, 0],
- [255, 255, 0],
- [127, 255, 0],
- [0, 127, 255],
- [0, 255, 127],
- [255, 127, 255],
- [8, 101, 139],
- [171, 130, 255],
- [139, 112, 74],
- [205, 205, 180])
-
- ONLINE = "online"
- OFFLINE = "offline"
- PHOTO = "photo"
- RECORDING = "recording"
|