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

io.antmedia.analytic.model.PlayerStatsEvent Maven / Gradle / Ivy

Go to download

Ant Media Server supports RTMP, RTSP, MP4, HLS, WebRTC, Adaptive Streaming, etc.

There is a newer version: 2.11.3
Show newest version
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;
	}



}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy