package cn.skcks.docking.gb28181.wvp.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "proxy.wvp")
@Data
public class WvpProxyConfig {
    private Boolean enable = true;
    private String url;
    private String user;
    private String passwd;
    /**
     * 是否尝试通过 wvp-assist 服务下载
     */
    private Boolean useWvpAssist = true;

    /**
     * 是否使用 ffmpeg 编/解码, 否则使用内置 javacv
     */
    private Boolean useFfmpeg = false;
}
