public class NeomediaActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEVICE_CONFIGURATION_HAS_CHANGED
The name of the notification pop-up event displayed when the device
configration has changed.
|
static java.lang.String |
NEW_SELECTED_DEVICE
The name of the notification pop-up event displayed when a new device
is selected (for audio in, audio out or notifications).
|
Constructor and Description |
---|
NeomediaActivator() |
Modifier and Type | Method and Description |
---|---|
static ConfigurationForm |
getAudioConfigurationForm()
Returns the audio configuration form used to define the
capture/notify/playback audio devices.
|
static org.jitsi.service.audionotifier.AudioNotifierService |
getAudioNotifierService()
Returns the AudioService obtained from the bundle
context.
|
static org.osgi.framework.BundleContext |
getBundleContext()
Returns the context in which the one and only NeomediaActivator
instance has started executing.
|
static org.jitsi.service.configuration.ConfigurationService |
getConfigurationService()
Returns a reference to a ConfigurationService implementation currently
registered in the bundle context or null if no such implementation was
found.
|
static org.jitsi.service.fileaccess.FileAccessService |
getFileAccessService()
Returns a reference to a FileAccessService implementation
currently registered in the bundle context or null if no such
implementation was found.
|
static org.jitsi.service.neomedia.MediaConfigurationService |
getMediaConfiguration() |
static org.jitsi.impl.neomedia.MediaServiceImpl |
getMediaServiceImpl()
Gets the MediaService implementation instance registered by the
neomedia bundle.
|
static NotificationService |
getNotificationService()
Returns the NotificationService obtained from the bundle
context.
|
static org.jitsi.service.packetlogging.PacketLoggingService |
getPacketLogging()
Returns a reference to the PacketLoggingService implementation
currently registered in the bundle context or null if no such
implementation was found.
|
static org.jitsi.service.resources.ResourceManagementService |
getResources()
Gets the ResourceManagementService instance which represents the
resources such as internationalized and localized text and images used by
the neomedia bundle.
|
static ConfigurationForm |
getVideoConfigurationForm()
Returns the video configuration form.
|
void |
start(org.osgi.framework.BundleContext bundleContext)
Starts the execution of the neomedia bundle in the specified context.
|
void |
stop(org.osgi.framework.BundleContext bundleContext)
Stops the execution of the neomedia bundle in the specified context.
|
public static final java.lang.String DEVICE_CONFIGURATION_HAS_CHANGED
public static final java.lang.String NEW_SELECTED_DEVICE
public static ConfigurationForm getAudioConfigurationForm()
public static org.jitsi.service.audionotifier.AudioNotifierService getAudioNotifierService()
public static org.osgi.framework.BundleContext getBundleContext()
public static org.jitsi.service.configuration.ConfigurationService getConfigurationService()
public static org.jitsi.service.fileaccess.FileAccessService getFileAccessService()
public static org.jitsi.service.neomedia.MediaConfigurationService getMediaConfiguration()
public static org.jitsi.impl.neomedia.MediaServiceImpl getMediaServiceImpl()
public static NotificationService getNotificationService()
public static org.jitsi.service.packetlogging.PacketLoggingService getPacketLogging()
public static org.jitsi.service.resources.ResourceManagementService getResources()
public static ConfigurationForm getVideoConfigurationForm()
public void start(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
bundleContext
- the context in which the neomedia bundle is to start
executingjava.lang.Exception
- if an error occurs while starting the execution of the
neomedia bundle in the specified contextpublic void stop(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
bundleContext
- the context in which the neomedia bundle is to stop
executingjava.lang.Exception
- if an error occurs while stopping the execution of the
neomedia bundle in the specified context
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.