com.qiniu.qvs.model.DynamicLiveRoute Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qiniu-java-sdk Show documentation
Show all versions of qiniu-java-sdk Show documentation
Qiniu Cloud Storage SDK for Java
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