def METHOD_NAME(self) -> str:
    if self.is_mjpeg():
        return 'mjpeg'
    elif self.is_h264():
        return 'h264'
    elif self.is_h265():
        return 'hevc'
    elif self.is_depth():
        return 'y16'
    # TODO: add for mono, rgb, nv12, yuv...
    else:
        return None