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

io.antmedia.rest.WebRTCClientStats Maven / Gradle / Ivy

Go to download

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

There is a newer version: 2.10.0
Show newest version
package io.antmedia.rest;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="WebRTCClientStats", description="The WebRTC Client Statistics class")
public class WebRTCClientStats {

	@ApiModelProperty(value = "the measured bitrate of the WebRTC Client")
	private int measuredBitrate;
	
	@ApiModelProperty(value = "the sent bitrate of the WebRTC Client")
	private int sendBitrate;
	
	@ApiModelProperty(value = "the video frame sent period of the WebRTC Client")
	private double videoFrameSendPeriod;
	
	@ApiModelProperty(value = "the audio frame send period of the WebRTC Client")
	private double audioFrameSendPeriod;
	
	@ApiModelProperty(value = "the video thread check interval of the WebRTC Client")
	private double videoThreadCheckInterval;
	
	@ApiModelProperty(value = "the audio thread check interval of the WebRTC Client")
	private double audioThreadCheckInterval;

	public WebRTCClientStats(int measuredBitrate, int sendBitrate, double videoFrameSendPeriod, double audioFrameSendPeriod,
			double videoThreadCheckInterval, double audioThreadCheckInterval) {
		this.setMeasuredBitrate(measuredBitrate);
		this.setSendBitrate(sendBitrate);
		this.setVideoFrameSendPeriod(videoFrameSendPeriod);
		this.setAudioFrameSendPeriod(audioFrameSendPeriod);
		this.setVideoThreadCheckInterval(videoThreadCheckInterval);
		this.setAudioThreadCheckInterval(audioThreadCheckInterval);
	}

	public double getAudioThreadCheckInterval() {
		return audioThreadCheckInterval;
	}

	public void setAudioThreadCheckInterval(double audioThreadCheckInterval) {
		this.audioThreadCheckInterval = audioThreadCheckInterval;
	}

	public double getVideoThreadCheckInterval() {
		return videoThreadCheckInterval;
	}

	public void setVideoThreadCheckInterval(double videoThreadCheckInterval) {
		this.videoThreadCheckInterval = videoThreadCheckInterval;
	}

	public double getAudioFrameSendPeriod() {
		return audioFrameSendPeriod;
	}

	public void setAudioFrameSendPeriod(double audioFrameSendPeriod) {
		this.audioFrameSendPeriod = audioFrameSendPeriod;
	}

	public double getVideoFrameSendPeriod() {
		return videoFrameSendPeriod;
	}

	public void setVideoFrameSendPeriod(double videoFrameSendPeriod) {
		this.videoFrameSendPeriod = videoFrameSendPeriod;
	}

	public int getSendBitrate() {
		return sendBitrate;
	}

	public void setSendBitrate(int sendBitrate) {
		this.sendBitrate = sendBitrate;
	}

	public int getMeasuredBitrate() {
		return measuredBitrate;
	}

	public void setMeasuredBitrate(int measuredBitrate) {
		this.measuredBitrate = measuredBitrate;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy