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

io.antmedia.rest.model.BasicStreamInfo 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.rest.model;

import io.antmedia.cluster.IStreamInfo;
import io.antmedia.webrtc.VideoCodec;

public class BasicStreamInfo implements IStreamInfo {

	private int videoHeight;
	private int videoWidth;
	private int videoBitrate;
	private int audioBitrate;
	private VideoCodec videoCodec;
	
	
	public BasicStreamInfo(int videoHeight, int videoWidth, int videoBitrate, int audioBitrate, VideoCodec videoCodec) {
		this.videoHeight = videoHeight;
		this.videoWidth = videoWidth;
		this.videoBitrate = videoBitrate;
		this.audioBitrate = audioBitrate;
		this.videoCodec = videoCodec;
	}

	@Override
	public int getVideoHeight() {
		return videoHeight;
	}

	@Override
	public int getVideoWidth() {
		return videoWidth;
	}

	@Override
	public int getVideoBitrate() {
		return videoBitrate;
	}

	@Override
	public int getAudioBitrate() {
		return audioBitrate;
	}

	@Override
	public VideoCodec getVideoCodec() {
		return videoCodec;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy