mirror of
https://github.com/ihmily/StreamCap.git
synced 2026-06-20 14:46:05 +08:00
14 lines
352 B
Python
14 lines
352 B
Python
class VideoQuality:
|
|
OD = "OD"
|
|
UHD = "UHD"
|
|
HD = "HD"
|
|
SD = "SD"
|
|
LD = "LD"
|
|
|
|
@classmethod
|
|
def get_qualities(cls):
|
|
"""Get all properties of the VideoQuality class"""
|
|
attributes = cls.__dict__
|
|
video_qualities = [value for name, value in attributes.items() if name.isupper()]
|
|
return video_qualities
|