aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/neomedia/device/AudioMixerMediaDevice.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip/communicator/impl/neomedia/device/AudioMixerMediaDevice.java')
-rw-r--r--src/net/java/sip/communicator/impl/neomedia/device/AudioMixerMediaDevice.java77
1 files changed, 0 insertions, 77 deletions
diff --git a/src/net/java/sip/communicator/impl/neomedia/device/AudioMixerMediaDevice.java b/src/net/java/sip/communicator/impl/neomedia/device/AudioMixerMediaDevice.java
index 307bab1..2d92cfa 100644
--- a/src/net/java/sip/communicator/impl/neomedia/device/AudioMixerMediaDevice.java
+++ b/src/net/java/sip/communicator/impl/neomedia/device/AudioMixerMediaDevice.java
@@ -206,83 +206,6 @@ public class AudioMixerMediaDevice
}
/**
- * Create a new recording session.
- *
- * @param contentDescriptor the content descriptor for the session.
- * @return a new <tt>MediaDeviceSession</tt>
- */
- public synchronized MediaDeviceSession createRecordingSession(
- final ContentDescriptor contentDescriptor)
- {
- if (deviceSession == null)
- deviceSession = new AudioMixerMediaDeviceSession();
-
- return new MediaStreamMediaDeviceSession(deviceSession)
- {
- /**
- * Starts a specific <tt>Processor</tt> if this
- * <tt>MediaDeviceSession</tt> has been started and the specified
- * <tt>Processor</tt> is not started. Does not check the
- * <tt>MediaDirection</tt> of this session when starting.
- *
- * @param processor the <tt>Processor</tt> to start
- */
- @Override
- protected void startProcessorInAccordWithDirection(
- Processor processor)
- {
- if (processor.getState() != Processor.Started)
- {
- processor.start();
- if (logger.isTraceEnabled())
- {
- logger.trace(
- "Started Processor with hashCode "
- + processor.hashCode());
- }
- }
- }
-
- /**
- * Overrides the method to set the processor's content descriptor
- * to <tt>FileTypeDescriptor.MPEG_AUDIO</tt>.
- *
- * @param event the <tt>ControllerEvent</tt> specifying the
- * <tt>Controller</tt> which is the source of the event and the very
- * type of the event
- */
- @Override
- protected void processorControllerUpdate(ControllerEvent event)
- {
- super.processorControllerUpdate(event);
-
- if (event instanceof ConfigureCompleteEvent)
- {
- Processor processor = (Processor) event.
- getSourceController();
-
- if (processor != null)
- {
- try
- {
- processor.setContentDescriptor(contentDescriptor);
- }
- catch (NotConfiguredError nce)
- {
- logger.error(
- "Failed to set ContentDescriptor to Processor.",
- nce);
- }
-
- if (format != null)
- setProcessorFormat(processor, format);
- }
- }
- }
- };
- }
-
- /**
* Notifies all currently registered <tt>SimpleAudioLevelListener</tt>s
* that our local media now has audio level <tt>level</tt>.
*