All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.qiniu.rtc.model.MergeTrackParam Maven / Gradle / Ivy

There is a newer version: 7.17.0
Show newest version
// codebeat:disable[TOO_MANY_IVARS]
package com.qiniu.rtc.model;

import lombok.Data;

import java.util.List;

@Data
public class MergeTrackParam {
    private int mode = ModeEnum.INCREMENT.getVal();
    private List add;
    private List remove;
    private List all;

    @Data
    public static class MergeTrack {
        private String trackID;
        private int x;
        private int y;
        private int z;
        private int w;
        private int h;

        /**
         * @see com.qiniu.rtc.model.StretchModeEnum
         */
        private String stretchMode;
        private boolean supportSei = false;
    }

    public enum ModeEnum {
        //增量,指定add和remove
        INCREMENT(0),
        //全量,替换替换原有数据
        FULL(1);

        private int val;

        ModeEnum(int val) {
            this.val = val;
        }

        public int getVal() {
            return val;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy