public static EncodingOptionsPreset forNumber(int value) {
        return switch (value) {
            case 0 -> H264_720P_30;
            case 1 -> H264_720P_60;
            case 2 -> H264_1080P_30;
            case 3 -> H264_1080P_60;
            case 4 -> PORTRAIT_H264_720P_30;
            case 5 -> PORTRAIT_H264_720P_60;
            case 6 -> PORTRAIT_H264_1080P_30;
            case 7 -> PORTRAIT_H264_1080P_60;
            default -> null;
        };
    }
@param value The numeric wire value of the corresponding enum entry.
@return The enum associated with the given numeric wire value.
turms-plugins/turms-plugin-livekit/src/main/java/im/turms/plugin/livekit/core/proto/egress/EncodingOptionsPreset.java