io.antmedia.analytic.model.PlayerStatsEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ant-media-server Show documentation
Show all versions of ant-media-server Show documentation
Ant Media Server supports RTMP, RTSP, MP4, HLS, WebRTC, Adaptive Streaming, etc.
package io.antmedia.analytic.model;
public class PlayerStatsEvent extends AnalyticEvent {
public static final String EVENT_PLAYER_STATS = "playerStats";
private String subscriberId;
private long totalBytesTransferred;
private String protocol;
private long byteTransferred;
private String uri;
private String clientIP;
public PlayerStatsEvent() {
setEvent(EVENT_PLAYER_STATS);
}
public String getSubscriberId() {
return subscriberId;
}
public void setSubscriberId(String subscriberId) {
this.subscriberId = subscriberId;
}
public long getTotalBytesTransferred() {
return totalBytesTransferred;
}
public void setTotalBytesTransferred(long totalBytesTransferred) {
this.totalBytesTransferred = totalBytesTransferred;
}
public String getProtocol() {
return protocol;
}
public void setProtocol(String protocol) {
this.protocol = protocol;
}
public String getUri() {
return uri;
}
public void setUri(String uri) {
this.uri = uri;
}
public long getByteTransferred() {
return byteTransferred;
}
public void setByteTransferred(long byteTransferred) {
this.byteTransferred = byteTransferred;
}
public String getClientIP() {
return clientIP;
}
public void setClientIP(String clientIP) {
this.clientIP = clientIP;
}
}