public class MediaConfigurationImpl
extends java.lang.Object
implements java.awt.event.ActionListener, org.jitsi.service.neomedia.MediaConfigurationService
Constructor and Description |
---|
MediaConfigurationImpl() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Indicates that one of the contained in this panel buttons has been
clicked.
|
java.awt.Component |
createAudioConfigPanel()
Returns the audio configuration panel.
|
void |
createAudioSystemControls(org.jitsi.impl.neomedia.device.AudioSystem audioSystem,
javax.swing.JComponent container)
Creates the UI controls which are to control the details of a specific
AudioSystem.
|
java.awt.Component |
createEncodingControls(org.jitsi.service.neomedia.MediaType mediaType,
org.jitsi.service.neomedia.codec.EncodingConfiguration encodingConfiguration)
Returns a component for encodings configuration for the given
mediaType
|
java.awt.Component |
createVideoConfigPanel()
Returns the video configuration panel.
|
org.jitsi.service.neomedia.MediaService |
getMediaService()
Returns the MediaService instance.
|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- the ActionEvent that notified uspublic java.awt.Component createAudioConfigPanel()
createAudioConfigPanel
in interface org.jitsi.service.neomedia.MediaConfigurationService
public void createAudioSystemControls(org.jitsi.impl.neomedia.device.AudioSystem audioSystem, javax.swing.JComponent container)
audioSystem
- the AudioSystem for which the UI controls to
control its details are to be createdcontainer
- the JComponent into which the UI controls which
are to control the details of the specified audioSystem are to
be addedpublic java.awt.Component createEncodingControls(org.jitsi.service.neomedia.MediaType mediaType, org.jitsi.service.neomedia.codec.EncodingConfiguration encodingConfiguration)
createEncodingControls
in interface org.jitsi.service.neomedia.MediaConfigurationService
mediaType
- Either MediaType.AUDIO or
MediaType.VIDEOencodingConfiguration
- The EncodingConfiguration instance
to use. If null, it will use the current encoding configuration from
the media service.public java.awt.Component createVideoConfigPanel()
createVideoConfigPanel
in interface org.jitsi.service.neomedia.MediaConfigurationService
public org.jitsi.service.neomedia.MediaService getMediaService()
getMediaService
in interface org.jitsi.service.neomedia.MediaConfigurationService
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.