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

io.antmedia.analytic.model.PublishStatsEvent 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 PublishStatsEvent extends AnalyticEvent{
	public static final String EVENT_PUBLISH_STATS = "publishStats";
	
	private long totalByteReceived;
	/**
	 * Amount of byte transferred between loggings 
	 */
	private long byteTransferred;
	private long durationMs;
	
	private int width;
	private int height;
	
	public PublishStatsEvent() {
		setEvent(EVENT_PUBLISH_STATS);
	}

	public long getTotalByteReceived() {
		return totalByteReceived;
	}

	public void setTotalByteReceived(long totalByteReceived) {
		this.totalByteReceived = totalByteReceived;
	}

	public long getDurationMs() {
		return durationMs;
	}

	public void setDurationMs(long durationMs) {
		this.durationMs = durationMs;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public long getByteTransferred() {
		return byteTransferred;
	}

	public void setByteTransferred(long byteTransferred) {
		this.byteTransferred = byteTransferred;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy