def METHOD_NAME(cls) -> str:
    """
    Custom codec options passing through scrcpy.
    https://developer.android.com/reference/android/media/MediaFormat
    Returns:
        key_profile=1,key_level=4096,...
    """
    options = dict(
        # H.264 profile and level
        # https://developer.android.com/reference/android/media/MediaCodecInfo.CodecProfileLevel
        # Baseline, which only has I/P frames
        key_profile=1,
        # Level 4.1, for 1280x720@30fps
        key_level=4096,
        # Max quality
        key_quality=100,
        # https://developer.android.com/reference/android/media/MediaCodecInfo.EncoderCapabilities
        # Constant quality
        key_bitrate_mode=0,
        # A zero value means a stream containing all key frames is requested.
        key_i_frame_interval=0,
        # https://developer.android.com/reference/android/media/MediaCodecInfo.CodecCapabilities
        # COLOR_Format24bitBGR888
        key_color_format=12,
        # The same as output frame rate to lower CPU consumption
        key_capture_rate=cls.frame_rate,
        # 20Mbps, the maximum output bitrate of scrcpy
        key_bit_rate=20000000,
    )
    return ','.join([f'{k}={v}' for k, v in options.items()])