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

com.qiniu.rtc.model.MergeParam 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 MergeParam {
    private String id;
    private boolean audioOnly;
    private int width;
    private int height;
    private int fps;
    private int kbps;
    private int minRate;
    private int maxRate;
    private String stretchMode;
    private String publishUrl;
    private MergeBackGround background;
    private List waterMarks;
    private boolean holdLastFrame;
    private String template;
    private List userInfos;


    /**
     * 合流背景参数
     */
    @Data
    public static class MergeBackGround {
        private String url;
        private int x;
        private int y;
        private int w;
        private int h;
        private String stretchMode;
    }

    @Data
    public static class MergeWaterMarks {
        private String url;
        private int x;
        private int y;
        private int w;
        private int h;
        private String stretchMode;
    }

    @Data
    public static class MergeUserInfo {
        private String userId;
        private String backgroundUrl;
        private String stretchMode;
        private int sequence;
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy