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

io.antmedia.model.Endpoint Maven / Gradle / Ivy

There is a newer version: 2.11.3
Show newest version
package io.antmedia.model;

import io.antmedia.plugin.MediaPushPlugin;

public class Endpoint {

    private String url;

    private int width;

    private int height;

    private String jsCommand;

    private String token;

    //it can be mp4 or webm
    private String recordType;
    
    /**
     * Comma-separated extra chrome switches. All switches are available below
     * https://peter.sh/experiments/chromium-command-line-switches/
     * 
     * Default switches are on {@link MediaPushPlugin#CHROME_DEFAULT_SWITHES}
     */
    private String extraChromeSwitches;
    
    public Endpoint() {
    }

    public Endpoint(String URL, int width, int height, String jsCommand, String token) {
        this.setUrl(URL);
        this.width = width;
        this.height = height;
        this.jsCommand = jsCommand;
        this.token = token;
    }

    public String getJsCommand() {
        return jsCommand;
    }

    public void setJsCommand(String jsCommand) {
        this.jsCommand = jsCommand;
    }

	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 String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getRecordType() {
		return recordType;
	}

	public void setRecordType(String recordType) {
		this.recordType = recordType;
	}

	public String getExtraChromeSwitches() {
		return extraChromeSwitches;
	}

	public void setExtraChromeSwitches(String extraChromeSwitches) {
		this.extraChromeSwitches = extraChromeSwitches;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy