mirror of
https://github.com/ihmily/StreamCap.git
synced 2026-06-20 15:46:03 +08:00
19 lines
711 B
Python
19 lines
711 B
Python
class RecordingStatus:
|
|
STOPPED_MONITORING = "STOPPED_MONITORING"
|
|
MONITORING = "MONITORING"
|
|
RECORDING = "RECORDING"
|
|
NOT_RECORDING = "NOT_RECORDING"
|
|
STATUS_CHECKING = "STATUS_CHECKING"
|
|
NOT_IN_SCHEDULED_CHECK = "NOT_IN_SCHEDULED_CHECK"
|
|
PREPARING_RECORDING = "PREPARING_RECORDING"
|
|
RECORDING_ERROR = "RECORDING_ERROR"
|
|
NOT_RECORDING_SPACE = "NOT_RECORDING_SPACE"
|
|
LIVE_STATUS_CHECK_ERROR = "LIVE_STATUS_CHECK_ERROR"
|
|
|
|
@classmethod
|
|
def get_status(cls):
|
|
"""Get all properties of the RecordingStatus class"""
|
|
attributes = cls.__dict__
|
|
recording_status = [value for name, value in attributes.items() if name.isupper()]
|
|
return recording_status
|