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

org.asteriskjava.manager.action.ConfbridgeSetSingleVideoSrcAction Maven / Gradle / Ivy

package org.asteriskjava.manager.action;

/**
 * The ConfbridgeSetSingleVideoSrcAction sets a conference user as the single
 * video source distributed to all other video-capable participants.
 * 
 * @author jmb
 * @version $Id$
 */
public class ConfbridgeSetSingleVideoSrcAction extends AbstractManagerAction {

    private static final long serialVersionUID = 1175961727226599739L;
    private String conference;
    private String channel;

    /**
     * Creates a new empty ConfbridgeSetSingleVideoSrcAction.
     */
    public ConfbridgeSetSingleVideoSrcAction() {
        super();
    }

    /**
     * Returns the name of this action "ConfbridgeSetSingleVideoSrc".
     */
    @Override
    public String getAction() {
        return "ConfbridgeSetSingleVideoSrc";
    }

    /**
     * Sets the id of the conference for which the video source is to be set.
     *
     * @param conference
     *            conference id
     */
    public void setConference(String conference) {
        this.conference = conference;
    }

    /**
     * Returns the id of the conference for which the video source is to be set.
     *
     * @return conference id
     */
    public String getConference() {
        return conference;
    }

    /**
     * Sets the channel which will be the single video source of the conference.
     *
     * @param channel
     *            channel number
     */
    public void setChannel(String channel) {
        this.channel = channel;
    }

    /**
     * Returns the channel which will be the single video source of the
     * conference.
     *
     * @return channel number
     */
    public String getChannel() {
        return channel;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy