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

com.qiniu.qvs.model.DynamicLiveRoute Maven / Gradle / Ivy

There is a newer version: 7.17.0
Show newest version
package com.qiniu.qvs.model;

public class DynamicLiveRoute {
    private String publishIP;    // 推流端对外IP地址
    private String playIP;   // 拉流端对外IP地址
    private int urlExpireSec; // 地址过期时间,urlExpireSec:100代表100秒后过期;  默认urlExpireSec:0,永不过期.

    public DynamicLiveRoute(String publishIP, String playIP) {
        this.publishIP = publishIP;
        this.playIP = playIP;
    }

    public DynamicLiveRoute(String publishIP, String playIP, int urlExpireSec) {
        this.publishIP = publishIP;
        this.playIP = playIP;
        this.urlExpireSec = urlExpireSec;
    }

    public String getPublishIP() {
        return publishIP;
    }

    public void setPublishIP(String publishIP) {
        this.publishIP = publishIP;
    }

    public String getPlayIP() {
        return playIP;
    }

    public void setPlayIP(String playIP) {
        this.playIP = playIP;
    }

    public int getUrlExpireSec() {
        return urlExpireSec;
    }

    public void setUrlExpireSec(int urlExpireSec) {
        this.urlExpireSec = urlExpireSec;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy