|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.neomedia.RecorderImpl
public class RecorderImpl
The call recording implementation. Provides the capability to start and stop call recording.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface net.java.sip.communicator.service.neomedia.Recorder |
|---|
Recorder.Listener |
| Field Summary | |
|---|---|
(package private) static String[] |
SUPPORTED_FORMATS
The list of formats in which RecorderImpl instances support recording media. |
| Fields inherited from interface net.java.sip.communicator.service.neomedia.Recorder |
|---|
FORMAT, SAVED_CALLS_PATH |
| Constructor Summary | |
|---|---|
RecorderImpl(AudioMixerMediaDevice device)
Constructs the RecorderImpl with the provided session. |
|
| Method Summary | |
|---|---|
void |
addListener(Recorder.Listener listener)
Adds a new Recorder.Listener to the list of listeners interested in notifications from this Recorder. |
String |
getFilename()
Returns the filename we are last started or stopped recording to, null if not started. |
List<String> |
getSupportedFormats()
Gets a list of the formats in which this Recorder supports recording media. |
void |
removeListener(Recorder.Listener listener)
Removes a existing Recorder.Listener from the list of listeners interested in notifications from this Recorder. |
void |
setMute(boolean mute)
Put the recorder in mute state. |
void |
start(String format,
String filename)
Starts the recording of the media associated with this Recorder (e.g. |
void |
stop()
Stops the recording of the media associated with this Recorder (e.g. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final String[] SUPPORTED_FORMATS
| Constructor Detail |
|---|
public RecorderImpl(AudioMixerMediaDevice device)
device - device that can create a session that provides the output
data source| Method Detail |
|---|
public void addListener(Recorder.Listener listener)
addListener in interface Recorderlistener - the new Recorder.Listener to be added to the
list of listeners interested in notifications from this RecorderRecorder.addListener(Recorder.Listener)public List<String> getSupportedFormats()
getSupportedFormats in interface RecorderRecorder.getSupportedFormats()public void removeListener(Recorder.Listener listener)
removeListener in interface Recorderlistener - the existing Recorder.Listener to be removed
from the list of listeners interested in notifications from this
RecorderRecorder.removeListener(Recorder.Listener)
public void start(String format,
String filename)
throws IOException,
MediaException
start in interface Recorderformat - the format into which the media associated with this
Recorder is to be recorded into the specified filefilename - the name of the file into which the media associated with
this Recorder is to be recorded
IOException - if anything goes wrong with the input and/or output
performed by this Recorder
MediaException - if anything else goes wrong while starting the
recording of media performed by this RecorderRecorder.start(String, String)public void stop()
stop in interface RecorderRecorder.stop()public void setMute(boolean mute)
setMute in interface Recordermute - the new value of the mute propertypublic String getFilename()
getFilename in interface Recorder
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||