org.mobicents.media.server.component.audio
Class SoundCard
java.lang.Object
org.mobicents.media.server.impl.BaseComponent
org.mobicents.media.server.impl.AbstractSink
org.mobicents.media.server.component.audio.SoundCard
- All Implemented Interfaces:
- Serializable, Component, MediaSink
public class SoundCard
- extends AbstractSink
- Author:
- kulikov
- See Also:
- Serialized Form
|
Method Summary |
Formats |
getNativeFormats()
Gets the list of formats supported by this component without possible
transcoding. |
void |
onMediaTransfer(Frame frame)
This methos is called when new portion of media arrives. |
void |
start()
(Non Java-doc). |
| Methods inherited from class org.mobicents.media.server.impl.AbstractSink |
connect, disconnect, failed, getBytesReceived, getDsp, getFormats, getInterface, getPacketsReceived, isConnected, isStarted, rebuildFormats, report, reset, setDsp, setFormats, started, stop, stopped, wakeup |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoundCard
public SoundCard(Scheduler scheduler)
start
public void start()
- Description copied from class:
AbstractSink
- (Non Java-doc).
- Specified by:
start in interface MediaSink- Overrides:
start in class AbstractSink
- See Also:
MediaSink.start().
onMediaTransfer
public void onMediaTransfer(Frame frame)
throws IOException
- Description copied from class:
AbstractSink
- This methos is called when new portion of media arrives.
- Specified by:
onMediaTransfer in class AbstractSink
- Throws:
IOException
getNativeFormats
public Formats getNativeFormats()
- Description copied from class:
AbstractSink
- Gets the list of formats supported by this component without possible
transcoding.
- Specified by:
getNativeFormats in class AbstractSink
- Returns:
- the list of format descriptors
Copyright © 2011. All Rights Reserved.