|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Recorder
| Method Summary | |
|---|---|
void |
addListener(RecorderListener listener)
Adds listener for the recorder |
void |
removeListener(RecorderListener listener)
Unregisters listener |
void |
setMaxRecordTime(long maxRecordTime)
Sets the time for recording. |
void |
setPostSpeechTimer(long value)
Changes post-speech timer value. |
void |
setRecordDir(String recordDir)
Set the Record path. |
void |
setRecordFile(String uri,
boolean append)
Assign file for recording. |
| Methods inherited from interface org.mobicents.media.MediaSink |
|---|
connect, disconnect, getBytesReceived, getFormats, getPacketsReceived, isConnected, isStarted, setDsp, setFormats, start, stop |
| Methods inherited from interface org.mobicents.media.Component |
|---|
getId, getInterface, getName, reset |
| Method Detail |
|---|
void setRecordDir(String recordDir)
recordDir -
void setRecordFile(String uri,
boolean append)
throws IOException
uri - the URI which points to a file.
IOException
FileNotFoundExceptionvoid setMaxRecordTime(long maxRecordTime)
maxRecordTime - the time measured in nanosecondsvoid setPostSpeechTimer(long value)
value - the time expressed in nanoseconds.
void addListener(RecorderListener listener)
throws TooManyListenersException
listener - the listener instance
TooManyListenersExceptionvoid removeListener(RecorderListener listener)
listener - the listener to be unregistered
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||