
org.jitsi.service.neomedia.MediaConfigurationService Maven / Gradle / Ivy
/*
* Copyright @ 2015 Atlassian Pty Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jitsi.service.neomedia;
import java.awt.*;
import org.jitsi.service.neomedia.codec.*;
import org.jitsi.utils.*;
/**
* An interface that exposes the Components used in media
* configuration user interfaces.
*
* @author Boris Grozev
*/
public interface MediaConfigurationService
{
/**
* Returns a Component for audio configuration
*
* @return A Component for audio configuration
*/
public Component createAudioConfigPanel();
/**
* Returns a Component for video configuration
*
* @return A Component for video configuration
*/
public Component createVideoConfigPanel();
/**
* Returns a Component for encodings configuration (either audio
* or video)
*
* @param mediaType The type of media -- either MediaType.AUDIO or
* MediaType.VIDEO
* @param encodingConfiguration The EncodingConfiguration instance
* to use.
* @return The Component for encodings configuration
*/
public Component createEncodingControls(
MediaType mediaType,
EncodingConfiguration encodingConfiguration);
/**
* Returns the MediaService instance
*
* @return the MediaService instance
*/
public MediaService getMediaService();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy